Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 15:28:02 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        freebsd-current@freebsd.org
Subject:   mdmfs broken?
Message-ID:  <20030305142802.GL4422@pcwin002.win.tue.nl>

next in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030305142802.GL4422>