How the mkfs utility is used to create linux filesystem?Any link?Where to get the code for it?
mkfs is just an umbrella. You have to be specific /which/ mkfs you want to look at. There exist a different one for each and every file system. mkfs.ext2, mkfs.xfs ...
mkfs.ext2
Usage:
man mkfs.ext2
or the world wide web.
Source: http://e2fsprogs.sourceforge.net/
If you have a rpm based system you can find out which program belongs to which package like this: rpm -qf /sbin/mkfs.ext2
Have fun!
How to compile that mke2fs code?
With a C compiler.
mkfs is the entry point
mkfs is just an umbrella. You have to be specific /which/
mkfs you want to look at. There exist a different one
for each and every file system. mkfs.ext2, mkfs.xfs ...
mkfs.ext2
mkfs.ext2
mkfs.ext2
Usage:
man mkfs.ext2
or
the world wide web.
Source:
http://e2fsprogs.sourceforge.net/
If you have a rpm based system you can find out which
program belongs to which package like this:
rpm -qf /sbin/mkfs.ext2
Have fun!
How to compile that mke2fs co
How to compile that mke2fs code?
With a C compiler.
With a C compiler.