fuser fails to list processes that have a directory on a btrfs filesystem as their current working directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux