On 2006-04-09 18:56, Wil Hatfield [EMAIL PROTECTED] wrote:
tmpmfs=YES
tmpsize=100m
tmpmfs_flags=-S -M -o noexec,nosuid
Is there something wrong with this because it isn't creating a
/tmp at all.
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986,
Chad,
this appears that you want a file backed image file mounted as your /
tmp. This should be easy to do. Read the handbook for file-backed md
(4) devices.
I don't use them for /tmp but I run them with jails... I have about
60 such image files mounted now for example
Thanks for the
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
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
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.
tmpmfs=YES
tmpsize=100m
tmpmfs_flags=-S -M -o noexec,nosuid
Is there something wrong with
tmpmfs=YES
tmpsize=100m
tmpmfs_flags=-S -M -o noexec,nosuid
Is there something wrong with this because it isn't creating a
/tmp at all.
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the
On Apr 9, 2006, at 3:05 AM, Wil Hatfield wrote:
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
I don't see what the trouble. If you want a /tmp directory on a disk,
just do :
$ cd /foo# the disk you want, may be /
$ mkdir /tmp
Thats all.
2006/4/9, Wil Hatfield [EMAIL PROTECTED]:
Ok I screwed up on one of my machines and forgot to put the /tmp directory
on its own slice. How can I
On Apr 8, 2006, at 9:57 PM, Wil Hatfield wrote:
Ok I screwed up on one of my machines and forgot to put the /tmp
directory
on its own slice. How can I do this on an existing system? Linux
has this
procedure. Anything like it for FreeBSD?
dd if=/dev/zero of=tmpMnt bs=1024 count=10