From owner-freebsd-questions Sat Jan 19 8:15:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from uce55.uchaswv.edu (uce55.uchaswv.edu [12.4.161.9]) by hub.freebsd.org (Postfix) with ESMTP id 9E64937B41A for ; Sat, 19 Jan 2002 08:15:30 -0800 (PST) Received: from there ([172.16.32.103]) by uce55.uchaswv.edu (8.9.3 (PHNE_22672)/8.9.3) with SMTP id LAA04165 for ; Sat, 19 Jan 2002 11:18:19 -0500 (EST) Message-Id: <200201191618.LAA04165@uce55.uchaswv.edu> Content-Type: text/plain; charset="iso-8859-1" From: Nathan Mace To: freebsd-questions@freebsd.org Subject: Re: mfs filesystems Date: Sat, 19 Jan 2002 11:15:30 -0500 X-Mailer: KMail [version 1.3.2] References: <20020119143704.W218-100000@BLAST> In-Reply-To: <20020119143704.W218-100000@BLAST> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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