We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a275f17 commit f51d16dCopy full SHA for f51d16d
1 file changed
utils/mass-chroot
@@ -25,6 +25,7 @@ echo "Entering chroot environment in $chrootdir..."
25
26
mount --bind /dev "$chrootdir"/dev
27
mount --bind /dev/pts "$chrootdir"/dev/pts
28
+mount -t tmpfs devshm "$chrootdir"/dev/shm
29
mount -t proc proc "$chrootdir"/proc
30
mount -t sysfs sysfs "$chrootdir"/sys
31
mount -t tmpfs tmpfs "$chrootdir"/run
@@ -40,6 +41,7 @@ echo "Exiting chroot environment..."
40
41
42
sync
43
umount -R "$chrootdir"/dev/pts
44
+umount -R "$chrootdir"/dev/shm
45
umount -R "$chrootdir"/dev
46
umount -R "$chrootdir"/proc
47
umount -R "$chrootdir"/sys
0 commit comments