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

Re: trying to umount a chroot /dev



On Wed, 22 Aug 2012 09:54:09 +0100, Roger Leigh wrote:

>> > 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".
> 
> This approach is really nice, and schroot used to do this.  There's just
> one niggle:
> 
> If you use systemd, it will kill your system because autofs mounts under
> /dev created by systemd can't be bind mounted; well, they can, they are
> just broken and umountable, and all the processes in your system will
> slowly enter D state!

Interesting. What is systemd? (apt-cache search systemd shows me nothing) 

How can I tell if I'm using systemd or not?

I ask because till now, I always use rbind for /dev under chroot, because 
of the above advantage. 

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: