Jump to content

Fstab and Mtab


Noonmid27

Recommended Posts

What is the difference between the 2. Does the /etc/mtab show only the partitions that are formatted and have been written to, the the fstab show everything.

Link to comment
Share on other sites

I believe mtab shows only those partitions actually mounted currently. fstab shows all your linux partitions and maybe others, if you've added anything manually. Someone else will probably be along to confirm or correct this!

Link to comment
Share on other sites

Hi NoonElizabeth is correct . . the mtab file is a dynamic file and shows the currently mounted divices . . . you should never make changes to that file yourself because the system updates it automatically.The fstab file is the config file that tells the system where to mount what device, here you can make changes ( careful though ! ) and tell the computer to mount a drive in a different place if you wish to.Have a read here: Fstab & MtabB) Bruno

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...