Разобрался я все таки в чем здесь дело. Вот кусок файла '/etc/rc.d/rc.S':
Код: Выделить всё
237 # Any /etc/mtab that exists here is old, so we delete it to start over:
238 /bin/rm -f /etc/mtab*
239 # Remounting the / partition will initialize the new /etc/mtab:
240 /sbin/mount -w -o remount /
241
242 # Read in the correct / filesystem complete with arguments so mount will
243 # show them correctly. This does not stop those arguments from functioning
244 # but does prevent a small bug with /etc/mtab.
245 /bin/grep ' / ' /proc/mounts | grep -v "^rootfs" > /etc/mtab
После перемонтирования корневого раздела на 'чтение-запись' удаляется старый файл '/etc/mtab' (стр. 238). После чего корневой раздел обратно перемонтируется (стр. 240) и в файле '/etc/mtab' появляется первая запись:
Но по каким то своим причинам:
# Read in the correct / filesystem complete with arguments so mount will
# show them correctly. This does not stop those arguments from functioning
# but does prevent a small bug with /etc/mtab.
Патрик принял решение сохранять в файле '/etc/mtab' строку об разделе '/dev/root' (стр. 245). Т.е. следующую запись:
Код: Выделить всё
/dev/root / ext3 rw,errors=continue,data=ordered 0 0
После комментирования строки 245 и перезагрузки системы, команда
mount и соответственно файл '/etc/mtab', начинают выдавать то что привык видеть мой взор:
Код: Выделить всё
# mount
/dev/hda1 on / type ext3 (rw)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)