From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 18:20:19 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC33D16A418 for ; Mon, 5 Nov 2007 18:20:19 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc5-cmbg1-0-0-cust497.cmbg.cable.ntl.com [86.6.1.242]) by mx1.freebsd.org (Postfix) with ESMTP id 6F06A13C4A5 for ; Mon, 5 Nov 2007 18:20:19 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 3B358614E; Mon, 5 Nov 2007 18:20:09 +0000 (GMT) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by catflap.slightlystrange.org (Postfix) with ESMTP id 215E7610E for ; Mon, 5 Nov 2007 18:20:08 +0000 (GMT) Received: (from danielby@localhost) by torus.slightlystrange.org (8.13.8/8.13.4/Submit) id lA5IK6mp068910 for questions@freebsd.org; Mon, 5 Nov 2007 18:20:06 GMT (envelope-from freebsd-questions@slightlystrange.org) Date: Mon, 5 Nov 2007 18:20:05 +0000 From: Daniel Bye To: questions@freebsd.org Message-ID: <20071105182005.GA98408@torus.slightlystrange.org> Mail-Followup-To: questions@freebsd.org References: <472F4C16.5020406@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <472F4C16.5020406@cam.ac.uk> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A Cc: Subject: Re: fsck and memory filesytems (fsck_mfs: No such file or directory) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 18:20:19 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 05, 2007 at 05:00:06PM +0000, Christopher Key wrote: > The problem is, I'm sure, is essentially identical to that described in, >=20 > http://www.mail-archive.com/freebsd-current@freebsd.org/msg21675.html >=20 > namely that the entry for the memory filesystem, /tmp, in /etc/fstab is= =20 > confusing fsck. My /etc/fstab looks like, >=20 > # cat /etc/fstab > # Device Mountpoint FStype Options Dump = =20 > Pass# > /dev/ad8s1b none swap sw 0 0 > /dev/ad8s1a / ufs rw 1 1 > md /tmp mfs rw,-s64m = =20 > 2 2 > /dev/ad8s1f /usr ufs rw 2 2 > /dev/ad8s1e /var ufs rw 2 2 > /dev/ad8s1d /var/tmp ufs rw 3 3 > /dev/mirror/gm0s1d /svn ufs rw 2 2 > /dev/mirror/gm0s2d /data ufs rw 2 2 > /dev/mirror/gm0s3d /music ufs rw 2 2 >=20 > I can get the system to boot quite happily by carrying on into single=20 > user mode and exiting, but I still get the same behaviour next reboot. >=20 > Does anyone have any suggestions? mount_mfs(8), in the EXAMPLES section, says this: Create and mount a 32 megabyte swap-backed file system on /tmp: mdmfs -s 32m md /tmp The same file system created as an entry in /etc/fstab: md /tmp mfs rw,-s32m 2 0 Try setting the passno field (the last one) to 0, and see how that works. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHL17Vixf5fBYiFmoRApQ6AJ9gyYl3UDkD/vdNKbciwDAiPMoRQgCgjrkW nAydS8+T7qRPVjpMYYAEBL0= =ybLT -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk--