Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2006 12:58:16 +0400
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        Roy Marples <uberlord@gentoo.org>, freebsd-standards@freebsd.org
Subject:   Re: FreeBSD Port: sysutils/fuser
Message-ID:  <20060911125816.4a606317@localhost>
In-Reply-To: <200609102148.26767.uberlord@gentoo.org>
References:  <200609102148.26767.uberlord@gentoo.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, 10 Sep 2006 21:48:26 +0100
Roy Marples <uberlord@gentoo.org> mentioned:

> Hi
> 
> I'm currently adding FreeBSD support to Gentoo baselayout rc system. We use 
> the linux fuser tool a bit, and rely on the return value being non zero of no 
> files are in use on the requested mount points.
> 
> Attached is a patch that enables the same in FreeBSD
> 

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.

-- 
Stanislav Sedov         MBSD labs, Inc.         <ssedov@mbsd.msk.ru>
Россия, Москва         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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFFBSUoK/VZk+smlYERAknoAJ0TtSaFrHTc632v+0H1wZZ7J6AEuACfQx7G
L75VMtUCZ9QLj+YF7+4t+QA=
=6IoD
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060911125816.4a606317>