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
# only remove the directory
rmdir ${_tmpdir}
else
# create a writable /tmp partition via mfs
/etc/rc.d/tmp start
# fake a writeable environment in some subdirs
for i in conf etc home root usr var; do
/bin/mkdir -p /tmp/.install.media/${i}
/sbin/mount_unionfs /tmp/.install.media/${i} /${i}
mkdir -p /tmp/.cdrom/${i}
mount_unionfs /tmp/.cdrom/${i} /${i}
done
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