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

Re: How to check if device is busy without unmounting?



"Sorry: We couldn't find what you were looking for."

On 05/16/2010 08:00 PM, Ardison Nicolas wrote:
Hi, i'm new in this list, i wrote a post about how to do this [1] . With
Fuse as Sthepen said.

[1] http://www.ardsoluciones.com.ar/blog/?p=436&preview=true


On 16 May 2010 21:12, Ron Johnson<ron.l.johnson@cox.net>  wrote:

On 05/16/2010 06:46 PM, Boyd Stephen Smith Jr. wrote:

On Sunday 16 May 2010 18:05:01 Dotan Cohen wrote:

How can one check if a device can be safely unmounted at the moment.
Sometimes umount fails as the device is busy. Is there a way to check
if the device is busy, without unmounting? The umount manpage does not
discuss this situation.


(fuser -mv /$mnt_point) is relatively standard.

lsof is quite a bit more powerful and complete, and available for Debian.


Neither of those commands "see" NFS exports.


--
Dissent is patriotic, remember?


Reply to: