Also, you have to know how often you want the 1s to repeat. Every bit? Every byte? Every 16 or 32 bit word? At least with zero, it doesn't depend on how many bytes at a time you grab. Or what you are filling with it. -----Original Message----- From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Alan Horn Sent: Tuesday, July 13, 2004 7:45 PM To: For users of Fedora Core releases Subject: Re: Can't I get a /dev/one? On Tue, 13 Jul 2004, William M. Quarles wrote: >>> Okay, so there is a /dev/zero. Shouldn't there be a /dev/one, too? >>> Is there any way that I can fill a file or device full of ones? >> >> should be pretty easy. just negate the value > > So how do I accomplish that? > And once I know how to accomplish that, can I actually work that in to > a dd > command? If you want to fill a file full of ones and you know how many it can be done trivially with a shell script or command in several different ways. I'm not going to suggest one here as it'll be picked apart endlessly and I have a fragile ego ;) There are various pieces of info we would need to accomplish it.. size of file.. purpose.. etc... If you need help with that tho, just mail me offline. Cheers, Al -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list