[PATCH] mkswap: generate UUID
Colin Watson
cjwatson at ubuntu.com
Fri Jun 19 21:56:02 UTC 2009
On Fri, Jun 19, 2009 at 03:04:38PM -0500, Rob Landley wrote:
> On Friday 19 June 2009 05:28:19 Denys Vlasenko wrote:
> > I still do that, for the case when /dev/urandom does not exist.
> > Someone may be mkswap'ing before /dev is fully populated.
>
> Failing with an error message is an option, and almost certainly our best one.
On reflection I tend to agree. I can only speak for my own use cases but
none of my code ever needs to mkswap before /dev is fully populated.
(Even if it did, I'd just mknod /dev/urandom and get on with it.
*shrug*)
--
Colin Watson [cjwatson at ubuntu.com]
More information about the busybox
mailing list