Filesystemtable

Aus Secure Solutions Wiki
Wechseln zu:Navigation, Suche

Der Filesystemtable ist für das einbinden von Laufwerken in GNU/Linux, BSD und teils auch in Mac OS X verantwortlich. In diesem Artikel geht es um fstab auf GNU/Linux. Der Filesystemtable ist in /etc/fstab zu finden.

Inhaltsverzeichnis

Syntax

Dies ist ein Beispiel für die /etc/fstab:

<file system>     <mount point>  <type>   <options>    <dump> <pass>
/dev/sda1         /boot          ext2     defaults     0      1     
/dev/sda2         none           swap     defaults     0      0     
/dev/sda3         /              ext4     defaults     0      2     
/dev/sdb1         /home          btrfs    defaults     0      3     

  1. <file system> Datenträger/Netzwerkfreigabe
  2. <mount point> Einbindepunkt
  3. <type> Dateisystem
  4. <options> Alle Optionenaus dem mount-Parameter -o verfügbar. "defaults", sind die Optionen "rw,suid,dev,exec,auto,nouser,async".
  5. <dump> Backup-Programm dump. 0 = keine Sicherung.
  6. <pass> Die Reihenfolge in der die Datenträger von fsck beim Systemstart geprüft werden sollen.