1 --- grub-0.95/docs/grub.texi.recheck-bad 2005-07-25 17:55:57.000000000 -0400
2 +++ grub-0.95/docs/grub.texi 2005-07-25 17:58:00.000000000 -0400
6 Recheck the device map, even if @file{/boot/grub/device.map} already
7 -exists. You should use this option whenever you add/remove a disk
8 -into/from your computer.
11 +This option is unreliable and its use is strongly discouraged.
15 --- grub-0.95/util/grub-install.in.recheck-bad 2005-07-25 17:58:19.000000000 -0400
16 +++ grub-0.95/util/grub-install.in 2005-07-25 18:05:14.000000000 -0400
18 --force-lba force GRUB to use LBA mode even for a buggy
20 --recheck probe a device map even if it already exists
21 + This flag is unreliable and its use is
22 + strongly discouraged.
24 INSTALL_DEVICE can be a GRUB device name or a system device filename.
28 # If --recheck is specified, remove the device map, if present.
29 if test $recheck = yes; then
31 + mv $device_map ${device_map}.backup
34 # Create the device map file if it is not present.
36 tmp=`sed -n '/^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p' $device_map \
37 | sort | uniq -d | sed -n 1p`
38 if test -n "$tmp"; then
39 - echo "The drive $tmp is defined multiple times in the device map $device_map" 1>&2
40 + echo "The drive $tmp is defined multiple times in the new device map." 1>&2
41 + if test $recheck = yes; then
42 + echo "Reverting to backed up copy." 1>&2
43 + mv ${device_map}.backup $device_map
48 +# Make sure device.map has at least one hd device
49 +grep -q "^(hd[0-9]\+)" $device_map
50 +if [ "x$?" != "x0" ]; then
51 + echo "No suitable drive was found in the generated device map." 1>&2
52 + if test $recheck = yes; then
53 + echo "Reverting to backed up copy." 1>&2
54 + mv ${device_map}.backup $device_map
59 --- grub-0.95/docs/grub-install.8.recheck-bad 2004-06-13 13:44:59.000000000 -0400
60 +++ grub-0.95/docs/grub-install.8 2005-07-25 18:15:02.000000000 -0400
64 probe a device map even if it already exists
66 +This option is unreliable and its use is strongly discouraged.
68 INSTALL_DEVICE can be a GRUB device name or a system device filename.
70 --- grub-0.95/docs/grub.info.recheck-bad 2004-05-11 08:22:54.000000000 -0400
71 +++ grub-0.95/docs/grub.info 2005-07-25 18:16:09.000000000 -0400
75 Recheck the device map, even if `/boot/grub/device.map' already
76 - exists. You should use this option whenever you add/remove a disk
77 - into/from your computer.
80 + This option is unreliable and its use is strongly discouraged.
82 File: grub.info, Node: Invoking grub-md5-crypt, Next: Invoking grub-terminfo, Prev: Invoking grub-install, Up: Top