Quote:
Originally Posted by Tortanick
the mount command requests that you specify the filesystem, but if you don't know it how would you go about finding it out?
|
One way would be to issue the command
fdisk -l /dev/hda (assuming you are working with hda). That will list all partitions on the disk with file system type. Here's the output from my computer:
[glenn@dad ~]$ sudo fdisk -l /dev/hda
Password:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 2551 19457 135805477+ 5 Extended
/dev/hda5 2551 5100 20482843+ 83 Linux
/dev/hda6 5101 7650 20482843+ 83 Linux
/dev/hda7 7651 10200 20482843+ 83 Linux
/dev/hda8 10201 12750 20482843+ 83 Linux
/dev/hda9 12751 15300 20482843+ 83 Linux
/dev/hda10 15301 17850 20482843+ 83 Linux
/dev/hda11 17851 19457 12908196 83 Linux
You may need to use
/sbin/fdisk -l /dev/hda depending on your path settings.