Polecenie tune2fs
Opcje wykonania tune2fs
w konsoli
Specify the maximum number of mount counts between two checks on the filesystem.
Specify the mount count. For use with -c to force a check the next time the system boots.
Specify the kernel's behavior when encountering errors. behavior must be one of:
continue Continue as usual.
remount-ro Remount the offending filesystem in read-only mode.
panic Cause a kernel panic.
Force completion even if there are errors.
Allow group (a group ID or name) to use reserved blocks.
Specify the maximum interval between filesystem checks. Units may be in days (d), weeks (w), or months (m). If interval is 0, checking will not be time-dependent.
Add an ext3 journal to the filesystem. If specified without -J, use the default journal parameters.
Specify ext3 journal parameters as a comma-separated list of option=value pairs. The specified options override the default values. Only one size or device option can be specified for a filesystem. Possible options are:
device=ext-jrnl Attach to the journal block device on ext-jrnl, which must exist and must have the same block size as the filesystem to be journaled. ext-jrnl can be specified by its device name, by the volume label (LABEL=label), or by the Universal Unique Identifier (UUID) stored in the journal's ext2 superblock (UUID=uuid; see uuidgen). Create the external journal with:
mke2fs -O jrnl-dev ext-jrnl
size=jrnl-size The size of the journal in megabytes. The size must be at least equivalent to 1024 blocks and not more than 102,400 blocks.
Display a list of the superblock's contents.
Specify the volume label of filesystem. The label must be no more than 16 characters.
Specify the percentage of blocks that will be reserved for use by privileged users.
Specify the filesystem's last-mounted directory.
Set or clear the specified default mount-options. Mount options specified in /etc/fstab or on the command line for mount will override these defaults. Specify multiple options as a comma-separated list. Prefixing an option with a caret (^) clears the option. No prefix or a plus sign (+) causes the option to be set. The following options can be cleared or set:
acl Enable Posix Acess Control Lists.
bsdgroups Assign new files the group-id of the directory in which they are created instead of the group-id of the process creating them.
debug Enable debugging code.
journal_data When journaling, commit all data to journal before writing to the filesystem.
journal_data_ordered When journaling, force data to the filesystem before committing metadata to the journal.
journal_data_writeback When journaling, force data to the filesystem after committing metadata to the journal.
Set or clear the specified filesystem options in the filesystem's superblock. Specify multiple options as a comma-separated list. Prefixing an option with a caret (^) clears the option. No prefix or a plus sign (+) causes the option to be set. Run e2fsck after changing filetype or sparse_super. The following options can be cleared or set:
dir_index Use B-trees to speed up lookups on large directories.
filetype Save file type information in directory entries.
has_journal Create an ext3 journal. Same as the -j option.
sparse_super Save space on large filesystems by limiting the number of backup superblocks. Same as -s.
Specify the number of blocks that will be reserved for use by privileged users.
Turn the sparse superblock feature on or off. Run e2fsck after changing this feature.
Set the time e2fsck was last run. The time specification is international date format, with the time optional—i.e., YYYYMMDD[[HHMM] SS] . If time is specified as time-last-checked, the current time is used.
Allow user (a user ID or name) to use reserved blocks.
Set the UUID of the filesystem to a UUID generated by uuidgen or to one of the following:
clear Clear the existing UUID.
random Randomly generate a new UUID.
time Generate a new time-based UUID.
Przykłady tune2fs działanie w Słownik polecenie T
- Przykład TUNE2FS użycie :
- Jak użyć command, passing it any arguments , and time the execution. Note that there is also a shell time command, so you might need to specify the full path, usually /usr/bin/time , to run this version of co znaczy.
- Przykład TUNE2FS użycie :
- Jak użyć Trace route taken by packets to reach network host. traceroute attempts tracing by launching UDP probe packets with a small TTL (time-to-live), then listening for an ICMP time exceeded reply from a krzyżówka.
- Przykład TUNE2FS użycie :
- Jak użyć restore files from an archive medium. If any files are directories, tar acts on the entire subtree. Options need not be preceded by - (though they may be). The exception to this rule is when you are co to jest.
- Przykład TUNE2FS użycie :
- Jak użyć retrieve or set the processor affinity mask of either an existing process, given its PID, or to run a new a process, given its command name, with a specified affinity mask. The Linux scheduler will słownik.
- Przykład TUNE2FS użycie :
- Jak użyć terminal. The terminal to be initialized is whichever is found first from the value of terminal , the value of the TERM environment variable, or the default terminal type. See also the reset command czym jest.