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

This Mastodon instance is not open for public registration. Site administrator is Alexander Bochmann.

Contact email: ab+mastodon@infra.de