Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 1998 10:30:16 -0500
From:      "Norman C. Rice" <nrice@emu.sourcee.com>
To:        John Saunders <john.saunders@scitec.com.au>, Donny Lee <donnylee@usa.net>, David Wolfskill <dhw@whistle.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: What does it mean MFS ?
Message-ID:  <19981216103016.A2374@emu.sourcee.com>
In-Reply-To: <001801be28ca$43a69cd0$6cb611cb@saruman.scitec.com.au>; from John Saunders on Wed, Dec 16, 1998 at 07:01:19PM %2B1100
References:  <36772842.FDA3FD4E@usa.net> <001801be28ca$43a69cd0$6cb611cb@saruman.scitec.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 16, 1998 at 07:01:19PM +1100, John Saunders wrote:
> >    Can one specify the size, say 4mb, to a MFS to mount?
> > 
> >    I've enabled the MFS options in my 3.0 kernel, but find no 
> >    way to mount.     
> 
> Add this to /etc/fstab (/dev/wd0s1b has to be the swap partition).
> 
> /dev/wd0s1b /tmp mfs rw 0 0
> 
> If you want to change how big it is (the default size is as
> big as all of your swap space).
> 
> /dev/wd0s1b /tmp mfs rw,-s=16384 0 0
> 
> The -s option gives the size in 512 byte sectors, so my example
> creates a 4MB memory filesystem.

I believe that `-s=16384' will create a 8MB memory file system.

 16,384 * 512 bytes = 8,192KB = 8MB

-- 
Regards,
Norman C. Rice, Jr.

> 
> Cheers.
> --   .   +-------------------------------------------------------+
>  ,--_|\  | John Saunders    mailto:John.Saunders@scitec.com.au   |
> /  Oz  \ | SCITEC LIMITED   Phone +61294289563  Fax +61294289933 |
> \_,--\_/ | "By the time you make ends meet, they move the ends." |
>       v  +-------------------------------------------------------+

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981216103016.A2374>