File System

Andy Green andy at warmcat.com
Tue Mar 21 21:03:00 UTC 2006


Mark Haney wrote:
> Ali Helmy wrote:
>> Quick Question: How can I get to know which file system is currently 
>> running on a partition?
>>
>> -- 
>> A. Helmy 
> If it's mounted, just do a 'mount'.  If it' s not, other than fdisk, I 
> don't know.

mount is the best way, but a pedantic caution on fdisk: the magic number 
that fdisk reports is not actually anything to do with the filesystem on 
the partition itself.  You could use fdisk to mark up a partition entry 
with some random magic number like for FAT32 but stick an ext3 
filesystem there and that should mount fine.  So the fdisk magic numbers 
are perhaps best viewed as someone's intention for that partition at 
some point in the past.

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060321/efef9009/attachment-0001.bin>


More information about the fedora-list mailing list