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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-19-2003, 12:34 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5
Rep:
|
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.
|
|
|
09-19-2003, 12:46 PM
|
#2
|
LQ Newbie
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5
Original Poster
Rep:
|
I apologize.
I did not mean the "partition type",
which fdisk says is type "b" (win95-FAT32),
I meant the "filesystem type".
Cheers.
|
|
|
09-19-2003, 12:54 PM
|
#3
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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.
|
|
|
09-19-2003, 01:08 PM
|
#4
|
LQ Newbie
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
09-19-2003, 01:18 PM
|
#5
|
LQ Newbie
Registered: Sep 2003
Location: Barcelona, Spain - Catalan
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
10-04-2003, 08:12 AM
|
#6
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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.
|
|
|
10-04-2003, 08:58 AM
|
#7
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|