b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

New Linux User

HOWTO: Make a Filesystem

by Jon on May 29th, 2006

So you’ve used fdisk or cfdisk to create some partitions on your disk. Great, now what? Well, to be able to use your new partitions, you’ll need to put a file system on them. If your plan is to install an operating system on your new partitions then it’s likely that the OS install application will take care of formatting and making a file system for you. If that’s not your plan, however, then you’ll need to do it manually.

The mkfs command will allow you to create a file system on a designated partition. I think that mkfs is only obligated to allow you to create an ext2 or msdos file system, but my Kubuntu box seems to have the ability to create quite a variety of file systems.

In reality, mkfs presents a single front end for the actual applications that do the making such as mkfs.msdos and mkfs.ext2. I mentioned that my Kubuntu box has more than these two mkfs. file so I presume (although I ain’t gonna try it on my live system!) that I can make all of the following file systems which I see in my /sbin directory:

  1. mkfs.cramfs
  2. mkfs.ext2
  3. mkfs.ext3
  4. mkfs.jfs
  5. mkfs.minix
  6. mkfs.msdod
  7. mkfs.reiser4
  8. mkfs.reiserfs
  9. mkfs.vfat
  10. mkfs.xfs

Happy making :)

POSTED IN: How To

0 opinions for HOWTO: Make a Filesystem

  • No one has left a comment yet. You know what this means, right? You could be first!

Have an opinion? Leave a comment:




Check Spelling
Activate Spell Check while Typing
Site Meter
Close
E-mail It