Date: Wed, 11 Jun 1997 00:14:52 -0400 From: Richard Scranton <scrantr@ix.netcom.com> To: Gilles.Bruno@ujf-grenoble.fr Cc: freebsd-hackers-digest@FreeBSD.ORG Subject: Re: hackers-digest V3 #237 Message-ID: <339E263B.516B@ix.netcom.com> References: <199706110206.TAA21262@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > {423}Root /bin/ls -a -l /usr/local/samba/var/locks > total 60 > drwxr-xr-x 2 root wheel 512 Jan 28 11:19 . > drwxr-xr-x 3 root wheel 512 Jan 28 11:36 .. > -rw-rw-rw- 1 root wheel 102400 Jan 28 11:26 SHARE_MEM_FILE > -rw-rw-rw- 1 root wheel 4294967304 Jan 28 12:04 > SHARE_MEM_FILE.processes > ^^^^^^^^^^ > -rw-r--r-- 1 root wheel 200 Jan 28 12:04 STATUS..LCK > -rw-r--r-- 1 root wheel 77 Jan 28 11:19 browse.dat > -rw-r--r-- 1 root wheel 0 Jan 28 11:19 wins.dat > > Hike ! What's that ? It looks to me like DOS record locking in effect. Advisory locks are/were implemented by adding a ridiculous offset and performing a mandatory lock. DOS didn't care that the offset for the lock was outside the scope of the file. Clever use of a bug, I suppose. -- =================================================================== Richard Scranton - LDA Systems - Information Management Consulting scrantr@ix.netcom.com Columbus Cincinnati Cleveland Toledo Atlanta
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?339E263B.516B>