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

Re (2): A home directory on removeable storage ...



From:	Darac Marjal <mailinglist@darac.org.uk>
Date:	Wed, 10 Apr 2013 16:32:18 +0100
> I'm not sure how you'd access the original /home/peter once you'd
> mounted the removable home on top of it, ...

The removeable shouldn't be mounted over the non-removeable. 
First unmount the non-removeable and mount it on /home/peter1, 
for example.  Then mount the removeable on /home/peter.

> Is pam_mount of any use to you? It's intended for mounting home
> directories on login.

The remount-followed-by-mount should be independent of login.  
Similarly, if the removeable storage is removed, then the 
non-removeable filesystem should be moved back to /home/peter, 
for example.  Anything for mounting specifically at login does not 
appear to be appropriate.  I imagine a script invoked by udev where 
insertion of storage triggers remount-followed-by-mount and 
removal triggers the remount.  

Thanks,                  ... Peter E.
 


-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12

Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  

"http://members.shaw.ca/peasthope/index.html#Itinerary "


Reply to: