doubt in commands
tell me differences between mkfs and mke2fs. are they doing the same work? if yes means then why they are using two names for the same function.
|
Hello,
Actually both the commands is use to create the filesystem. >>>>> mkfs - mkfs is simply a front-end for the various file system builders (mkfs.fstype) available under Linux I think there is a limitation to create the Journaling file system using mkfs command. It has the below option to create the defaile file system which is ext2. -t fstype Specifies the type of file system to be built. If not specified, the default file system type (currently ext2) is used. >>>>> mke2fs - create an ext2/ext3/Journal filesystem - There is confiuration file called /etc/mke2fs.conf where you can mentioned default paramter of file systems. For the further details .. you should read manual pages for both this command. Thnaks & Regards, Ramesh Shihora |
ya both commands are used for creating filesystem. As per ur reply i think mke2fs have the configuration file where mkfs does not have config file.
|
Hi,
Welcome to LQ! Quote:
Quote:
Read the man page and at the bottom you will see references to 'mkfs.fstype' within the 'See Also'. You could then 'man command' for the particular builder. HTH! |
All times are GMT -5. The time now is 07:57 AM. |