
mkisofs | 297
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
mkfs
mkfs [options] [fs-options] filesys [blocks]
System administration command. Construct a filesystem on a
device (such as a hard disk partition). filesys is either the name of
the device or the mountpoint. mkfs is actually a frontend that
invokes the appropriate version of mkfs according to a filesystem
type specified by the -t option. For example, a Linux Second
Extended Filesystem uses mkfs.ext2 (which is the same as
mke2fs); MS-DOS filesystems use mkfs.msdos. fs-options are
options specific to the filesystem type. blocks is the size of the file-
system in 1024-byte blocks.
Options
-V Produce verbose output, including all commands executed to
create the specific filesystem.
-t fs-type
Tells mkfs what type of filesystem to construct.
Filesystem-specific options
These options must follow generic options and cannot be
combined with them. Most filesystem builders support these three
options:
-c Check for bad blocks on the device before building the
filesystem.
-l file
Read the file file for the list of bad blocks on the device.
-v Produce verbose ouput.
mkfs.ext3
mkfs.ext3 [options] device size
Create a journaling ext3 filesystem. Options are identical to
mke2fs. See mkfs.
mkisofs
mkisofs [options] -o file pathspecs
Generate an ISO9660/Joliet/HFS filesystem for writing