HOWTO: Make a Filesystem
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:
- mkfs.cramfs
- mkfs.ext2
- mkfs.ext3
- mkfs.jfs
- mkfs.minix
- mkfs.msdod
- mkfs.reiser4
- mkfs.reiserfs
- mkfs.vfat
- mkfs.xfs
Happy making :)
Related Stories
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: