On Sun, 17 Jun 2007, Roger Leigh wrote:
> > Another solution (that looks cleaner) is to use "mount --bind" rather
> > than "mount --rbind". That way, you don't keep the sub-mounts.
> [...]
> > Currently you're using --rbind for "directory". You should probably
> > use --rbind for plain and --bind for directory.
> 
> Agreed.  This does look much cleaner, and also fits in with the
> difference between the two options.
> 
> Does the attached patch for the 10mount script fix things for you?

Yes, I just tried it.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to