Hiding 'bind' partitions

Tony Arnold tony.arnold at manchester.ac.uk
Sun Sep 3 17:34:25 UTC 2006


Craig,

> > > > > I have /home and /usr on a separate partition from /. I have /etc/fstab
> > > set
> > > > > up like this:
> > > > >
> > > > > /mnt/home  /home           none    bind            0       0
> > > > > /mnt/usr     /usr                none    bind
> > >  0       0
> > > > >
> > > > > This makes them 'appear' to be at /home and /usr respectively. My
> > > problem is
> > > > > that when I do a find or locate I end up getting duplicate results.

> Oh - I wrote the above from memory and made a typo. The two
> directories are on a single partition like this:  /mnt/hda3/home
> /mnt/hda3/usr  I guess I did things with the bind because I didn't
> know now to mount a directory (not a partition) on the root
> filesystem.

Can you post the full contents of you /etc/fstab file? It looks like you
have things set up in quite an unusual way.

Regards,
Tony.
-- 
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold




More information about the ubuntu-users mailing list