From owner-freebsd-current Thu Mar 6 2:15:31 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3BE537B401 for ; Thu, 6 Mar 2003 02:15:29 -0800 (PST) Received: from visp.engelschall.com (en4.engelschall.com [195.27.176.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 778D043FA3 for ; Thu, 6 Mar 2003 02:15:29 -0800 (PST) (envelope-from rse@visp.engelschall.com) Received: by visp.engelschall.com (Postfix, from userid 1000) id A0F774CE530; Thu, 6 Mar 2003 11:15:29 +0100 (CET) Date: Thu, 6 Mar 2003 11:15:29 +0100 From: "Ralf S. Engelschall" To: freebsd-current@freebsd.org Subject: Re: mdmfs broken? Message-ID: <20030306101529.GA96078@engelschall.com> Reply-To: rse@engelschall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: Engelschall, Germany. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20030306084707.GC13870@pcwin002.win.tue.nl> you wrote: >> > What's the correct syntax in 5-CURRENT to have a memory disk for /tmp >> > in your /etc/fstab? >> > [...] >> >> Create a symlink: >> >> lrwxr-xr-x 1 root wheel 5 Feb 13 13:28 /sbin/mount_mfs -> mdmfs >> >> and use in /etc/fstab something like: >> >> md0 /tmp mfs rw,-s128m,noatime,nosuid,nodev 0 0 > > Thanks! Any reason why there is no {sym,hard}link by default? The > manpage even mentions the compat-behaviour: > > COMPATIBILITY > Full compatibility is enabled with the -C flag, or by starting mdmfs with > the name mount_mfs or mfs (as returned by getprogname(3)). Perhaps because it's considered just a "compatibility" and not a "standard" feature. I personally would like to see this symlink myself, because without it is nearly impossible to conviniently create a memory based /tmp on FreeBSD 5 anyway. Because doing all the individual steps with mdconfig, newfs, etc. in something like /etc/rc.local is also not a convinient solution. So, yes, I would vote for creating this symlink by default. Ralf S. Engelschall rse@engelschall.com www.engelschall.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message