slitaz-dev-tools rev 32 1.0.4
tazchroot: fix config file to not screw /dev/pts permissions
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Mar 10 18:23:38 2011 +0100 (2011-03-10) |
parents | 5de4cfa5296c |
children | 557cb5fab3c5 |
files | tazchroot/tazchroot.conf |
line diff
1.1 --- a/tazchroot/tazchroot.conf Sun Mar 06 16:43:54 2011 +0000 1.2 +++ b/tazchroot/tazchroot.conf Thu Mar 10 18:23:38 2011 +0100 1.3 @@ -96,10 +96,10 @@ 1.4 fi 1.5 1.6 # Mount system directories. 1.7 - mount -t proc proc $chroot_dir/proc 1.8 - mount -t sysfs sysfs $chroot_dir/sys 1.9 - mount -t devpts devpts $chroot_dir/dev/pts 1.10 - mount -t tmpfs shm $chroot_dir/dev/shm 1.11 + mount -o bind /proc $chroot_dir/proc 1.12 + mount -o bind /sys $chroot_dir/sys 1.13 + mount -o bind /dev/pts $chroot_dir/dev/pts 1.14 + mount -o bind /dev/shm $chroot_dir/dev/shm 1.15 1.16 # Mount directories of LIST_DIR. 1.17 # Create them if needed to avoid errors.