On Thu, 17 Jul 2008, Anouk Ahamitet wrote:
> I'm almost too embarrassed to ask this, but...
>
> How does one determine the amount of disk space used/free on a TS-7800?
>
> On all of the linux systems I've used before, running "df -h" displayed
> the used/free space on all of the disk drives currently mounted. On my
> TS-7800, all I get is:
>
> Filesystem Size Used Avail Use% Mounted on
> tmpfs 63M 0 63M 0% /dev/shm
> tmpfs 10M 12K 10M 1% /dev
>
> If I try "df -h -a" I get this instead:
>
> Filesystem Size Used Avail Use% Mounted on
> proc 0 0 0 - /proc
> sysfs 0 0 0 - /sys
> devpts 0 0 0 - /dev/pts
> tmpfs 63M 0 63M 0% /dev/shm
> usbfs 0 0 0 - /proc/bus/usb
> tmpfs 10M 12K 10M 1% /dev
>
> Note the conspicuous lack of anything mounted at '/' -- where's the
> root of the file system? Is there a special tool to see how much space
> is free?
sounds like your /etc/mtab doesn't have an entry for /
Since /etc is on /, it can't be written to when mounting /, so you need to
either add a / entry manually or symlink it to /proc/mounts which doesn't
have that problem.
df should work after that.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|