LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-09-2006, 11:13 PM   #1
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Rep: Reputation: 15
formatting with win32 in slack


Is there anyway to format a win32 partition in slackware?

I've already fdisk'ed the drive and created a new win32 primary partition, but dont know what the format command is.
 
Old 06-10-2006, 12:32 AM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Code:
man mkfs
Not trying to be prickish but I don't exactaly know myself.

Looks like it would be:

Code:
mkfs -V -t vfat /dev/hda5
asuming /dev/hda5 is the partition in question. Play around with it. You'll find out quick enough. The man page hints, to the best of my imediate understanding, that you could:

Code:
ln -sf /sbin/mkfs /sbin/mkfs.vfat
mkfs.vfat /dev/hda5
But I could be wrong there....
 
Old 06-10-2006, 01:10 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
To format a FAT32 filesystem under Linux:
"/sbin/mkdosfs -F32 -v /dev/hda2"

I know this works from experience.
 
Old 06-10-2006, 04:26 AM   #4
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Chinaman
To format a FAT32 filesystem under Linux:
"/sbin/mkdosfs -F32 -v /dev/hda2"

I know this works from experience.
cheers, that one worked a treat.

the /sbin/mffs.vfat didn't exist on my system, and creating the link or calling mkfs -V -t vfat caused it to use the fault fs type (ext2), so no luck with that method
 
Old 06-26-2006, 03:08 PM   #5
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
Sorry to resurect an old thread, but as far as I can tell there are no Slackware packages with mkfs.vfat. Is this so, or did I just miss a package? mkdosfs seems to work well enough, I'm just curious.
 
Old 06-26-2006, 04:07 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
There is no mkfs.vfat on Slackware. Use mkdosfs.

Eric

*edit* I checked on a Redhat box - mkfs.msdos and mkfs.vfat are the same binary there, they are hardlinks even.

Last edited by Alien Bob; 06-26-2006 at 04:11 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrdao for win32 Tigger Linux - General 1 11-11-2003 01:53 PM
cdrdao for win32 Tigger Linux - Software 0 11-10-2003 02:49 AM
X-Win32 and SSH Saeven Linux - General 1 10-16-2002 10:09 AM
win32 application Jargon Linux - Newbie 2 05-29-2002 12:26 PM
X-Win32 jpc82 Linux - Networking 4 12-27-2001 04:47 PM

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

All times are GMT -5. The time now is 10: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