Can i use tmpfs to mount /tmp ?

zaxis z_axis at 163.com
Sun Sep 5 06:09:50 UTC 2010


>cat /etc/fstab 
# Device		Mountpoint	FStype	Options		Dump	Pass#
/dev/ad4s3b		none		swap	sw		0	0
/dev/ad4s3a		/		ufs	rw,noatime		1	1
/dev/ad4s3e		/tmp		ufs	rw		2	2
/dev/ad4s3f		/usr		ufs	rw		2	2
/dev/ad4s3d		/var		ufs	rw		2	2
/dev/acd0		/cdrom		cd9660	ro,noauto	0	0
/dev/ad4s7		/media/F	msdosfs	rw		0	0
/dev/ad4s8		/media/G	ext2fs	rw		0	0

The /dev/ad4s3e is used for /tmp. Now i want to use tmpfs instead of ufs as
below
none /tmp tmpfs size=64M,nodev,nosuid,noexec 0 0

If i can, then how to reuse the space of /dev/ad4s3e ?

Sincerely!

-----
e^(π⋅i) + 1 = 0
-- 
View this message in context: http://old.nabble.com/Can-i-use-tmpfs-to-mount--tmp---tp29625711p29625711.html
Sent from the freebsd-questions mailing list archive at Nabble.com.



More information about the freebsd-questions mailing list