Filesystemtable: Unterschied zwischen den Versionen

Aus Secure Solutions Wiki
Wechseln zu:Navigation, Suche
K
K (Syntax)
Zeile 12: Zeile 12:
 
<code>/dev/sdb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;btrfs&nbsp;&nbsp;&nbsp;&nbsp;defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <br>
 
<code>/dev/sdb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;btrfs&nbsp;&nbsp;&nbsp;&nbsp;defaults&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <br>
 
<br>
 
<br>
# '''<file system>'''
+
# '''<file system>''' Datenträger/Netzwerkfreigabe
# '''<mount point>'''
+
# '''<mount point>''' Einbindepunkt
# '''<type>'''
+
# '''<type>''' Dateisystem
# '''<options>'''
+
# '''<options>''' Weitere Einbindungsoptionen
# '''<dump>'''
+
# '''<dump>''' Prüfe Dateisystem mit [https://linux.die.net/man/8/dump dump].
# '''<pass>'''
+
# '''<pass>''' Die Reihenfolge in der die Datenträger von fsck beim Systemstart geprüft werden sollen.

Version vom 18. Oktober 2020, 00:44 Uhr

Der Filesystemtable ist für das einbinden von Laufwerken in GNU/Linux, Mac OS X und BSD 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      1     
/dev/sdb1         /home          btrfs    defaults     0      2     

  1. <file system> Datenträger/Netzwerkfreigabe
  2. <mount point> Einbindepunkt
  3. <type> Dateisystem
  4. <options> Weitere Einbindungsoptionen
  5. <dump> Prüfe Dateisystem mit dump.
  6. <pass> Die Reihenfolge in der die Datenträger von fsck beim Systemstart geprüft werden sollen.