Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-03-2008, 06:35 AM   #16
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32

Originally Posted by keefaz View Post
Congrat Glore!
Now if you don't want to repeat the mistake with formating the USB drive, may be write a script like:
Script name: (or choose a better name, choose the program name is the most difficult thing in programming imho )
mkdosfs -I -v /dev/sdb
(use whatever option you like for mkdosfs)
Then chmod +x
and execute it with: ./
The reason to make a script for this is as as you have written the name in the file, you won't be able to do the same mistake (format /dev/sda), and another reason is less words to type
You're right keefaz!!!
As soon as I get home I will create the script. No doubt mkdosfs is a powerful and risky command. I can assure that!!! :-)

This was the command I've used:

mkdosfs -I -F 16 /dev/sda (instead of sdb, of course :-(

What would you recommend to format the usb mp4 player? Do I need to use -F 16 (FAT)? If I use the command you've suggested, What filesystem will the mp4 have?

Thanks for always keeping in touch.

Last edited by glore2002; 09-03-2008 at 06:40 AM.
Old 09-03-2008, 07:44 AM   #17
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,395

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
from man mkdosfs, it seems that you don't need the -F 16 option, it will select it for you. If you wanted a Fat32 you have to use -F 32 (if I read correctly the man page). I used the -v option, because I like verbose mode
I would use a Fat32 filesystem if the drive size > 1 GB, else Fat16


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
Cross-compiling Slackware from scratch intens Slackware 7 01-15-2007 03:26 AM
Installing Slackware 10.2 from scratch dfresh Slackware - Installation 9 11-10-2005 02:44 PM
Slackware from Scratch? dhave Slackware 10 02-07-2005 05:04 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 06:11 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:14 AM.

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