LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2005, 10:53 AM   #1
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Rep: Reputation: 15
which package contains mkfs.vfat?


Hi,

I was trying to compile my new sata hd w/ vfat so i can use on win as well, but my file mkfs.vfat is not installed. Does anyone know which package contains that file?

Thanks
 
Old 09-18-2005, 11:09 AM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
Just format it using windows or a boot floppy. If it has a proper type of "win95 FAT32 (LBA)", then windows should know that it is an unformatted drive and you can tell windows to format it.
 
Old 09-18-2005, 11:28 AM   #3
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Rep: Reputation: 30
Doesn't mkdosfs do the same thing ?

Last edited by nukey; 09-18-2005 at 12:55 PM.
 
Old 09-18-2005, 12:49 PM   #4
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 235

Rep: Reputation: 47
Try running this for a FAT32 partition:
mkdosfs -F 32 -I /dev/xxxx
Fill in xxxx with whatever device/partition you're trying to format.
 
Old 09-18-2005, 02:58 PM   #5
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
It seems on alot (if not all) systems, it's just a symlink pointing to 'mkfsdos'

http://www.die.net/doc/linux/man/man8/mkfs.vfat.8.html

I did some searching and couldn't come up with any binary named mkfs.vfat.. So, I suppose if you really want that command:

ln -sf /sbin/mkdosfs /sbin/mkfs.vfat
ln -sf /usr/man/man8/mkdosfs.8.gz /usr/man/man8/mkfs.vfat.8.gz

On an interesting side note, it seems that you can create FAT32 partitions larger than 32Gb with mkdosfs and Windows will read/write to it just fine... Cool...

Last edited by jong357; 09-18-2005 at 03:00 PM.
 
Old 09-18-2005, 08:53 PM   #6
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Original Poster
Rep: Reputation: 15
thanks for the replies, I didn't know that mkdosfs formatted w/ fat32 when given the -F 32 argument. I'll try that now.

The reason I didn't do this on win is that winXP forces you to format now w/ ntfs, it doesn't have the fat32 option anymore, and obviously i wanna make my new disk fat32 so both win and linux can use it.

Thanks,
JC


i was able to format it w/ mkdosfs.
thanks

Last edited by ttilt; 09-18-2005 at 10:37 PM.
 
Old 09-18-2005, 10:48 PM   #7
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Xp will let you format in FAT32. 10:1 you were just trying to format a raw partition larger than 37750Mb as I stated above. Once you go higher than that it only gives you the option to format in NTFS... Glad you got it worked out tho.

Last edited by jong357; 09-18-2005 at 10:50 PM.
 
Old 08-11-2009, 10:35 AM   #8
jpdune
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Lightbulb dosfstools

Hi,
old question that has never been answered before : the package that contains all the files for msdos fat16 and fat32 device (including flash stick formatting) is named "dosfstools" at least for my Mandriva distribution.
 
Old 08-11-2009, 10:47 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,654
Blog Entries: 36

Rep: Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844Reputation: 2844
Hi,

Welcome to LQ & Slackware Forum!

Since you had to resurrect a 4 year old thread to indicate the package that you use on a Mandriva distribution. The 'dosfstools' package on a Slackware 12.2 system is 'dosfstools-2.11-i486-1'.
 
Old 08-11-2009, 11:15 AM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Quote:
Originally Posted by onebuck View Post
Hi,

Welcome to LQ & Slackware Forum!

Since you had to resurrect a 4 year old thread to indicate the package that you use on a Mandriva distribution. The 'dosfstools' package on a Slackware 12.2 system is 'dosfstools-2.11-i486-1'.
Yea! Another point for Slackware!

Nice already having ALL YOU NEED
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where can I download mkfs.vfat packet ? lemon_hou Linux - Software 4 09-04-2007 03:24 PM
mkfs.vfat /dev/hdb ERRORS! fatrandy13 Linux - Hardware 1 05-31-2005 08:36 PM
Mkfs Vfat Command Not Found johnnyICON Linux - General 4 09-10-2004 07:51 AM
mkfs.vfat GlobShim Linux - General 2 03-28-2004 02:56 PM
mkfs.vfat?? lss223 Slackware 1 04-28-2003 01:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:10 AM.

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