delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/15/14:19:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 15 Feb 2012 20:18:33 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: psmisc-22.14-1: fuser command does not longer work
Message-ID: <20120215191833.GD19092@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4F3BEE22 DOT 8080104 AT t-online DOT de>
MIME-Version: 1.0
In-Reply-To: <4F3BEE22.8080104@t-online.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb 15 18:40, Christian Franke wrote:
> fuser reports missing /proc/net/unix and does not list any used files:
> 
> $ cygcheck -f /bin/cygwin1.dll
> cygwin-1.7.10-1
> 
> $ cygcheck -f /bin/fuser
> psmisc-22.14-1
> 
> $ sleep 100 > /tmp/foo &
> [1] 4132
> 
> $ fuser /tmp/foo
> Cannot open /proc/net/unix: No such file or directory
> 
> $ fuser -a /tmp/foo
> Cannot open /proc/net/unix: No such file or directory
> /tmp/foo:
> 
> $ ls -l /proc/4132/fd
> total 0
> lrwxrwxrwx 1 franke none 0 Feb 15 18:35 0 -> /dev/pty1
> lrwxrwxrwx 1 franke none 0 Feb 15 18:35 1 -> /tmp/foo
> lrwxrwxrwx 1 franke none 0 Feb 15 18:35 2 -> /dev/pty1

Works with fuser from psmisc-21.5 so it seems to be a bug in fuser
itself.  I'll look into it the next couple of days (if nobody beats
me to it).


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019