Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 11:15:30 -0500
From:      Nathan Mace <nmace85@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: mfs filesystems
Message-ID:  <200201191618.LAA04165@uce55.uchaswv.edu>
In-Reply-To: <20020119143704.W218-100000@BLAST>
References:  <20020119143704.W218-100000@BLAST>

next in thread | previous in thread | raw e-mail | index | archive | help
ok, that helped a little, but is there a way to mount a mfs partition on a 
system with no hard drive?  i'm making a freebsd OS that boots from a cdrom, 
and needs to mount /var and /tmp as mfs so that they can be writeable.  any 
ideas how to do this without a hard drive, which would also mean doing it 
without a swap partition

nathan


On Saturday 19 January 2002 07:46 am, you wrote:
> 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?200201191618.LAA04165>