Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
6.2. Mounting an Ext4 File System
An ext4 file system can be mounted with no extra options. For example:
mount /dev/device /mount/point
# mount /dev/device /mount/pointmount /dev/device /mount/pointmount /dev/device /mount/pointmount /dev/device /mount/point
The ext4 file system also supports several mount options to influence behavior. For example, the
acl
parameter enables access control lists, while the user_xattr
parameter enables user extended attributes. To enable both options, use their respective parameters with -o
, as in:
mount -o acl,user_xattr /dev/device /mount/point
# mount -o acl,user_xattr /dev/device /mount/pointmount -o acl,user_xattr /dev/device /mount/pointmount -o acl,user_xattr /dev/device /mount/pointmount -o acl,user_xattr /dev/device /mount/point
The
tune2fs
utility also allows administrators to set default mount options in the file system superblock. For more information on this, refer to man tune2fs
.
Write Barriers Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
By default, ext4 uses write barriers to ensure file system integrity even when power is lost to a device with write caches enabled. For devices without write caches, or with battery-backed write caches, disable barriers using the
nobarrier
option, as in:
mount -o nobarrier /dev/device /mount/point
# mount -o nobarrier /dev/device /mount/pointmount -o nobarrier /dev/device /mount/pointmount -o nobarrier /dev/device /mount/pointmount -o nobarrier /dev/device /mount/point
For more information about write barriers, refer to Chapter 22, Write Barriers.