>>>>> On Sun, 11 Mar 2001 13:17:58 -0800 (PST)
>>>>> David Wolfskill <[EMAIL PROTECTED]> said:

david> Accordingly, I created the following shell script to accomplish a
david> similar objective, based upon the above-mentioned example in the
david> mdconfig man page.  At present, I have it sitting in
david> /usr/local/etc/rc.d, which isn't ideal, but I wanted to find out if
david> anyone had better approaches for doing this, suggestions for
david> improvement, or arguments that what I'm trying to do is misguided and
david> shouldn't be done:

I wrote following script obtained from manpage:

        mdconfig -a -t swap -s 128M -u 10
        disklabel -r -w md10 auto
        newfs /dev/md10c
        tunefs -n enable /dev/md10c
        mount /dev/md10c /tmp
        chmod 1777 /tmp

Then, I put diskless_mount="/etc/rc.mount_tmp" into /etc/rc.conf.

Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to