hello,

        is this output correct for df? (info first, question below):


14:03:00 [cnn(pts/2)#~] mount
/dev/hda2 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda4 on /dsk2 type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /var/shm type shm (rw)
14:01:27 [cnn(pts/2)#~] fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 524 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        13    104391   82  Linux swap
/dev/hda2   *        14       268   2048287+  83  Linux
/dev/hda3           269       396   1028160    b  Win95 FAT32
/dev/hda4           397       524   1028160   83  Linux


14:02:42 [cnn(pts/2)#~] df /dev/hda1
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1              2015548   1987057     28481  99%

        shows the stats for /dev/hda2 (/) but displays filesystem /dev/hda1
(which is swap) should'n this be /dev/hda2 ??

14:02:57 [cnn(pts/2)#~] df /dev/hda2
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda2              2015548   1987057     28481  99% /

        ok.

14:02:58 [cnn(pts/2)#~] df /dev/hda3
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda3              2015548   1987057     28481  99%

        ok.

14:02:59 [cnn(pts/2)#~] df /dev/hda4
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda4              1011724     46486    965238   5% /dsk2

        ok.

14:04:43 [cnn(pts/2)#~] df /dev/hdb 
Filesystem           1k-blocks      Used Available Use% Mounted on
df: /dev/hdb: Device not configured
14:04:45 [cnn(pts/2)#~] df /dev/hdb1
Filesystem           1k-blocks      Used Available Use% Mounted on
df: /dev/hdb1: Device not configured

        ok.

-- 
catalin

Reply via email to