mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
2006-08-19 Robert Millan <rmh@aybabtu.com>
* util/i386/pc/grub-install.in: Skip menu.lst when removing /boot/grub/*.lst. * util/i386/pc/getroot.c: Don't recurse into dotdirs (e.g. ".static"). * util/i386/pc/grub-mkdevicemap.c: Make sure the floppy device exists before adding it to device.map.
This commit is contained in:
1 parent
01b82a64e2
commit
2952da5dda
4 files changed
+17
-4
No files matched your search
@@ -378,8 +378,11 @@ make_device_map (const char *device_map, int floppy_disks)
|
||||
for (i = 0; i < floppy_disks; i++)
|
||||
{
|
||||
char name[16];
|
||||
struct stat st;
|
||||
|
||||
get_floppy_disk_name (name, i);
|
||||
if (stat (name, &st) < 0)
|
||||
break;
|
||||
/* In floppies, write the map, whether check_device succeeds
|
||||
or not, because the user just may not insert floppies. */
|
||||
if (fp)
|
||||
|
||||
Reference in new issue
Block a user