Re: [patch 6/7] vfs: mountinfo: add /proc/<pid>/mountinfo

From: Al Viro
Date: Wed Mar 26 2008 - 18:45:40 EST


On Wed, Mar 26, 2008 at 10:11:37PM +0100, Miklos Szeredi wrote:

> +This file contains lines of the form:
> +
> +36 35 98:0 /mnt1 /mnt2 rw,noatime rw master:1 - ext3 /dev/root,errors=continue
> +(1)(2)(3) (4) (5) (6) (7) (8) (9) (10) (11) (12)
> +
> +(1) mount ID: unique identifier of the mount (may be reused after umount)
> +(2) parent ID: ID of parent (or of self for the top of the mount tree)
> +(3) major:minor: value of st_dev for files on filesystem
> +(4) root: root of the mount within the filesystem
> +(5) mount point: mount point relative to the process's root
> +(6) mount options: per mount options

> +(7) super options: filesystem type independent, per super block options

Move that one past fs type, please.

> +(8) optional fields: zero or more fields of the form "tag[:value]"
> +(9) separator: marks the end of the optional fields
> +(10) filesystem type: name of filesystem of the form "type[.subtype]"
> +(11) mount source: filesystem specific information or "none"

I'm not even sure that we *want* "none" here, to be honest, but that's
a separate story...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/