|
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. (util_getroot.c.diff) 3) Added support for resolution of device total sector size. (util_biosdisk.d.diff) 4) Added capacity of generating a valid grub device string. (util_biosdisk.d.diff) 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. (kern_misc.c.diff) 6) Added GRUB_ERR_IOCTL to include/grub/err.h (include_grub_err.h.diff) 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
include_grub_err.h.diff
Description: Text Data
kern_misc.c.diff
Description: Text Data
util_biosdisk.c.diff
Description: Text Data
util_getroot.c.diff
Description: Text Data
util_grub-probe.c.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |