LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2003, 12:34 PM   #1
jlluis
LQ Newbie
 
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5

Rep: Reputation: 0
Find out FAT type


How can I find out if some partition is FAT 12, 16 or 32?
All I know is that /etc/mtab reports it as vfat.
I have tried to mount it with -t vfat
-o fat=12 => ok
-o fat=16 => ok
-o fat=32 => mount complains.
 
Old 09-19-2003, 12:46 PM   #2
jlluis
LQ Newbie
 
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5

Original Poster
Rep: Reputation: 0
I apologize.
I did not mean the "partition type",
which fdisk says is type "b" (win95-FAT32),
I meant the "filesystem type".
Cheers.
 
Old 09-19-2003, 12:54 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Its probably FAT32 - you could always try mounting it with:

mount –t vfat –o rw /dev/hda1 /mnt/windows

make sure you substitue in your partition name and mount point.

Last edited by Skyline; 09-19-2003 at 12:59 PM.
 
Old 09-19-2003, 01:08 PM   #4
jlluis
LQ Newbie
 
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, that's right.
I can mount it with:
mount -t vfat /dev/sde1 /home/stick
but still, I don't know the filesystem type.
 
Old 09-19-2003, 01:18 PM   #5
jlluis
LQ Newbie
 
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5

Original Poster
Rep: Reputation: 0
Solved, I hope :-)

I have issued:
# dosfsck -v /dev/sde1
and it replys,
...
2 FATs, 16 bit entries
...
So I deduce it is FAT 16.

If anyone wishes to add any comment, please feel free to do so.
 
Old 10-04-2003, 08:12 AM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hullo

On mandrake you can also use
mount -t auto /dev/(your partition number) /(your mount folder)
I have an IDE so its mount -t auto /dev/hda /mnt/secret squirrel
Auto will try ext3 then 2 then reiserfs and I think then vfats.

2) If you create a tomsboot disk and run fdisk you can see options to list all the types.
 
Old 10-04-2003, 08:58 AM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
fat-12 is for partition sizes 16 megs and below.
between 16 megs and 2048 megs is fat-16.
fat-32 is usually 512 megs and up, but you can make
one smaller i think.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can mount C not D FAT: invalid media value (0x45) mount: wrong fs type, bad option Emmanuel_uk Linux - Newbie 10 11-29-2005 02:47 AM
Mounting FAT 32 Partition Changes Type to Hidden dystopian Linux - General 7 10-08-2005 11:28 PM
How to find out the type of my CD-RW? kpachopoulos *BSD 4 01-30-2005 01:56 AM
where I can find user type Access gorup type and access satishpatel Linux - General 0 04-07-2004 05:29 AM
vfat and fat modules? Can't find them. the_rydster Slackware 4 02-24-2004 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration