[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Patch for /proc/mounts problems on 2.2.x

Jeff Garzik wrote:
> Christian Czezatke wrote:
> > Unfortunately, I had to discover that /proc/mounts does not show all the
> > mounting options (usrquota, grpquota).
> These options are ignored. linux/fs/ext2/super.c from 2.2.18-pre17:
But there are _userspace_ tools which check for these options
in /etc/mtab (like "quota"), which won't work if you symlink

> > -- Furthermore, the max. size of
> > /proc/mounts is limited to one page. Even worse, the current
> > implementation in Linux 2.2.17 and 2.2.18preX does not perform proper
> > bounds checking. (I've successfully triggered off an OOPS by exploiting
> > this on a box running Linux 2.2.17).
> Don't mount so many filesystems, or don't use so many no-op options :)
Well, I already can imagine the next bugtrack message... :-(
(Just think of a network of auto-mounted NFS servers...!)

Did you actually _read_ our web-page dealing with this topic?

- andreas

Andreas Haumer |
*x Software + Systeme |
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:41    [W:0.071 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site