Re: Ramdisk support



Aditya Godbole wrote:
Is there any ramdisk support in freebsd, as there is in netbsd?

Sure. To mount a 200 MB swap-backed memory filesystem on
/tmp, add this lie to /etc/fstab:

md /tmp mfs rw,async,nosuid,-s200m,-m0 0 0

What are the alternatives if I want to mount a root filesytem from ram?

You mean a diskless setup? I think there's a detailed
description of diskless setups in the FreeBSD Handbook.
You might also want to look at the diskless(8) manpage.

Best regards
Oliver

PS: Such questions are more appropriate for the freebsd-
questions list. They're not really "hacker" questions.

--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"The scanf() function is a large and complex beast that often does
something almost but not quite entirely unlike what you desired."
-- Chris Torek
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"