I'm cc-ing the BTS to get the code idea included.
[Oliver Grawert]
> thats a bit drastic, isnt it ? i know a lot setups where people use
> the local disk in old PCs as data storage.
Wow. So a lot of users do not want to have their files available
independent of which thin client they log into? Never seen that setup
myself, so I am surprised it exist.
> look at this snippet from scripts/add_fstab_entry:
>
> # mount in the client session
> if [ -S /var/run/ldm_socket ]; then
> /usr/bin/ssh -S /var/run/ldm_socket server \
> "/usr/sbin/ltspfsmounter ${MOUNTPOINT} add"
> else
> echo "${MOUNTPOINT} ${1} ${2}" >> /var/run/.delayed-mount
> if [ ! -z "${FIXEDDEVICE}" ]; then
> echo "${MOUNTPOINT} ${1} ${2}" >> /var/run/.static-device
> else
> echo "${MOUNTPOINT} ${1} ${2}" >> /var/run/.delayed-mount
> fi
> fi
>
> just drop the "else" part or wrap it into a boolean variable like
> STATIC_DEVICES. if that part is missing, only devices plugged in during
> the session are recognized. CDs are handled by cdpinger, if you dont
> change the udev rules it will not break ;)
I guess FIXEDDEVICE might be a better name for it. For example
LTSPFS_FIXEDDEVICE could be a name for it.
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]