Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-27-2007, 03:53 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 7

Rep: Reputation: 0
mkfs question


i have installed a light linux version on my new hardware platform with usb 2, and i want to use it to write flash cards fast through this usb 2. On the machine i used before i used system files to format new partitions like mkfs.ext2 and mkfs.reiserfs but those are not on this linux distribution. (i'm using iMedia desktop version).

Does anyone know where i can get these files or how i can add them?

Old 11-27-2007, 10:44 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm assuming your mkfs is a similar one to mine (Slackware)... Have a look at the man page for mkfs, you should still be able to use it. As an example, use mkfs -t ext3 to create an ext3 file system.
Old 11-28-2007, 08:55 AM   #3
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,906
Blog Entries: 43

Rep: Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142Reputation: 3142

Man Oh Man, why don't people use 'man'?

excerpt from 'man mkfs';

mkfs - build a Linux file system

mkfs [ -V ] [ -t fstype ] [ fs-options ] filesys [ blocks ]

mkfs is used to build a Linux file system on a device, usually a hard
disk partition. filesys is either the device name (e.g. /dev/hda1,
/dev/sdb2) or the mount point (e.g. /, /usr, /home) for the file sys-
tem. blocks is the number of blocks to be used for the file system.

The exit code returned by mkfs is 0 on success and 1 on failure.

In actuality, mkfs is simply a front-end for the various file system
builders (mkfs.fstype) available under Linux. The file system-specific
builder is searched for in a number of directories like perhaps /sbin,
/sbin/fs, /sbin/fs.d, /etc/fs, /etc (the precise list is defined at
compile time but at least contains /sbin and /sbin/fs), and finally in
the directories listed in the PATH enviroment variable. Please see the
file system-specific builder manual pages for further details.
Please note the last paragraph.


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
Mkfs gone cthomas Linux - Software 2 02-03-2007 05:16 PM
mkfs blackzone Linux - Newbie 1 01-07-2005 12:52 AM
mkfs.vfat GlobShim Linux - General 2 03-28-2004 03:56 PM
mkfs bmike1 Linux - Software 1 08-06-2003 02:30 AM
mkfs help SticklerThe1st Linux - Software 3 01-01-2003 06:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 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
Open Source Consulting | Domain Registration