[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detecting disk drives from an installation script



Michelle Konzack wrote:
Not the best way, but it works perfectly

See attached Shell-Script.


This is what I have:

hugo@debian:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              7692876   2444696   4857404  34% /
tmpfs                   518188         0    518188   0% /lib/init/rw
udev                     10240       160     10080   2% /dev
tmpfs                   518188         0    518188   0% /dev/shm
/dev/hda5              5862271   2360287   3204122  43% /hda5
/dev/hda6              5862271   2658527   2905882  48% /hda6
/dev/hda7             26647936   4765152  20529144  19% /hda7
/dev/hda10            29362324   8058008  19812756  29% /hda10
/dev/hdc1              7692876   3131516   4561360  41% /hdb1
/dev/hdc2              7692908   2721760   4580368  38% /hdb2
/dev/hdc3              7691004   3704415   3595808  51% /hdb3
/dev/hdc5              7690972   3509439   3790754  49% /hdb5
/dev/hdc6              7692156   3016492   4363044  41% /hdb6
/dev/hdc7             38456308  18747544  17755264  52% /hdb7
/dev/sda2              7692908   4042996   3259132  56% /sda2
/dev/sda3              7691004   3563058   3737165  49% /sda3
/dev/sda5              7690972   4135476   3164717  57% /sda5
/dev/sda6              7690972   4887187   2413006  67% /sda6
/dev/sda7             38456308  10881196  25621612  30% /sda7
hugo@debian:~$

I run ./get_partitions.sh and it shows nothing.
Is it supposed to?

Thanks Michelle,

Hugo



Reply to: