From 10a18bbb3cafd8152a8da3fb93516943f86db07c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Sep 2012 11:21:59 +0000 Subject: mount /dev/{pts,shm} earlier, in stage1 rather than in stage2 (based on pok's idead @mdv but fixed) --- rescue/tree/etc/fstab | 2 -- rescue/tree/etc/rc.sysinit | 4 ---- 2 files changed, 6 deletions(-) (limited to 'rescue') diff --git a/rescue/tree/etc/fstab b/rescue/tree/etc/fstab index 9280d8ee0..fbafb7801 100644 --- a/rescue/tree/etc/fstab +++ b/rescue/tree/etc/fstab @@ -1,6 +1,4 @@ /dev/ram3 / ext2 defaults 1 1 /dev/fd0 /mnt/floppy auto defaults,noauto 0 0 none /proc proc defaults,noauto,ro 0 0 -devpts /dev/pts devpts gid=5,mode=620,noauto 0 0 -tmpfs /dev/shm tmpfs defaults,noauto 0 0 /dev/cdrom /mnt/cdrom auto defaults,noauto 0 0 diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit index 0bf2c8b58..91c291723 100755 --- a/rescue/tree/etc/rc.sysinit +++ b/rescue/tree/etc/rc.sysinit @@ -15,10 +15,6 @@ mkdir /run mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /run mkdir -p /run/udev/rules.d export UDEVRULESD=/run/udev/rules.d -mkdir /dev/pts -mkdir /dev/shm -mount /dev/pts -mount /dev/shm /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never udevadm trigger --type=subsystems --action=add -- cgit v1.2.1