$ sudo /sbin/fdisk -l [snip] Disk /dev/sda: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sda1 1 12161 97683201 c W95 FAT32 (LBA)
$ mount [snip] /dev/sda1 on /mnt/usb type ext3 (rw,nosuid,nodev,user=jmccarty)
$ uname -a Linux Presario-1 2.6.10-1.771_FC2 #1 Mon Mar 28 00:50:14 EST 2005 i686 i686 i386 GNU/Linux
(yes, I know FC2 is unsupported)
Mike
Mike McCarty wrote:
$ sudo /sbin/fdisk -l [snip] Disk /dev/sda: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sda1 1 12161 97683201 c W95 FAT32 (LBA)
$ mount [snip] /dev/sda1 on /mnt/usb type ext3 (rw,nosuid,nodev,user=jmccarty)
One thing to keep in mind is that fdisk reports the partition type you set when you create the partition, and mount reports the file system type that was used to mount the partition. There is nothing that prevents you from formatting a partition ext2 that is marked as FAT32. You can also change the partition type after later. If I remember correctly, there is a "magic number" in the file system headers that tells what type of file system it is, and mount uses that when you use the auto file system type.
Mikkel
Mikkel L. Ellertson wrote:
Mike McCarty wrote:
$ sudo /sbin/fdisk -l [snip] Disk /dev/sda: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sda1 1 12161 97683201 c W95 FAT32 (LBA)
$ mount [snip] /dev/sda1 on /mnt/usb type ext3 (rw,nosuid,nodev,user=jmccarty)
One thing to keep in mind is that fdisk reports the partition type you set when you create the partition, and mount reports the file
Makes sense, since when I bought the disc it came preformatted with FAT32. For consistency's sake, I guess I should use fdisk to change the ID to something else.
Mike