"Wilkinson, Alex":
>     >> (generic)
>     >> $ mkdir /tmp/empty
>     >> # mount -o bind /tmp/empty /mnt/aufs/you/want/to/hide
> 
> This works great! However, it doesnt look like i can add this to fstab(5).
> How would one normally get this automagically mounted ? rc.local ?
> Is it possible to use AutoFS to automagically do a --bind mount ?

If you put the aufs entry in your fstab, try writing

/empty /mnt/aufs/you/want/to/hide none bind 0 0

after the aufs line.
Of course, you need to create /empty dir before you reboot.

But if your mount(8) behaves asynchronously, it may not work.


J. R. Okajima

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

Reply via email to