Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 14:46:34 +0200 (EET)
From:      Bernie <Bernie_X@myrealbox.com>
To:        Nathan Mace <nmace85@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mfs filesystems
Message-ID:  <20020119143704.W218-100000@BLAST>
In-Reply-To: <200201190537.AAA25756@uce55.uchaswv.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 19 Jan 2002, Nathan Mace wrote:

> every example i can find conserning mfs filesystems, mounts the mfs
> "partition" from the swap partition.  is there a way to mount it from a
> section of RAM instead of a section of swap?
>
> please send me a copy of any replies, i am not a member of this mailing list.
>  thanks
>
> nathan
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>

the mfs is used to see a section of ram as a filesystem. the advice i got
from more experience people is that 'if u got a lot of ram, put the /tmp
as mfs'.

which is what i did...

i'm sending you the output of the /etc/fstab of my sys:

# Device                Mountpoint      FStype  Options         Dump
Pass#
/dev/ad0s1b             none            swap    sw              0       0
/dev/ad0s1a             /               ufs     rw              1       1
/dev/ad0s1g             /home           ufs     rw              2       2
/dev/ad0s1e             /usr            ufs     rw              2       2
/dev/ad0s1f             /var            ufs     rw              2       2
/dev/acd0c              /cdrom          cd9660  ro,noauto       0       0
/dev/ad0s1a             /tmp            mfs     rw              0       0
proc                    /proc           procfs  rw              0       0


see, /tmp is mount as mfs. also note that the mountpoint is effectively
'/' (root). both the '/' ( second line) and the '/tmp' mount on the
ad0s1a.

the output of df command is:
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     63503    51220     7203    88%    /
/dev/ad0s1g  13174185  1836360 10283891    15%    /home
/dev/ad0s1e   2977230  1881320   798187    70%    /usr
/dev/ad0s1f    347295    16125   303387     5%    /var
mfs:22          63471        3    58391     0%    /tmp
procfs              4        4        0   100%    /proc

showing 64M ram mounted on /tmp as mfs...

hope this helps...

Regards

--Bernie




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?20020119143704.W218-100000>