• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What, besides open files, can keep a volume busy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What, besides open files, can keep a volume busy?


  • Subject: Re: What, besides open files, can keep a volume busy?
  • From: Allan Nathanson <email@hidden>
  • Date: Mon, 23 Oct 2006 12:39:55 -0400

Make sure that you run lsof as root.

	sudo lsof +fg /Volumes/...

- Allan


On Oct 23, 2006, at 12:33 PM, Rick Mann wrote:

I've got a network drive mounted, and it shows up in the Finder. I tried to unmount it, but the Finder reports that it's busy. I used lsof to see what processes still had it open, and it reported nothing. I even tried running it as root. I ran it like this:


Then I checked the mounts, and got these two (the second is a disk image on the network drive, which is usually unmounted automatically by my backup software):


//WORKGROUP;RMANN@TSUNAMINAS/TWINAEROBACK on /Volumes/TWINAEROBACK (nodev, nosuid, mounted by rmann)
/dev/disk2s2 on /Volumes/TwinAeroSuperDuperBackup (local, nodev, nosuid, journaled)



And looking, I see it on the desktop (it's a bit cluttered).

So, I'm puzzled by lsof not reporting anything. Do I misunderstand its use? Am I missing some flags?

I'm trying to use lsof in a utility to report processes with open files, and now I'm finding it's unreliable for that.

Thanks!

--
Rick


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >What, besides open files, can keep a volume busy? (From: Rick Mann <email@hidden>)

  • Prev by Date: What, besides open files, can keep a volume busy?
  • Next by Date: Re: What, besides open files, can keep a volume busy?
  • Previous by thread: What, besides open files, can keep a volume busy?
  • Next by thread: Re: What, besides open files, can keep a volume busy?
  • Index(es):
    • Date
    • Thread