From owner-freebsd-current Wed Mar 5 6:28:11 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 4A82F37B434 for ; Wed, 5 Mar 2003 06:28:07 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B4743FCB for ; Wed, 5 Mar 2003 06:28:05 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.8/8.12.8) with ESMTP id h25ES2xN007281 for ; Wed, 5 Mar 2003 15:28:02 +0100 (CET) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.8/8.12.8/Submit) id h25ES2GG007280 for freebsd-current@freebsd.org; Wed, 5 Mar 2003 15:28:02 +0100 (CET) Date: Wed, 5 Mar 2003 15:28:02 +0100 From: Stijn Hoop To: freebsd-current@freebsd.org Subject: mdmfs broken? Message-ID: <20030305142802.GL4422@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCKy2vjPBX+S/5dE" Content-Disposition: inline User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! 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 --FCKy2vjPBX+S/5dE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, What's the correct syntax in 5-CURRENT to have a memory disk for /tmp in your /etc/fstab? It seems that mdmfs is broken somehow, or else I'm not reading the instruct= ions right: FreeBSD pcwin352.win.tue.nl 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Mar 4 = 17:32:19 CET 2003 stijn@pcwin352.win.tue.nl:/local/freebsd/CURRENT/obj/= local/freebsd/CURRENT/src/sys/PCWIN352 i386 Script started on Wed Mar 5 15:22:20 2003 pcwin352# mdmfs md /tmp mdmfs: mdconfig (attach) exited with error code 1 pcwin352# mdmfs md0 /tmp mdmfs: mdconfig (attach) exited with error code 1 pcwin352# mdconfig -a -t swap -s 256M md0 pcwin352# newfs -U md0 /dev/md0: 256.0MB (524288 sectors) block size 16384, fragment size 4096 using 4 cylinder groups of 64.02MB, 4097 blks, 4224 inodes. with soft updates super-block backups (for fsck -b #) at: 32, 131136, 262240, 393344 pcwin352# mount /dev/md0 /tmp pcwin352# chmod 1777 /tmp pcwin352# exit Script done on Wed Mar 5 15:23:03 2003 So by hand it works. Suggestions? --Stijn --=20 "From the moment I picked your book up until I laid it down I was convulsed with laughter. Some day I intend reading it." -- Groucho Marx --FCKy2vjPBX+S/5dE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ZglyY3r/tLQmfWcRAmq7AJ9LAOtyvmP0bYDxSc1XmRsxnCEwlQCcDanQ 47y3Cki6CdIibkngt4dcBTQ= =v8L4 -----END PGP SIGNATURE----- --FCKy2vjPBX+S/5dE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message