[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] Conditional Mounts - Possible ?



Jon Biddell wrote:

> On Xena, the workstation, I have a directory "/slave".  When I'm logged in, I
> manually map this to slave:/home/jon.
> 
> I need to be able to do three things;
> 
> 1. Map this directory dependant on the logged-in user (i.e. if Jill is logged
> in, it's slave:/home/jill).
> 
> 2. In the event that slave is either down or non-contactable, I need it to
> not  to return an error - or an error that the user cannot see)

Yes.

Read man automount and go from there.

> 3. I need this to be automagic for any/all created users.

Somewhat harder.  You will need to automagically add entries to
the automount map file.

-- 
Del

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug