summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-05-07 22:02:37 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-05-07 22:02:37 +0400
commitf4319e7880127c4cd682e3fbfa4689a22c6d843a (patch)
tree124ef5d2ea67781a659003c3cb351699c102b5b7
parent34001fbf97d94a7cc292d6f7994023e8459e1b24 (diff)
downloadlive-f4319e7880127c4cd682e3fbfa4689a22c6d843a.tar.gz
Make sure devices have correct permissions
-rwxr-xr-xfs-root4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs-root b/fs-root
index a7b8eb4..925c8e7 100755
--- a/fs-root
+++ b/fs-root
@@ -15,7 +15,6 @@ mount -o remount /
# The sd nodes are not created till you try to access them.
echo "Probing for device nodes ..."
ls -lR /devices/* >/dev/null
-devfsadm -C -c disk
echo "Mounting /usr image ..."
# Now, search removable media for $USR
@@ -57,5 +56,8 @@ mount -F hsfs -o ro /dev/lofi/1 /usr2
rm -f /usr
ln -sf /usr2 /usr
+devfsadm -C
+devfsadm -I -P
+
exit 0