From owner-freebsd-standards@FreeBSD.ORG Mon Sep 11 08:58:58 2006 Return-Path: X-Original-To: freebsd-standards@freebsd.org Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B35616A417 for ; Mon, 11 Sep 2006 08:58:58 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 968AE43D53 for ; Mon, 11 Sep 2006 08:58:57 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [80.250.160.136] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1GMhd2-0001pf-Fw; Mon, 11 Sep 2006 12:58:56 +0400 Received: from localhost (localhost [127.0.0.1]) by fonon.realnet (Postfix) with ESMTP id 8EB0611B23; Mon, 11 Sep 2006 12:58:16 +0400 (MSD) Date: Mon, 11 Sep 2006 12:58:16 +0400 From: Stanislav Sedov To: Roy Marples , freebsd-standards@freebsd.org Message-ID: <20060911125816.4a606317@localhost> In-Reply-To: <200609102148.26767.uberlord@gentoo.org> References: <200609102148.26767.uberlord@gentoo.org> Organization: MBSD labs, Inc. X-Operating-System: FreeBSD X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_w5xH4EP6iVI3bbzMhU2m.Fz; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 Cc: Subject: Re: FreeBSD Port: sysutils/fuser X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 08:58:58 -0000 --Sig_w5xH4EP6iVI3bbzMhU2m.Fz Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Sun, 10 Sep 2006 21:48:26 +0100 Roy Marples mentioned: > Hi >=20 > I'm currently adding FreeBSD support to Gentoo baselayout rc system. We u= se=20 > the linux fuser tool a bit, and rely on the return value being non zero o= f no=20 > files are in use on the requested mount points. >=20 > Attached is a patch that enables the same in FreeBSD >=20 But POSIX says the following: -------------------------------------------------------------- EXIT STATUS The following exit values shall be returned: 0 Successful completion. >0 An error occurred. -------------------------------------------------------------- So, as I understand correctly, we should return 0 in this case. I CC'ed the message to freebsd-standards, I hope we'll have a productive discussion. I'm the author of this utility, so all changes can be integrated upstream, if needed. --=20 Stanislav Sedov MBSD labs, Inc. =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1 http://mbsd.msk.ru -------------------------------------------------------------------- If the facts don't fit the theory, change the facts. -- A. Einstein -------------------------------------------------------------------- PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 --Sig_w5xH4EP6iVI3bbzMhU2m.Fz Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFFBSUoK/VZk+smlYERAknoAJ0TtSaFrHTc632v+0H1wZZ7J6AEuACfQx7G L75VMtUCZ9QLj+YF7+4t+QA= =6IoD -----END PGP SIGNATURE----- --Sig_w5xH4EP6iVI3bbzMhU2m.Fz--