SnapafunFrank wrote:
> When within my system I issue the following:
> 
> [EMAIL PROTECTED] /]# df
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda5             966M  714M  203M  78% /
> /dev/hda1             966M   14M  903M   2% /boot
> /dev/hda6             9.4G  5.1G  4.0G  57% /usr
> /dev/hda8             9.4G  8.8G  693M  93% /home
> /dev/hda9            1020M  312M  656M  33% /var
> /dev/hda3              12G  2.0G  8.8G  19% /mnt/empty
> /dev/hda4             3.4G  2.7G  712M  80% /mnt/win_h
> /dev/hdb2              16M  2.3M   13M  16% /mnt/hdb2_boot
> /dev/hdb5              92M   55M   33M  63% /mnt/hdb5_root
> /dev/hdb6              92M   62M   25M  72% /mnt/hdb6_var
> /dev/hdb7             3.1G  1.9G  1.1G  64% /mnt/hdb7_usr
> /dev/hdb9             1.5G  1.4G  151M  91% /mnt/hdb9_home
> /dev/hdb1              14G   13G  1.2G  92% /mnt/win_c2
> 
> I get a summary of all my partitions AND their names.
> 
> However, I'm unable to do this when I'm NOT within the system:
> 
> So, is there a file on the system that could simply give me this info by
> simply reading it ?
> 

Probably /etc/fstab and /proc/partitions would give you some info.

(on the system in question)
You could make a simple one line script like "df > diskfree.txt"
and make a cron job to run it. Then read the diskfree.txt file.

Mike



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to