I have a disk that fdisk lists as follows:

---------------------------------------------------------
Command (m for help): p

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        63    506016   83  Linux
/dev/hda2            64      4865  38572065    5  Extended
/dev/hda5            64        94    248976   82  Linux swap
/dev/hda6          2424      4865  19615333+  83  Linux
/dev/hda7            95      1200   8883913+  83  Linux
/dev/hda8          1201      2423   9823716   83  Linux

Partition table entries are not in disk order

Command (m for help): q
-----------------------------------------------------------
The mount is: 

# mount
/dev/ide/host0/bus0/target0/lun0/part1 on / type ext2 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
/dev/ide/host0/bus0/target0/lun0/part8 on /home type ext2 (rw)
none on /mnt/cdrom type supermount 
(ro,dev=/dev/scd0,fs=udf:iso9660,--,iocharset=iso8859-1)
none on /mnt/floppy type supermount 
(rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1,umask=0)
/dev/ide/host0/bus0/target0/lun0/part7 on /usr type ext2 (rw)
/dev/ide/host0/bus0/target0/lun0/part6 on /var type ext2 (rw)

-----------------------------------------------------------
Devices are linked as: 

#ls -l /dev/hda*
lr-xr-xr-x    1 root     root           32 Nov  3 19:13 /dev/hda -> 
ide/host0/bus0/target0/lun0/disc
lr-xr-xr-x    1 root     root           33 Nov  3 19:13 /dev/hda1 -> 
ide/host0/bus0/target0/lun0/part1
lr-xr-xr-x    1 root     root           33 Nov  3 19:13 /dev/hda2 -> 
ide/host0/bus0/target0/lun0/part2
lr-xr-xr-x    1 root     root           33 Nov  3 19:13 /dev/hda5 -> 
ide/host0/bus0/target0/lun0/part5
lr-xr-xr-x    1 root     root           33 Nov  3 19:13 /dev/hda6 -> 
ide/host0/bus0/target0/lun0/part6
lr-xr-xr-x    1 root     root           33 Nov  3 19:13 /dev/hda7 -> 
ide/host0/bus0/target0/lun0/part7
lr-xr-xr-x    1 root     root           33 Nov  3 19:13 /dev/hda8 -> 
ide/host0/bus0/target0/lun0/part8
#
-----------------------------------------------------------

The fstab is:

# cat /etc/fstab
/dev/hda1 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda8 /home ext2 defaults 1 2
none /mnt/cdrom supermount 
dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount 
dev=/dev/fd0,fs=ext2:vfat,--,sync,codepage=850,iocharset=iso8859-1,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda7 /usr ext2 defaults 1 2
/dev/hda6 /var ext2 defaults 1 2
/dev/hda5 swap swap defaults 0 0

----------------------------------------------------------
 
I am running out of disk space and wonder what's up with 
/dev/hda2. Is is free for me to mount say a var2 on? Or? 
And how would I do that? 

TIA,

BobLQ





-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to