[Top][All Lists]

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

[PATCH] grub-probe && FreeBSD

From: Francis Gendreau
Subject: [PATCH] grub-probe && FreeBSD
Date: Wed, 02 Jan 2008 20:59:04 -0500

I finished to make grub-probe functionnal on FreeBSD system. I also
added a few useful command-line options on the utility.

1) grub-probe support multiple output formats and targets.
        Optionnal patch. (util_grub-probe.c.diff)

2) Added support for resolution of mounted filesystem device.

3) Added support for resolution of device total sector size.

4) Added capacity of generating a valid grub device string. 

5) Modified grub_strncpy so it does not skip the terminating nul-byte 
   of the source string. It was making grub_ufs_dir() to mis-
   duplicate the path parameter. Further testing are required to know
   if it does not break anything but I'm confident it will not.

6) Added GRUB_ERR_IOCTL to include/grub/err.h

Patches have been tested on a source tree fetched 2008/01/21 20:43 EST
(10 minutes ago).

I will continue to work on the sources so grub-setup and grub-install
works. The other utilities will come after.

Also, if someone can email-me how to uses diff so I can create patch in
a single file, it would be greatly appreciated. :)

Francis Gendreau

Attachment: include_grub_err.h.diff
Description: Text Data

Attachment: kern_misc.c.diff
Description: Text Data

Attachment: util_biosdisk.c.diff
Description: Text Data

Attachment: util_getroot.c.diff
Description: Text Data

Attachment: util_grub-probe.c.diff
Description: Text Data

reply via email to

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