if [ "$nohome" = 0 ]
then
- fshome="/dev/$home /home $FSTYPE rw 0 2"
+ fshome="/dev/$home /home $FSTYPE rw 0 2"
else fshome=""
fi
# CD remnants that aren't for the installed system
rm /mnt/etc/issue /mnt/CD /mnt/.* 2>/dev/null
-echo >/mnt/etc/fstab "/dev/$root / mfs rw 0 1
-/dev/$usr /usr $FSTYPE rw 0 2
-$fshome"
+echo >/mnt/etc/fstab "/dev/$root / mfs rw 0 1
+/dev/$usr /usr $FSTYPE rw 0 2
+$fshome
+none /sys devman rw,rslabel=devman 0 0"
# National keyboard map.
test -n "$keymap" && cp -p "/usr/lib/keymaps/$keymap.map" /mnt/etc/keymap
+20120703:
+ The device manager(devman) is now started automatically during the
+ mount -a operation. As fstab is generated during installation it is
+ required to manually insert the following entry in fstab. Failing to
+ do so will result in the devmand daemon to be able to open the events
+ file in /sys.
+
+ none /sys devman rw,rslabel=devman 0 0
+
20120608:
New install and mk files require the following steps:
esac
echo -n "Starting hotplugging infrastructure... "
- service up /sbin/devman
- mount -e -t devman none /sys
- rm -f /var/tmp/devmand_control
rm -f /var/run/devmand.pid
devmand -d /etc/devmand -d /usr/pkg/etc/devmand &
echo "done."
then
/usr/pkg/etc/rc.d/usbd stop
fi
- umount -e /sys
- service down devman
# Tell RS server we're going down.
service shutdown
;;