Messages in this thread | | | Subject | Re: About /etc/mtab and /proc/mounts | From | Miles Bader <> | Date | 27 Feb 2003 13:14:06 +0900 |
| |
Kasper Dupont <kasperd@daimi.au.dk> writes: > I don't think you can put all the information from /etc/mtab > into /proc/mounts without breaking compatibility.
Why? Since the option syntax is regular, presumably programs simply ignore options they don't understand. No?
> My suggestion would be to change it from /etc/mtab to /mtab.d/mtab.
Please, no. don't pollute the root (_especially_ with little one-use directories like that).
/var is clearly the right place for this; if /var isn't mounted initially, I'd suggest that mount should simply not update any file at that point, and the init-script that mounts /var can be responsible from propagating information from /proc/mounts to /var/whatever.
-Miles -- "I distrust a research person who is always obviously busy on a task." --Robert Frosch, VP, GM Research - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |