Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Apr 2021 05:42:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 254024] devel/gvfs: gvfsd-trash latches to zfs volumes
Message-ID:  <bug-254024-6497-u7LySOZ4Yu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254024-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254024-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254024

--- Comment #15 from Damjan Jovanovic <damjan.jov@gmail.com> ---
(In reply to Graham Perrin from comment #14)

> I don't get a list of open files before attempting to unmount.

You will soon get that automatically:
(1) sysutils/lsof patched with https://github.com/lsof-org/lsof/pull/151
(2) sysutils/bsdisks 0.25
(3) devel/gvfs (git 981787fd860346d2e43104d45dd650a84503d6a6 if possible)
(4) GIO-based file manager, eg. Nemo/Thunar/PCmanFM

and when you try unmount from the file manager and it fails with EBUSY, gvfs
will "lsof -t /mountpoint", and show a nice dialog with the processes that
still have open files within the mountpoint (and their icons and command li=
ne
arguments), with an "Unmount anyway" button to force it. This has existed f=
or
years, it just never worked on FreeBSD until now due to missing features in
bsdisks and lsof.

While I am at it, can someone please make the gvfs port depend on lsof, bug
254322?


O_EVTONLY sounds interesting. Did Apple open source that code?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254024-6497-u7LySOZ4Yu>