"Wil Hatfield" <[EMAIL PROTECTED]> writes:

> > Thanks for the great kick in the right direction. Is it really
> > this easy? I
> > guess so cause it is working. I dropped in a helloworld script, chmoded it
> > and even as root I couldn't run it. Supreme!
> >
> > mdmfs -M -o noexec,nosuid -s 100m md0 /tmp
> > chmod 1777 /tmp
> >
> 
> Ahhh crud! I guess it isn't that easy. After a reboot the old /tmp comes
> back with executable permissions. What do I have to do to keep the device
> around?

"tmpmfs" and related variables in rc.conf(5).
By default it does a memory-backed disk instead of file-backed, but
that can be adjusted.

Personally, I find memory-backed /tmp to be more useful anyway.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
                http://be-well.ilk.org/~lowell/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to