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 instructions right:

FreeBSD pcwin352.win.tue.nl 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Mar  4 17:32:19 
CET 2003     [EMAIL 
PROTECTED]:/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

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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to