Co robi MKE2FS użycie. Konsola the number of blocks on the device or allow mke2fs to guess.

Czy przydatne?

Polecenie mke2fs

Wykonanie, użycie: System administration command. Format device as a Linux Second Extended Filesystem. You may specify the number of blocks on the device or allow mke2fs to guess

Opcje wykonania mke2fs w konsoli

-b block-size

Specify block size in bytes.

-c

Scan device for bad blocks before execution.

-E featurelist

Specify extended features. This option's parameters may be given in a comma-separated list:

stride=size

Configure filesystem for a RAID array. Set stride size to size blocks per stripe.

resize=blocks

Reserve descriptor table space to grow filesystem to the specified number of blocks.

-f fragment-size

Specify fragment size in bytes.

-F

Force mke2fs to run even if filesystem is mounted or device is not a block special device. This option is probably best avoided.

-i bytes-per-inode

Create an inode for each bytes-per-inode of space. bytes-per-inode must be 1024 or greater; it is 4096 by default.

-j

Create an ext3 journal. This is the same as invoking mkfs.ext3.

-J parameterlist

Use specified parameterlist to create an ext3 journal. The following two parameters may be given in a comma-separated list:

size=journal-size

Create a journal of journal-size megabytes. The size may be between 1024 filesystem blocks and 102,400 filesystem blocks in size (e.g., 1-100 megabytes if using 1K blocks, 4-400 megabytes if using 4K blocks).

device=journal-device

Use an external journal-device to hold the filesystem journal. The journal-device can be specified by name, by volume label, or by UUID.

-l filename

Consult filename for a list of bad blocks.

-L label

Set volume label for filesystem.

-m percentage

Reserve percentage percent of the blocks for use by privileged users.

-M directory

Set the last mounted directory for filesystem to directory.

-n

Don't create the filesystem; just show what would happen if it were run. This option is overridden by -F.

-N inodes

Specify number of inodes to reserve for filesystem. By default, this number is calculated from the number of blocks and the inode size.

-o os

Set filesystem operating system type to os. The default value is usually Linux.

-O featurelist

Use specified featurelist to create filesystem. The sparse_super and filetype features are used by default on kernels 2.2 and later. The following parameters may be given in a comma-separated list:

dir_index

Use hashed B-trees to index directories.

filetype

Store file type information in directory entries.

has_journal

Create an ext3 journal. Same as using the -j option.

journal_dev

Prepare an external journaling device by creating an ext3 journal on device instead of formatting it.

sparse_super

Save space on a large filesystem by creating fewer superblock backup copies.

-q

Quiet mode.

-r revision

Set filesystem revision number to revision.

-S

Write only superblock and group descriptors; suppress writing of inode table and block and inode bitmaps. Useful only when attempting to salvage damaged systems.

-T use

Set bytes-per-inode based on the intended use of the filesystem. Supported filesystem types are:

news

Four kilobytes per inode.

largefile

One megabyte per inode.

largefile4

Four megabytes per inode.

-v

Verbose mode.

-V

Print version number, then exit.

Przykłady mke2fs działanie w Słownik polecenie M

Przykład MKE2FS użycie :
Jak użyć Create a directory on an MS-DOS filesystem. See mkdir and mtools for more information co znaczy.
Przykład MKE2FS użycie :
Jak użyć files and directories. The source (first column) and target (second column) determine the result (third column): Source Target Result File name (nonexistent) Rename file to name . File Existing file krzyżówka.
Przykład MKE2FS użycie :
Jak użyć determine path to manual pages . Check $MANPATH first; if that is not set, consult /etc/man.conf , user environment variables, and the current working directory. The manpath command is a co to jest.
Przykład MKE2FS użycie :
Jak użyć targets according to dependency instructions in a description file in the current directory. By default, this file is called makefile or Makefile . Options, targets, and macro definitions can be in słownik.
Przykład MKE2FS użycie :
Jak użyć mail to other users . The mail utility allows you to compose, send, receive, forward, and reply to mail. mail has two main modes: compose mode, in which you create a message, and command mode, in czym jest.