On Thu, Apr 25, 2002 at 09:49:44AM -0700, Luigi Rizzo wrote:
Off the top of my head, i think you might see accesses to /etc/malloc.conf
(on stock 'diskless' FreeBSD installations, at least recently,
/etc goes onto a RAMdisk so you don't see these accesses).
My system has /etc in RAMdisk too. Actually it's a ramdisk on /conf/etc
which is null-mounted back onto /etc, although I notice that newer
distributions eliminate this by just putting a ramdisk on /etc.
using tcpdump -v -s 256 might give you a better idea on what
accesses are being attempted.
Good idea, although it doesn't show much more. Running test (3) again gives
# tcpdump -n -i fxp0 -s 1500 -v udp port 2049
17:55:00.686348 192.168.0.91.649129623 > 192.168.0.1.2049: 104 access fh Unknown/1 003f (ttl 64, id 10087)
17:55:00.686515 192.168.0.1.2049 > 192.168.0.91.649129623: reply ok 120 access attr: REG 444 ids 0/0 sz 35124 c 0001 (ttl 64, id 41864)
So maybe it's just checking permissions each time the file is opened? But
there is supposed to be an access cache. sysctl reports:
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message