Re: About /etc/mtab and /proc/mounts

DervishD (
Sun, 2 Mar 2003 13:53:15 +0100

Hi Miles :)

Miles Bader dixit:
> /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.

In an embedded system I built a time ago, /etc/mtab was first a
symlink to /proc/mounts, but after a while I made it a symlink to
/var/run/mtab. It worked OK, AFAIK.

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