Skip to content
  1. Nov 15, 2012
  2. Nov 12, 2012
  3. Nov 11, 2012
  4. Nov 03, 2012
  5. Oct 27, 2012
  6. Oct 13, 2012
  7. Oct 04, 2012
  8. Oct 03, 2012
  9. Sep 14, 2012
  10. Jul 20, 2012
  11. Jun 24, 2012
  12. Jun 16, 2012
  13. Jun 15, 2012
  14. Jun 12, 2012
  15. Jun 11, 2012
  16. Jun 10, 2012
    • Gerardo Exequiel Pozzi's avatar
      mkarchroot: use bind mount instead of symlink for /dev/ptmx · 231496c8
      Gerardo Exequiel Pozzi authored
      
      
      We need /dev/ptmx -> /dev/pts/ptmx (for devpts -o newinstance)
      Other way to do this thing is via bind mount (as said kernel doc[devpts.txt]).
      
      This should be done in this way at least for /dev as devtmpfs in the chroot.
      Since we can not touch /dev (devtmpfs), because devtmpfs is "singleton",
      just use bind method and avoid interference.
      
      Do it the same for both modes of /dev (tmpfs) and (devtmpfs) to keep it simple.
      
      Currently devpts in chroot is not working without this when using /dev as devtmpfs,
      this fixes this issue (opening /dev/ptmx, creates devices nodes on outside /dev/pts)
      
      Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
      Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
      231496c8