Zum Inhalt springen

E2fsprogs: Unterschied zwischen den Versionen

Aus Foxwiki
Keine Bearbeitungszusammenfassung
Zeile 115: Zeile 115:


= TMP =
= TMP =
e2fsprogs (sometimes called the e2fs programs) is a set of utilities for maintaining the [https://en.wikipedia.org/wiki/Ext2 ext2], [https://en.wikipedia.org/wiki/Ext3 ext3] and [https://en.wikipedia.org/wiki/Ext4 ext4] [https://en.wikipedia.org/wiki/File_system file systems]. Since those file systems are often the default for [https://en.wikipedia.org/wiki/Linux_distribution Linux distributions], it is commonly considered to be essential software.
== List of utilities ==
Included with e2fsprogs, ordered by [https://en.wikipedia.org/wiki/ASCII#Character_order ASCIIbetical order], are:
[https://en.wikipedia.org/wiki/Badblocks badblocks]
search a device for bad blocks
<tt>blkid</tt>
locate/print block device attributes
[https://en.wikipedia.org/wiki/Chattr chattr]
change file attributes on a Linux file system
<tt>debugfs</tt>
used to manually view or modify internal structures of the file system
<tt>dumpe2fs</tt>
prints superblock and block group information.
<tt>e2freefrag</tt>
report free space fragmentation information
<tt>e2fsck</tt>
an [https://en.wikipedia.org/wiki/Fsck fsck] program that checks for and corrects inconsistencies
<tt>e2image</tt>
save critical ext2/ext3/ext4 filesystem metadata to a file
<tt>e2label</tt>
change the label on an ext2/ext3/ext4 filesystem
<tt>e2scrub</tt>
check a filesystem "online" (i.e. without having to unmount it) in the case where the filesystem is on an [https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux) LVM] LV
<tt>e2undo</tt>
replay an undo log for an ext2/ext3/ext4 filesystem
<tt>e4defrag</tt>
online defragmenter for ext4 filesystems
<tt>filefrag</tt>
report file fragmentation
<tt>findfs</tt>
find a filesystem by label or UUID
<tt>findsuper</tt>
quick hacked up program to find ext2 superblocks
<tt>logsave</tt>
save the output of a command in a logfile
<tt>lsattr</tt>
list file attributes on a Linux second extended file system
<tt>mke2fs</tt>
used for creating ext2, ext3 and ext4 file systems
<tt>resize2fs</tt>
which can expand and shrink ext2, ext3 and [https://en.wikipedia.org/wiki/Ext4 ext4] file systems. On-line support was added in 2006.[https://en.wikipedia.org/wiki/E2fsprogs#cite_note-2 [2]]
<tt>tune2fs</tt>
used to modify file system parameters</div>
Many of these utilities are based on the [https://en.wikipedia.org/w/index.php?title=Libext2fs&action=edit&redlink=1 libext2fs] library.
== Usage ==
Despite what its name might suggest, e2fsprogs works not only with ext2, but also with ext3 and ext4. Although ext3's [https://en.wikipedia.org/wiki/Journaling_file_system journaling] capability can reduce the need to use <tt>e2fsck</tt>, it is sometimes still necessary to help protect against kernel bugs or bad hardware.
As the [https://en.wikipedia.org/wiki/Userspace userspace] companion for the ext2, ext3, and ext4 drivers in the [https://en.wikipedia.org/wiki/Linux_kernel Linux kernel], the e2fsprogs are most commonly used with [https://en.wikipedia.org/wiki/Linux Linux]. However, they have been ported to other systems, such as [https://en.wikipedia.org/wiki/FreeBSD FreeBSD] and [https://en.wikipedia.org/wiki/Darwin_(operating_system) Darwin].
== See also ==
* [https://en.wikipedia.org/wiki/Portal:Free_and_open-source_software Free and open-source software portal]
* [https://en.wikipedia.org/wiki/Mkfs mkfs]
* [https://en.wikipedia.org/wiki/Dd_(Unix) dd] — convert and copy a file
* [https://en.wikipedia.org/wiki/Fdisk fdisk] — examine and write partition table
* [https://en.wikipedia.org/wiki/Fsck fsck] — file system check
* [https://en.wikipedia.org/wiki/Mkisofs mkisofs] — make an iso file system
* [https://en.wikipedia.org/wiki/Mount_(Unix) mount] — mount a file system
* [https://en.wikipedia.org/wiki/Parted parted] — partition manager
== References ==
# [https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=da631e117dcf8797bfda0f48bdaa05ac0fbcf7af "Update release notes, etc., for the 1.47.3 release"]. 8 July 2025. Retrieved 11 July 2025.''
# [https://github.com/tytso/e2fsprogs/commit/bf69235ad0073c80386b70caba0e1b58e5f85697 "Add support for on-line resizing to resize2fs · tytso/E2fsprogs@bf69235"]. [https://en.wikipedia.org/wiki/GitHub GitHub].''
== External links ==
* [https://sourceforge.net/projects/e2fsprogs/ E2fsprogs] on [https://en.wikipedia.org/wiki/SourceForge SourceForge]
* [https://git.kernel.org/?p=fs/ext2/e2fsprogs.git e2fsprogs git repository]
* [http://web.mit.edu/tytso/www/linux/ext2intro.html Design and Implementation of the Second Extended Filesystem]

Version vom 14. September 2025, 09:58 Uhr

e2fsprogs - Werkzeuge für ext2-/ext3-/ext4-Dateisysteme

Beschreibung

Die Dateisysteme ext2, ext3 und ext4 sind Nachfolger des ursprünglichen ext-Dateisystems (ext ist die Abkürzung von extended, erweitert). Diese Dateisysteme werden am häufigsten für Festplatten in Debian- und anderen Linux-Systemen verwendet.

Dieses Paket enthält Programme zum Erstellen, Überprüfen und Warten von ext2/3/4-Dateisystemen. Es enthält auch das Programm badblocks, mit dem nach schadhaften Blöcken auf einer Festplatte oder anderen Speichergeräten gesucht werden kann.

Inhalt

/etc
 /etc/cron.d
 /etc/cron.d/e2scrub_all
 /etc/e2scrub.conf
 /etc/mke2fs.conf
/usr/bin
 /usr/bin/chattr
 /usr/bin/lsattr
/usr/lib
 /usr/lib/systemd
 /usr/lib/systemd/system
 /usr/lib/systemd/system/e2scrub@.service
 /usr/lib/systemd/system/e2scrub_all.service
 /usr/lib/systemd/system/e2scrub_all.timer
 /usr/lib/systemd/system/e2scrub_fail@.service
 /usr/lib/systemd/system/e2scrub_reap.service
/usr/lib/udev
 /usr/lib/udev/rules.d
 /usr/lib/udev/rules.d/64-ext4.rules
 /usr/lib/udev/rules.d/96-e2scrub.rules
/usr/libexec
 /usr/libexec/e2fsprogs
 /usr/libexec/e2fsprogs/e2scrub_all_cron
 /usr/libexec/e2fsprogs/e2scrub_fail
/usr/sbin
 /usr/sbin/badblocks
 /usr/sbin/debugfs
 /usr/sbin/dumpe2fs
 /usr/sbin/e2freefrag
 /usr/sbin/e2fsck
 /usr/sbin/e2image
 /usr/sbin/e2label
 /usr/sbin/e2mmpstatus
 /usr/sbin/e2scrub
 /usr/sbin/e2scrub_all
 /usr/sbin/e2undo
 /usr/sbin/e4crypt
 /usr/sbin/e4defrag
 /usr/sbin/filefrag
 /usr/sbin/fsck.ext2
 /usr/sbin/fsck.ext3
 /usr/sbin/fsck.ext4
 /usr/sbin/mke2fs
 /usr/sbin/mkfs.ext2
 /usr/sbin/mkfs.ext3
 /usr/sbin/mkfs.ext4
 /usr/sbin/mklost+found
 /usr/sbin/resize2fs
 /usr/sbin/tune2fs
/usr/share
 /usr/share/doc
 /usr/share/doc/e2fsprogs
 /usr/share/doc/e2fsprogs/NEWS.gz
 /usr/share/doc/e2fsprogs/README
 /usr/share/doc/e2fsprogs/changelog.Debian.gz
 /usr/share/doc/e2fsprogs/copyright
/usr/share/man
 /usr/share/man/man1
 /usr/share/man/man1/chattr.1.gz
 /usr/share/man/man1/lsattr.1.gz
 /usr/share/man/man5
 /usr/share/man/man5/e2fsck.conf.5.gz
 /usr/share/man/man5/ext2.5.gz
 /usr/share/man/man5/ext3.5.gz
 /usr/share/man/man5/ext4.5.gz
 /usr/share/man/man5/mke2fs.conf.5.gz
 /usr/share/man/man8
 /usr/share/man/man8/badblocks.8.gz
 /usr/share/man/man8/debugfs.8.gz
 /usr/share/man/man8/dumpe2fs.8.gz
 /usr/share/man/man8/e2freefrag.8.gz
 /usr/share/man/man8/e2fsck.8.gz
 /usr/share/man/man8/e2image.8.gz
 /usr/share/man/man8/e2label.8.gz
 /usr/share/man/man8/e2mmpstatus.8.gz
 /usr/share/man/man8/e2scrub.8.gz
 /usr/share/man/man8/e2scrub_all.8.gz
 /usr/share/man/man8/e2undo.8.gz
 /usr/share/man/man8/e4crypt.8.gz
 /usr/share/man/man8/e4defrag.8.gz
 /usr/share/man/man8/filefrag.8.gz
 /usr/share/man/man8/fsck.ext2.8.gz
 /usr/share/man/man8/fsck.ext3.8.gz
 /usr/share/man/man8/fsck.ext4.8.gz
 /usr/share/man/man8/mke2fs.8.gz
 /usr/share/man/man8/mkfs.ext2.8.gz
 /usr/share/man/man8/mkfs.ext3.8.gz
 /usr/share/man/man8/mkfs.ext4.8.gz
 /usr/share/man/man8/mklost+found.8.gz
 /usr/share/man/man8/resize2fs.8.gz
 /usr/share/man/man8/tune2fs.8.gz


Anhang

Siehe auch

Links

Weblinks


TMP

e2fsprogs (sometimes called the e2fs programs) is a set of utilities for maintaining the ext2, ext3 and ext4 file systems. Since those file systems are often the default for Linux distributions, it is commonly considered to be essential software.

List of utilities

Included with e2fsprogs, ordered by ASCIIbetical order, are:

badblocks

search a device for bad blocks

blkid

locate/print block device attributes

chattr

change file attributes on a Linux file system

debugfs

used to manually view or modify internal structures of the file system

dumpe2fs

prints superblock and block group information.

e2freefrag

report free space fragmentation information

e2fsck

an fsck program that checks for and corrects inconsistencies

e2image

save critical ext2/ext3/ext4 filesystem metadata to a file

e2label

change the label on an ext2/ext3/ext4 filesystem

e2scrub

check a filesystem "online" (i.e. without having to unmount it) in the case where the filesystem is on an LVM LV

e2undo

replay an undo log for an ext2/ext3/ext4 filesystem

e4defrag

online defragmenter for ext4 filesystems

filefrag

report file fragmentation

findfs

find a filesystem by label or UUID

findsuper

quick hacked up program to find ext2 superblocks

logsave

save the output of a command in a logfile

lsattr

list file attributes on a Linux second extended file system

mke2fs

used for creating ext2, ext3 and ext4 file systems

resize2fs

which can expand and shrink ext2, ext3 and ext4 file systems. On-line support was added in 2006.[2]

tune2fs

used to modify file system parameters

Many of these utilities are based on the libext2fs library.

Usage

Despite what its name might suggest, e2fsprogs works not only with ext2, but also with ext3 and ext4. Although ext3's journaling capability can reduce the need to use e2fsck, it is sometimes still necessary to help protect against kernel bugs or bad hardware.

As the userspace companion for the ext2, ext3, and ext4 drivers in the Linux kernel, the e2fsprogs are most commonly used with Linux. However, they have been ported to other systems, such as FreeBSD and Darwin.

See also

  • mkfs
  • dd — convert and copy a file
  • fdisk — examine and write partition table
  • fsck — file system check
  • mkisofs — make an iso file system
  • mount — mount a file system
  • parted — partition manager


References

  1. "Update release notes, etc., for the 1.47.3 release". 8 July 2025. Retrieved 11 July 2025.
  2. "Add support for on-line resizing to resize2fs · tytso/E2fsprogs@bf69235". GitHub.


External links