md /tmp mfs rw,-s64m 0 0 in fstab instead of tmpmfs="YES" in rc.conf: no panic

ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659 at gambit.com.ru ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659 at gambit.com.ru
Wed Nov 10 00:41:35 PST 2004


>>>>This host has 192 MB of RAM and 512 MB of swap.
>>>>	/sbin/mdmfs -i 4096 -s $1    md $2

>> Kris Kennaway wrote:
>>> You don't have enough RAM in your system to do that.
>> I'm running mdmfs WITHOUT "-M" flag.

Ronald Klop wrote:
> Just set up your tmp from fstab with "md /tmp mfs rw,-s64m 0 0".

	Swap space is actually used in this case, thank you!

> If you look at the code which handles tmpmfs it is used for diskless booting.

	"By default, mdmfs creates a swap-based (MD_SWAP) disk" -- from mdmfs(8).

> So there is no swap usable for ramdisk.

	Should I send-pr a bug in mdmfs(8)?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041110/e6e51b91/attachment.bin


More information about the freebsd-stable mailing list