Re: kmem leak in tmpmfs?
- From: Ulrich Spoerlein <uspoerlein@xxxxxxxxx>
- Date: Mon, 29 May 2006 16:46:10 +0200
Greg Rivers wrote:
On Thursday 25 May 2006 19:43, Paul Allen wrote:
From Jonathan Noack <noackjr@xxxxxxxxxxxxxxx>, Thu, May 25, 2006 at
07:56:07PM -0400: I am currently running with the following in
/etc/rc.conf and haven't experienced any problems:
tmpmfs_flags="-S -o async"
Is there a way to accomplish this with an fstab entry?
md /tmp mfs rw,async,-s1024m,-S
no,I don't think so. But surely it would be better to just fixup the
standard mount -t path to not call mount_mfs...
Actually there is a way. I too have not been satisfied with the tmpmfs
features in rc, so for some time now I've simply created a hard link:
cd /sbin && ln -f mdmfs mount_md
and then used an entry like this in /etc/fstab:
md /tmp md rw,async,-Sp1777,-s768M 0 0
This works great for me. A simple patch to mtree could make this hard link
part of the base system. Nothing else is needed.
You should use the 'mfs' file system. This works out of the box:
md /tmp mfs rw,-s256m,-S,-Otime,async,noatime 0 0
Ulrich Spoerlein
--
PGP Key ID: 20FEE9DD Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.
Attachment:
pgpKRZeSK5G95.pgp
Description: PGP signature
- Follow-Ups:
- Re: kmem leak in tmpmfs?
- From: Greg Rivers
- Re: kmem leak in tmpmfs?
- References:
- kmem leak in tmpmfs?
- From: Arno J. Klaassen
- Re: kmem leak in tmpmfs?
- From: Jonathan Noack
- Re: kmem leak in tmpmfs?
- From: Paul Allen
- Re: kmem leak in tmpmfs?
- From: Greg Rivers
- kmem leak in tmpmfs?
- Prev by Date: Re: LOR in vnode interlock and system map
- Next by Date: ciss0: ADAPTER HEARTBEAT FAILED? on a new bought HP dl360g3
- Previous by thread: Re: kmem leak in tmpmfs?
- Next by thread: Re: kmem leak in tmpmfs?
- Index(es):
Relevant Pages
|
|