| dbpprop:abstract
| - Il file contiene l'elenco dei file system montati sul sistema ed è quindi strettamente collegato all'uso del comando mount, infatti la struttura di questo file è proprio l'output del comando mount senza opzioni. Un esempio di mtab, che si può vedere con cat /etc/mtab, è: /dev/hda6 / reiserfs rw,notail 0 0 proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 varrun /var/run tmpfs rw 0 0 varlock /var/lock tmpfs rw 0 0 procbususb /proc/bus/usb usbfs rw 0 0 udev /dev tmpfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 devshm /dev/shm tmpfs rw 0 0 lrm /lib/modules/2.6.15-27-386/volatile tmpfs rw 0 0 /dev/hda1 /media/hda1 vfat rw,utf8,umask=007,gid=46 0 0 /dev/hda5 /media/hda5 vfat rw,utf8,umask=007,gid=46 0 0 dove sono indicati, per ciascuna riga, i dispositivi e i loro punti di montaggio con le loro relative opzioni. Questo file viene letto da alcuni programmi per ottenere le informazioni dei file system del sistema. Viene generato automaticamente ed è in sola lettura per un utente normale. Volendo si può sostituire con un link a /proc/mounts che mantiene le stesse informazioni.
- The mtab (contraction of mounted file systems table) file is commonly found on Unix-like systems and lists the mounted file systems. Typically, mtab is in a format similar to that of fstab (file system table, a file specifying where devices should be mounted and providing information to assist this process) and is automatically edited when the mount command is used to indicate which filesystems are in use and how they are being used. If a filesystem is manually mounted, mtab will contain an entry similar to what would be needed in fstab to automatically mount the filesystem. /dev/sdb1 / ext3 rw,relatime,errors=remount-ro 0 0 proc /proc proc rw,noexec,nosuid,nodev 0 0 /sys /sys sysfs rw,noexec,nosuid,nodev 0 0 varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0 varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0 udev /dev tmpfs rw,mode=0755 0 0 devshm /dev/shm tmpfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 lrm /lib/modules/2.6.24-16-generic/volatile tmpfs rw 0 0 securityfs /sys/kernel/security securityfs rw 0 0 gvfs-fuse-daemon /home/alice/. gvfs fuse. gvfs-fuse-daemon rw,nosuid,nodev,user=alice 0 0
- Plik mtab (mounted file systems table, tablica zamontownych systemów plików) występuje w systemach z rodziny Unix, znajduje się zwykle w katalogu /etc i zawiera listę zamontowanych systemów plików. Plik ten ma format bardzo podobny do pliku fstab i jest automatycznie modyfikowany podczas użycia polecenia mount.
|