[lkml]   [2003]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectAbout /etc/mtab and /proc/mounts
    Hi all :))

I would like to know if adding the bits of information that
/etc/mtab has and /proc/mount doesn't needs a lot of work. The
problem here is that /etc/mtab, although traditional, does not make
sense in systems where /etc is mounted read-only. Usually, the only
reason for mounting it read-write is the mtab...

Well, nowadays is very usual to see systems where /etc/mtab is
just a symlink to /proc/mounts, but then you lose some information.
That is, you can live without that info, but if it can be easily
added I think that it would worth the effort.

Unfortunately, some of this information is obtained from
/etc/fstab but IMHO the kernel has that info too in some table, I

Well, if someone familiar with this part of the kernel gives me
the information I think I can write the code for the 'extra'
information ;))

I give an example of this extra information:

in /etc/mtab we have:
pts /dev/pts devpts rw,gid=5,mode=620 0 0

in /proc/mounts we have:
pts /dev/pts devpts rw 0 0

Other filesystems, as tmpfs, has the size information, for
example, etc...

Thanks in advance.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.203 / U:3.724 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site