Commit 636df2cf authored by Franco Fichtner's avatar Franco Fichtner

rc: tmpfs is now embedded into install media's fstab

parent 15eb3c56
...@@ -34,13 +34,10 @@ if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then ...@@ -34,13 +34,10 @@ if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
# only remove the directory # only remove the directory
rmdir ${_tmpdir} rmdir ${_tmpdir}
else else
# create a writable /tmp partition via mfs
/etc/rc.d/tmp start
# fake a writeable environment in some subdirs # fake a writeable environment in some subdirs
for i in conf etc home root usr var; do for i in conf etc home root usr var; do
/bin/mkdir -p /tmp/.install.media/${i} mkdir -p /tmp/.cdrom/${i}
/sbin/mount_unionfs /tmp/.install.media/${i} /${i} mount_unionfs /tmp/.cdrom/${i} /${i}
done done
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment