Re: Fdisk and mount disagree?

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

 



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
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux