Creating swap based ramdisks from rc.initdiskless by default

Attila Nagy bra at
Thu Jan 22 07:22:08 PST 2009

Igor Mozolevsky wrote:
> 2009/1/22 Attila Nagy <bra at>:
> [snip]
>> So the question is: what is the rationale behind creating malloc backed
>> disks by default, instead of swap-backed ones?
> Yes --- booting from DoC/CDROM/PXE with no HDD on the node...
Did you read my e-mail?

px# geom disk list
px# swapinfo
Device          1K-blocks     Used    Avail Capacity
px# /sbin/mdmfs -S -i 4096 -s 32m md /tmp/a
px# mdconfig -lv
md0    malloc      9.8M
md1    malloc       34M
md2    swap       20M
md3    swap       32M

More information about the freebsd-current mailing list