Follow

Yikes. fuser(1) on vs. fuser(1) on :

To get all processes with open files on a filesystem on OpenBSD, use either:

fuser /dev/disk
fuser -c /some/mountpoint

For the same result on Linux:

fuser -c /dev/disk
fuser /some/mountpoint

Does not work on OpenBSD:

fuser /some/mountpoint

Does not work on Linux:

fuser /dev/disk

(Never mind that -c is just a Posix compatibility flag on Linux...)

@galaxis the actual posix standard for fuser is terrible and confusing. It's no surprise people implement it differently.

Sign in to participate in the conversation
INFRa Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!