mike wrote:
SnapafunFrank wrote:Thanks Mike, and I have somewhere else to look, but the system I need this info from cannot be booted into right now because I believe /etc/fstab is mucked up a little.
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
To that end I'm prepared to use tomsrtbt to look in on the system and that is why I'm trying to find out how I can glean this info.
tomsrtbt has fdisk but that doesn't tell me the 'names' of the partitions on the system I'm trying to restore. Still, there are ways, I just wondered if the info was recorded
to make my task a little easier.
Again, greatly appreciate your input.
-- Newbie Seeking USER_FUNCTIONALITY always!
Regards
SnapafunFrank
Big or small, a challenge requires the same commitment to resolve.
Registered Linux User # 324213
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________