>>>> This host has 192 MB of RAM and 512 MB of swap.
>>>>    /sbin/mdmfs -i 4096 -s $1    md $2                              (*)
>>> You don't have enough RAM in your system to do that.
>> I'm running mdmfs WITHOUT "-M" flag.

Ronald Klop wrote:
> Maybe I'm missing something, but tmpmfs works malloc-based by default:
> /etc/rc.d/initdiskless: mount_md() { /sbin/mdmfs -i 4096 -s $1 -M md $2 }

        I removed "-M" from the mount_md() function definition
        in /etc/rc.d/initdiskless file, please see [*].

        When I run "mdmfs -i 4096 -s 1m md /mnt" command, mdmfs runs
        "mdconfig -a -t swap -s 1m", but the /mnt is still malloc-backed:

FreeBSD i386 5.3-STABLE Nov 11 07:00:00 UTC 2004
panic: kmem_malloc(4096): kmem_map too small: 63737856 total allocated

Attachment: pgpz3zjrEDllP.pgp
Description: PGP signature

Reply via email to