Date: Sun, 1 Apr 2007 20:20:08 GMT From: "R. B. Riddick" <arne_woerner@yahoo.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/111101: /usr/bin/lockf: when lockf blocks due to another lockf and no -k is specified and the other lockf ends, the file is away Message-ID: <200704012020.l31KK8w8079690@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/111101; it has been noted by GNATS. From: "R. B. Riddick" <arne_woerner@yahoo.com> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/111101: /usr/bin/lockf: when lockf blocks due to another lockf and no -k is specified and the other lockf ends, the file is away Date: Sun, 1 Apr 2007 13:11:04 -0700 (PDT) --- Kris Kennaway <kris@obsecurity.org> wrote: > > Explicitly? Documented? Since I have not found that documentation, can u > > help me a little bit by showing it? > > > > In the mean time I show a piece of my documentation (man page lockf(1)): > > "DESCRIPTION > > The lockf utility acquires an exclusive lock on a file, creating it if > > necessary, and removing the file on exit unless explicitly told not > > to. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > This is even underlined. > Hmm... I was talking of the second lockf process, that does not create the file, but that holds an exclusive lock on an unlinked file, which is completely useless. > > If think, the explicit documentation says, that the file is created > > (although > > this "if necessary" is somewhat weaselish, so that the man page should be > > changed, too; it should say: "creating it if it does not exist"). > > But that is what "if necessary" means. > Water on my mills... There u have the contradiction... > If you would like to submit a manpage change to expand upon the > problems that can occur when not using -k, please go ahead. > Hmm... As long as u say, that I dont understand the use of lockf(1), I will not say/request so much about it... :-) -Arne ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704012020.l31KK8w8079690>