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

Re: For those who have no sound in their 32bit chroot



Hi
 
Þann Föstudagur 26. janúar 2007 17:38 skrifaði Stephen Olander Waters:
> On Fri, 2007-01-26 at 18:08 +1100, Hamish Moffatt wrote:
> > > Do you mind posting your /etc/fstab? I want to see if I'm mounting
> > > my /x86/dev similarly.
> >
> > # mounts for the i386 chroot
> > /home		/var/chroot/i386/home	none	bind	0	0
> > /tmp		/var/chroot/i386/tmp	none	bind	0	0
> > proc		/var/chroot/i386/proc	proc	defaults	0	0
> > /dev		/var/chroot/i386/dev	none	bind	0	0
> >
> > Nothing special.
>
> I am using rbind. I wonder if there is a difference between mounting
> rbind and bind. I will report back about this.
>
> What kernel are you using, Hamish?
>
If I add more to this long discussion. A year ago I needed to set Matlab up in 
a sarge chroot (because of its libc dependencies). I had some very tricky 
error message that I spend many hours on until Lennart pointed out to me that 
it was because of the chroot dev being mounted with bind instead of rbind.
   My guess is that bind is good enough as long as you don't need device nodes 
that are in subdirectories. But is there any reason for not using rbind?

/Gudjon



Reply to: