#de-101-500-0011

Frage:
Was macht der Befehl „mount -a“?

Auswahlmöglichkeit:
1) 
2) Es werden alle eingehängte Dateisysteme angezeigt
3) 4) Es werden alle Dateisystem eingehängt welche in der /etc/fstab aufgelistet sind.

Tipps:
$~:man mount
Command-line options available for the mount command are:

-a, –all
Mount all filesystems (of the given types) mentioned in fstab (except for
those whose line contains the noauto keyword). The filesystems are mounted
following their order in fstab. The mount command compares filesystem
source, target (and fs root for bind mount or btrfs) to detect already
mounted filesystems. The kernel table with already mounted filesystems is
cached during mount –all. This means that all duplicated fstab entries
will be mounted.

The correct functionality depends on /proc (to detect already mounted
filesystems) and on /sys (to evaluate filesystem tags like UUID= or
LABEL=). It’s strongly recommended to mount /proc and /sys filesystems
before mount -a is executed, or keep /proc and /sys at the beginning of
fstab.

The option –all is possible to use for remount operation too. In this
case all filters (-t and -O) are applied to the table of already mounted
filesystems.

Since version 2.35 it is possible to use the command line option -o to
alter mount options from fstab (see also –options-mode).

Note that it is a bad practice to use mount -a for fstab checking. The
recommended solution is findmnt –verify.

Lösung:
4) Es werden alle Dateisystem eingehägt welche in der /etc/fstab aufgelistet sind.

 

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert