[plug] Funky NFS - Subdirectory exports

Adrian Chadd adrian at creative.net.au
Tue Jan 1 22:40:26 WST 2008


I dunno if that kind of union type mount creates a 'proper' new filehandle
space for NFS..

Why not just create another physical filesystem for /home/public ?



Adrian

On Tue, Jan 01, 2008, Timothy White wrote:
> > > So in essence, I can just do a mount over /home/public using bind? Or
> > > for example, move /home/public to /home/public.real and bind mount it
> > > to /home/public?
> >
> > .. bind ? <-- confused.
> 
> mount --bind directory mountpoint.
> e.g. mount --bind /media/largerdrive/tim/tmp /tmp
> This would mount the directory /media/largerdrive/tim/tmp over /tmp.
> So say I had a large drive for my use, and wanted to use a folder on
> it as my /tmp, then the above would do that. Basically, mounting a
> folder in a another location, instead of mounting a drive.
> 
> For NFS, I'm hoping doing this means my /home/public would be a
> mountpoint, so exporting that with all_squash will actually work with
> nohide.
> 
> Tim
> 
> -- 
> Timothy White - Unable to stay still for too long
> Linux Counter user #273956
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -



More information about the plug mailing list