Skip to content

Commit

Permalink
rc: migrate to tmpfs; fixes #243
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jul 8, 2015
1 parent 4b9a265 commit ed2bea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/rc
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ if [ ${USE_MFS_TMPVAR} -ne 0 ]; then
ln -s /root/var/db/pkg /var/db/pkg
fi

mdmfs -S -M -s 40m md /tmp
mdmfs -S -M -s 60m md /var
mount -t tmpfs -o mode=01777 tmpfs /tmp
mount -t tmpfs tmpfs /var

mkdir -p /var/db
ln -s /root/var/db/pkg /var/db/pkg
Expand Down

0 comments on commit ed2bea1

Please sign in to comment.