/bin/mount will print out that /home is mounted but trying to match "/home/f00li5h" against "/dev/wd0k on /home type ext2fs (local)" will not match, unless every single user's homedir is a it's own mount point... has_mounted_home() won't work for user's who's homedirs are below mount points...
it all depends on which solution is more sensible for your unique set of mountpoints
In reply to Re^2: Check if home dir is mounted?
by f00li5h
in thread Check if home dir is mounted?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |