mke2fs PDF Print E-mail
Administrative Commands

mke2fs

This command create an ext2 file system on a device.

 

Example:

 

/sbin/mke2fs /dev/fd0

 

This will create an ext2 file system on the floppy.

 

Options

-c check for bad blocks

 

pathchk

 

This command checks to validate if the filename is valid and it will also check to see if the file meets length requirements.

Example:

 

pathchk /home/fred/work

 

One option is available.

-p this will check for POSIX portability