Date: Mon, 10 Jul 2006 10:23:20 +0200 (CEST) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: standards/100017: [Patch] Add fuser(1) functionality to fstat(1) Message-ID: <200607100823.k6A8NKlV052666@compy.fxq.nl> Resent-Message-ID: <200607100830.k6A8UMKe045224@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100017 >Category: standards >Synopsis: [Patch] Add fuser(1) functionality to fstat(1) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 10 08:30:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD compy.fxq.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jul 2 10:55:26 CEST 2006 root@compy.fxq.nl:/usr/obj/usr/src/sys/COMPY i386 >Description: POSIX 2004 describes a utility called fuser(1), which is similar to fstat(1). Because it would be useless to write an entire fuser(1) utility that only has a fraction of the functionality of fstat(1), it would be better to integrate it into fuser(1). Two previous attempts were made, none were eventually committed: - standards/36076 - suspended, because it was a shell script - standards/35682 - not integrated, as it doesn't share any common code with fstat(1). >How-To-Repeat: n/a >Fix: Apply the following patch: http://g-rave.nl/junk/freebsd-fstat-fuser-posix.diff This utility patches the fstat(1) utility to behave like fuser(1) when called. It supports all the flags required, including some more (-m, -M and -N). The characters printed after the PIDs almost share the same scheme as the Linux version. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607100823.k6A8NKlV052666>