Can't I get a /dev/one?

William M. Quarles walrus at bellsouth.net
Wed Jul 14 04:24:56 UTC 2004


Alan Horn wrote:
> There are various pieces of info we would need to accomplish it.. size 
> of file.. purpose.. etc...

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