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

Re: r38572 - in trunk/src/debian-edu-config: debian sbin



On Thu, Oct 25, 2007 at 11:59:24PM +0200, Petter Reinholdtsen wrote:
> This fix will increase the memory consumption considerably, as
> everything in /etc/ will have to be duplicated on the ram disk.  In my
> laptop that is 26 MiB.  It will also duplicate some files in /etc/
> that are already made writable by ltsp, and thus conflict with the
> LTSP setup.

Have not checked the size, but diskless workstations do have more memory
than thin clients normally.

> Is there no other way?

We need to replace the symlink from /etc/mtab to /proc/mounts with
something containing the data of /proc/mounts initially and then is
writeable. Bindmounts on top of symlinks don't seem to work.

Maybe be could bindmount subdirds to the directory we bindmount later on
top of /etc, than we don't need to copy the whole thing.

> If there isn't, it is probably better to use the normal LTSP features
> to list /etc/ in $rw_dirs in /opt/ltsp/i386/etc/default/ltsp-client-setup.

This would enable it by default, even on normal thinclients, that
normally could coexist to diskless workstations.

Greetings

Daniel



Reply to: