Re: Checking if volume is busy?
Re: Checking if volume is busy?
- Subject: Re: Checking if volume is busy?
- From: Charles Srstka <email@hidden>
- Date: Fri, 19 Apr 2002 23:09:55 -0500
This works, but performance is not as great as I would like. Do you know
of an API that can do what lsof does, or failing that, do you know where
I can get the source to lsof on the Darwin site? I can't seem to figure
out what package it's in.
On Friday, April 19, 2002, at 07:57 AM, Eric Peyton wrote:
Not easily.
You can run lsof (/usr/sbin/lsof)and see if there are any open files on
the volume.
Eric
On Friday, April 19, 2002, at 12:56 AM, Charles Srstka wrote:
Is there any easy way to check whether a volume has any open files on
it, i.e. if it would be safe to unmount that volume, without actually
trying to unmount the volume?
Thanks,
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.