Slackware This Forum is for the discussion of Slackware Linux.
|
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.
|
|
06-10-2006, 12:13 AM
|
#1
|
Member
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39
Rep:
|
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.
|
|
|
06-10-2006, 01:32 AM
|
#2
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
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....
|
|
|
06-10-2006, 02:10 AM
|
#3
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
To format a FAT32 filesystem under Linux:
"/sbin/mkdosfs -F32 -v /dev/hda2"
I know this works from experience.
|
|
|
06-10-2006, 05:26 AM
|
#4
|
Member
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39
Original Poster
Rep:
|
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
|
|
|
06-26-2006, 04:08 PM
|
#5
|
Member
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168
Rep:
|
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.
|
|
|
06-26-2006, 05:07 PM
|
#6
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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 05:11 PM.
|
|
|
All times are GMT -5. The time now is 04:08 AM.
|
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
|
|