Randall R Schulz wrote:
> [ Why the Reply-To header? ]
>   
sorry ;-)
> I don't know the answer to that, but the man page for "mount" mentions 
> that /etc/mtab can either be a plain file that records the result of 
> issuing the mount command or it can be a symbolic link to /proc/mounts.
>   

by creating a symbolic link to /proc/mounts all file systems are
displayed by df and other applications:

linux:/etc # mv mtab mtab.bkp
linux:/etc # ln -s /proc/mounts /etc/mtab 

linux:/etc # df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                 21G  1.5G   19G   8% /
udev                  990M  132K  990M   1% /dev
/dev/sda7              21G  1.5G   19G   8% /
/dev/sda3              87M   76M   11M  88% /boot
/dev/sdb2             199G   54G  146G  27% /home
/dev/sda6              41G  1.9G   39G   5% /opt
/dev/sda8             1.9G   33M  1.8G   2% /tmp
/dev/sda5              70G  9.7G   61G  14% /usr
/dev/sda1              55G   17G   38G  31% /windows/C
/dev/sdb1              99G   48G   46G  51% /windows/D

However a reboot overwrites the symlink and the info is lost again.
> Perhaps for some reason (the ordering of your /etc/init.d run-level 
> scripts, perhaps?) your mounts all happen while the root file system is 
> read-only and hence not recorded in /etc/mtab. 
I am not sure this is the problem. It has been happening for some time
and (at least to my knowledge) I haven't changed any of these scripts.
However, is there a possibility to fix this ordering, in case it was
modified or altered?

Best regards



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to