LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-23-2010, 03:42 AM   #1
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Rep: Reputation: 18
Lightbulb 2.3. Creating a File System on the Partition (Bedside mke2fs there is mkfs.ext2/3)


Hello People,

Just want to share some of my discovery on "Creating a File System on the Partition".

Beside using mke2fs -jv to create ext2/3 file system, we could use mkfs.ext2/3 -jv to create ext2/3 file system.

There are other mkfs to make different type file system, such as:

mkfs.vfat -> Create MS-DOS FAT/16/32 file system
mkfs.msdos -> Create MS-DOS file system
mkfs.ntfs -> Create NTFS file system
mkfs.xfs -> Create XFS file system
mkfs.reiserfs -> Create Reiser file system

and etc etc.

Thank you.

Last edited by johncsl82; 05-23-2010 at 03:53 AM.
 
Old 05-23-2010, 04:01 AM   #2
anon237
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Just to clarify:

The presence of the mkfs.XXX executables depend a bit on the distro/host you use, not all of them are always present. mkfs should always be present and depending on what else is installed it can create other filesystems then ext2/3.

LFS doesn't have to be build on a ext3 FS, as long as it is a linex FS all is ok (I wouldn't use vfat, msdos or ntfs....).
 
Old 05-23-2010, 04:15 AM   #3
johncsl82
Member
 
Registered: Nov 2003
Location: Planet Earth
Distribution: Redhat, Gentoo, Mandrake, FreeBSD
Posts: 73

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by druuna View Post
Hi,

Just to clarify:

The presence of the mkfs.XXX executables depend a bit on the distro/host you use, not all of them are always present. mkfs should always be present and depending on what else is installed it can create other filesystems then ext2/3.
Yup, agree...

Thank you.

Last edited by johncsl82; 05-23-2010 at 04:17 AM.
 
  


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
mke2fs -t vfat created an ext2 file system catkin Slackware 7 03-23-2010 07:58 AM
eeexubuntu file system error during installation - creating ext2 partition gordon__1 Linux - Newbie 6 01-13-2008 05:39 PM
how to know my current hard disk partition file system ext2,ext3... hocheetiong Linux - Newbie 2 09-09-2007 07:42 AM
mkfs fails even after creating new partition hazmatt20 Linux - Hardware 5 10-12-2006 02:28 PM
Are ext2 files lost after mkfs??? atesz Linux - General 4 08-31-2004 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:51 PM.

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