Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have written a perl script that reads in a list of workstation names and checks the system load of each. After probing each system (Linux workstations), it auto-derives the one with the lightest load and completes by automatically logging the user into that system.
It works great 90% of the time, but sometimes a user gets automatically logged into a system that doesn't have his or her home directory mounted. How can I perform a simple check to make sure a user's home directory is mounted to a specific system?
Assume the worst: I only know the user's login name and the workstation to probe (i.e. I don't even know which NFS volume possesses the user's home...)
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Check if home dir is mounted?
by f00li5h (Chaplain) on Apr 11, 2007 at 03:46 UTC | |
|
Re: Check if home dir is mounted?
by thezip (Vicar) on Apr 11, 2007 at 00:18 UTC | |
|
Re: Check if home dir is mounted?
by dana (Monk) on Apr 11, 2007 at 02:12 UTC | |
|
Re: Check if home dir is mounted?
by shmem (Chancellor) on Apr 11, 2007 at 10:11 UTC | |
by Anonymous Monk on Apr 11, 2007 at 14:16 UTC | |
|
Re: Check if home dir is mounted?
by klekker (Pilgrim) on Apr 11, 2007 at 13:31 UTC | |
by f00li5h (Chaplain) on Apr 12, 2007 at 05:50 UTC |