in reply to Re: Check if home dir is mounted?
in thread Check if home dir is mounted?
/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
|
|---|