mount.shfs exits before establishing a filesystem
Status: Beta
Brought to you by:
qiq
I maintain a network of diskless workstations utilizing
shfs (mounting home dirs for users).
Login script launches user's session after mount.shfs,
something like this:
mount.shfs -p filip@shodan /home/filip -o
uid=filip,gid=filip
su - filip xsession
The problem is that mount.shfs returns before files in
/home/filip are accessible, resulting in a pretty big mess.
My solution for now is:
mount.shfs -p filip@shodan /home/filip -o
uid=filip,gid=filip
#run as root
while [ -O /home/filip ]; do sleep 1 ; done
su - filip xsession
Of course, this is ugly :).
What do you think about it?
Is it a bug or a feature :)?
bye,
Filip