Re: [opensuse] mounted partitions don't show up in df
- From: Ricardo Sánchez <rfsleal@xxxxxxxxx>
- Date: Fri, 29 Jun 2007 18:15:35 +0200
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-levelI am not sure this is the problem. It has been happening for some time
scripts, perhaps?) your mounts all happen while the root file system is
read-only and hence not recorded in /etc/mtab.
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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] mounted partitions don't show up in df
- From: Randall R Schulz
- Re: [opensuse] mounted partitions don't show up in df
- References:
- [opensuse] mounted partitions don't show up in df
- From: Ricardo Sánchez
- Re: [opensuse] mounted partitions don't show up in df
- From: Randall R Schulz
- [opensuse] mounted partitions don't show up in df
- Prev by Date: Re: [opensuse] Virtual domain, between Postfix and Qmail
- Next by Date: [opensuse] Intel d102ggc+OpenSuSE ?
- Previous by thread: Re: [opensuse] mounted partitions don't show up in df
- Next by thread: Re: [opensuse] mounted partitions don't show up in df
- Index(es):
Relevant Pages
|