public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* fuser fails to list processes that have a directory on a btrfs filesystem as their current working directory
@ 2015-06-26 16:23 Lutz Vieweg
  0 siblings, 0 replies; only message in thread
From: Lutz Vieweg @ 2015-06-26 16:23 UTC (permalink / raw)
  To: linux-btrfs

JFYI: Not a btrfs bug, but a btrfs-specific misbehaviour of "fuser" that
might easily be misinterpreted as a btrfs bug:

http://bugzilla.centos.org/view.php?id=8966

> /usr/sbin/fuser (from psmisc-22.20-8.el7.x86_64) does not list any processes that have a directory on a btrfs file system as their current working directory.
>
> (For file systems other than btrfs, this works.)

> Steps To Reproduce:
> mkdir /some/btrfs/testdir
> cd /some/btrfs/testdir
> fuser -v -m /some/btrfs
>
> This should list your current shell as one of the processes using the /some/btrfs file system, but it doesn't
>
> The same on /some/xfs/testdir works fine.

> This bug is not present in upstream "psmisc" sources as of current master in
> git://git.code.sf.net/p/psmisc/code
>
> An fuser executable compiled from the current upstream sources works fine also for btrfs.

Regards,

Lutz Vieweg


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-26 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-26 16:23 fuser fails to list processes that have a directory on a btrfs filesystem as their current working directory Lutz Vieweg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox