Can't I get a /dev/one?

William M. Quarles walrus at bellsouth.net
Wed Jul 14 04:27:23 UTC 2004


Chris Adams wrote:
> Once upon a time, William M. Quarles <walrus at bellsouth.net> said:
> 
>>Malcolm Northcott wrote:
>>
>>>man yes
>>
>>That won't work.  It also throws in spaces and newlines.
> 
> 
> man tr
> 

That won't work for my application.

I'm trying to fill a hard drive with all ones.  I know how to fill it
with all zeros:

dd if=/dev/zero of=/dev/hdb bs=1024 count=58615704

I don't know how to fill it with all ones.

I'm working within pretty low functionality on this system (RHL 9
installation CD rescue mode)

Thanks,
William







More information about the fedora-list mailing list