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

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



[Daniel Hess]
> Proposed fix for bug #1234.
> Add functionality to add an extra init-script to ltsp-make-client to
> make /etc/mtab writeable and create /media entries on diskless workstation
> during boot up.
[...]
> +case "$1" in
> +  start)
> +    # make /etc writeable
> +    cd $tmpfs_dir
> +    tar -cpf - /etc 2> /dev/null | tar xpf -
> +    mount --bind $tmpfs_dir/etc /etc

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.

Is there no other way?

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.

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: