[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /run vs. /lib/run



On Thu, Dec 22, 2005 at 01:37:11AM +0000, Miquel van Smoorenburg wrote:
> This works at least on 2.6. [...]
> This means that /var/run is always writable.

That's really quite nice. I wonder if requiring 2.6 is even much of a
problem -- 2.6.0 came out two years ago already and will be three by
the time etch is released, after all; and I assume the Hurd can deal
with this sort of issue trivially.

If "tmpfs swaps out" isn't enough to deal with screen and similar apps's
use of /var/run, it might be worth just moving them to /var/lib anyway.

Legacy 2.4 support could probably be arranged by using mount --bind
I guess, a la:

	mount -t tmpfs tmpfs /etc/var-run
	mount --bind /etc/var-run /var/run

	...
	mount --no-nfs -a
	if ...; then mount --bind /etc/var-run /var/run; fi

	...
	mount -a
	if ...; then mount --bind /etc/var-run /var/run; fi

Cheers,
aj

Attachment: signature.asc
Description: Digital signature


Reply to: