On Wed, Jun 20, 2007 at 01:57:33PM -0700, H. Peter Anvin wrote: > ... or, alternatively, add a subfield to the first field (which would > entail escaping whatever separator we choose): > > /dev/md6 /export ext3 rw,data=ordered 0 0 > /dev/md6:/users/foo /home/foo ext3 rw,data=ordered 0 0 > /dev/md6:/users/bar /home/bar ext3 rw,data=ordered 0 0 Hell, no. The first field is in principle impossible to parse unless you know the fs type. How about making a new file with sane format? From the very beginning. E.g. mountpoint + ID + relative path + type + options, where ID uniquely identifies superblock (e.g. numeric st_dev) and backing device (if any) is sitting among the options... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Adding subroot information to /proc/mounts, or obtaining that through other means
- From: Pavel Machek <[email protected]>
- Re: Adding subroot information to /proc/mounts, or obtaining that through other means
- From: "H. Peter Anvin" <[email protected]>
- Re: Adding subroot information to /proc/mounts, or obtaining that through other means
- From: Chuck Lever <[email protected]>
- Re: Adding subroot information to /proc/mounts, or obtaining that through other means
- From: Karel Zak <[email protected]>
- Re: Adding subroot information to /proc/mounts, or obtaining that through other means
- From: "H. Peter Anvin" <[email protected]>
- Re: Adding subroot information to /proc/mounts, or obtaining that through other means
- References:
- Adding subroot information to /proc/mounts, or obtaining that through other means
- From: "H. Peter Anvin" <[email protected]>
- Adding subroot information to /proc/mounts, or obtaining that through other means
- Prev by Date: Re: [PATCH] bracing the loop in kernel/softirq.c
- Next by Date: Re: scripts/checkpatch.pl refers to non-existent Documentation/Documentation/volatile-considered-harmful.txt
- Previous by thread: Adding subroot information to /proc/mounts, or obtaining that through other means
- Next by thread: Re: Adding subroot information to /proc/mounts, or obtaining that through other means
- Index(es):