grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hfs+ uuid


From: Pavel Roskin
Subject: Re: [PATCH] hfs+ uuid
Date: Mon, 08 Jun 2009 18:01:53 -0400

On Mon, 2009-06-08 at 22:50 +0200, Vladimir 'phcoder' Serbinenko wrote:

> Here is the improved patch. I deliberately ignored md5 comments
> because this part will be gone anyway whel Michael Gorven signs his
> copyright assignment and we incorporate luks patches

Please consider if it would be better to supply the filesystem UUID on
the command line rather than the device name.  That would make xnu_uuid
leaner and more flexible.  I think we need the "uuid" command that would
get the uuid and the "xnu_uuid" command that would convert it.

It would be great if you run xnu_uuid.c through indent.  The coding
style is quite different from that used elsewhere in GRUB.  Or at least
please strip trailing spaces.

"file name required" is a wrong error message.  It should be "device
file required".  I think it would be better to expand "fs" and "FS" in
error messages as "filesystem".

If the variable name is not specified, I think xnu_uuid should just
output the UUID without any explanations.  Explanations belong to the
help, not to the normal output.

"(void)mod;" is not needed.  The "buf" variable in grub_cmd_xnu_uuid()
is unused.

-- 
Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]