add linux devfs support into the grub shell.

This commit is contained in:
okuji 2000-10-15 16:39:04 +00:00
parent 0f8fdcc8b2
commit 84cd6e2879
3 changed files with 88 additions and 4 deletions

View file

@ -1,3 +1,17 @@
2000-10-16 OKUJI Yoshinori <okuji@gnu.org>
From Roderich Schupp:
* lib/device.c: Include <limits.h>.
[__linux__] (have_devfs): New function.
(get_floppy_disk_name) [__linux__]: If devfs is supported, use
the name "/dev/floppy/N" instead.
(init_device_map) [__linux__]: If devfs is supported, use
"/dev/discs/discN" instead.
[__linux__] (write_to_partition): Change the size of DEV to
PATH_MAX instead of 64.
If devfs is supported, replace "/disc" in the device name with
"/part".
2000-10-15 OKUJI Yoshinori <okuji@gnu.org>
From Roderich Schupp <rsch@ExperTeam.de>: