1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Use tmpfs(5) instead of md(4) for '/tmp' mount.

Submitted by:		Nikolai Lifanov
Differential Revision:	D3506
MFC after:		3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-11-08 18:02:39 +00:00
parent 881e47bbb2
commit 6a833a7a2c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290550

View File

@ -110,7 +110,7 @@ arm_install_base() {
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab >> ${CHROOTDIR}/${DESTDIR}/etc/fstab
echo "/dev/msdosfs/MSDOSBOOT /boot/msdos msdosfs rw,noatime 0 0" \ echo "/dev/msdosfs/MSDOSBOOT /boot/msdos msdosfs rw,noatime 0 0" \
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab >> ${CHROOTDIR}/${DESTDIR}/etc/fstab
echo "md /tmp mfs rw,noatime,-s30m 0 0" \ echo "tmpfs /tmp tmpfs rw,noatime,mode=1777,size=30m 0 0" \
>> ${CHROOTDIR}/${DESTDIR}/etc/fstab >> ${CHROOTDIR}/${DESTDIR}/etc/fstab
local hostname local hostname