I was using a chroot, and I bind-mounted the chroot's /dev and /proc
and /sys on top of the host machine's directories.  Bad idea... I now
have a 10 megabyte /dev/shm on the host.  Is it possible to resize
/dev/shm to approx 1 gigabyte without rebooting?

  And how do I set up a working /dev and /proc and /sys on the chroot
separately to avoid this in future?  I need /proc/cpuinfo because I have
a build script in the chroot that checks the number of cores, and sets
makeopts accordingly.  Also I need /dev/null.

-- 
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications

Reply via email to