Re: What, besides open files, can keep a volume busy?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Make sure that you run lsof as root. sudo lsof +fg /Volumes/... - Allan On Oct 23, 2006, at 12:33 PM, Rick Mann wrote: And looking, I see it on the desktop (it's a bit cluttered). Thanks! -- Rick _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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) 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Allan Nathanson