Date: 09 Apr 2006 14:08:21 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: "Wil Hatfield" <freebsd@hyperconx.com> Cc: freebsd-questions@freebsd.org Subject: Re: Partitioning on existing system Message-ID: <44wtdyipuy.fsf@be-well.ilk.org> In-Reply-To: <NGBBKBOMKLFOJCCDHPEOEEDCPPAA.freebsd@hyperconx.com> References: <NGBBKBOMKLFOJCCDHPEOEEDCPPAA.freebsd@hyperconx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Wil Hatfield" <freebsd@hyperconx.com> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44wtdyipuy.fsf>