Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Mtab
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{About||the Swedish railway company|Malmtrafik}} {{Lowercase|mtab}} {{Use dmy dates|date=November 2020}} The '''mtab''' ('''mounted file systems table''') file is a system information file, commonly found on [[Unix-like]] systems. ==Overview== This file lists all currently [[mount (Unix)|mounted filesystems]] along with their initialization options. <code>mtab</code> has a lot in common with <code>[[fstab]]</code>, the distinction being that the latter is a configuration file listing which available filesystems should be mounted on which mount points at boot time, whereas the former lists currently mounted ones, which can include manually mounted ones not listed in fstab. Therefore, mtab is usually in a format similar to that of [[fstab]]. Most of the time it is possible to directly use lines from <code>mtab</code> in <code>fstab</code>.<ref>[https://www.gnu.org/s/libc/manual/html_node/Mount-Information.html Mount information]</ref><ref>[http://man.cat-v.org/unix_8th/5/mtab mtab manual page]</ref> The file commonly resides in <code>[[/etc]]/mtab</code>. In some systems it is a symlink to /proc/mounts. ==Example== Sample <code>mtab</code> contents: <syntaxhighlight lang="sh"> /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 </syntaxhighlight> ==See also== *<code>[[df (Unix)|df]]</code> *<code>[[fstab]]</code> ==References== {{Reflist}} {{Unix commands}} [[Category:Unix file system technology]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Lowercase
(
edit
)
Template:Reflist
(
edit
)
Template:Unix commands
(
edit
)
Template:Use dmy dates
(
edit
)