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

Re: trying to umount a chroot /dev



On Tue, Aug 21, 2012 at 10:21 PM, Bob Proulx <bob@proulx.com> wrote:
> Ross Boylan wrote:
>>
>> I setup a chroot on a snapshot.  Part of the setup was
>> mount --rbind /dev /mnt/chrtest/dev
>
> Why did you choose "rbind" over "bind".  Just curious.

The advantage of using "rbind" is that you don't have to mount
"/dev/pts" and "/dev/shm" (or just "/dev/pts" on wheezy since
"/dev/shm" has been moved to "/run/shm") after mounting "/dev".


Reply to: