summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions12
1 files changed, 6 insertions, 6 deletions
diff --git a/functions b/functions
index 5c5a015..be4919f 100644
--- a/functions
+++ b/functions
@@ -1074,12 +1074,12 @@ setup_devices () {
setup_devices_simple () {
# The list of devices that can be created in a container comes from
# src/core/cgroup.c in the systemd source tree.
- mknod --mode=666 $TARGET/dev/null c 1 3
- mknod --mode=666 $TARGET/dev/zero c 1 5
- mknod --mode=666 $TARGET/dev/full c 1 7
- mknod --mode=666 $TARGET/dev/random c 1 8
- mknod --mode=666 $TARGET/dev/urandom c 1 9
- mknod --mode=666 $TARGET/dev/tty c 5 0
+ mknod -m 666 $TARGET/dev/null c 1 3
+ mknod -m 666 $TARGET/dev/zero c 1 5
+ mknod -m 666 $TARGET/dev/full c 1 7
+ mknod -m 666 $TARGET/dev/random c 1 8
+ mknod -m 666 $TARGET/dev/urandom c 1 9
+ mknod -m 666 $TARGET/dev/tty c 5 0
mkdir $TARGET/dev/pts/ $TARGET/dev/shm/
ln -s pts/ptmx $TARGET/dev/ptmx
ln -s /proc/self/fd $TARGET/dev/fd