You are here

What has a file open? [on ejection]

12 posts / 0 new
Last post
MisterQ
Offline
Last seen: 16 years 3 months ago
Joined: 2007-11-08 00:42
What has a file open? [on ejection]

I have a Sony 8 GB USB Stick, on which I have every "formal" PA App, and soon some more, I hope.

I am seeing something strange, though...

Occassionally, when I shut down all of the apps that I have been running, and exit the PA Menu app from the tool bar, and then go to dismount (eject) the USB Drive - I get a message that there are still files open on the drive, and I cant eject it.

IS anyone aware of an app or way of telling what files it is thinking of, so I can log a bug report against the particular app in question?

Peter

Bahamut
Bahamut's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2006-04-07 08:44
Process Explorer. Find ->

Process Explorer. Find -> Find Handle or DLL.
BTW, I've noticed the Vista kernel likes to keep handles open (searching the kernel for handles requires admin privileges, however). In XP, Explorer is usually the culprit.

Vintage!

m2
Offline
Last seen: 14 years 5 days ago
Joined: 2006-12-12 12:00
You don't have to search in

You don't have to search in kernel, this can be mostly done via NTAPI with user rights.
In user mode you'll get access denied for some files, but for 2000-15000 handles that you have usually opened on your PC you get a few of them, I guess these are some system files.
I'm not sure whether user can see all handles, but you care about your own anyway.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Bahamut
Bahamut's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2006-04-07 08:44
Running as a normal user

Running as a normal user under Vista, I cannot see any handles for any processes other than those owned by my account. I can't even which accounts own which processes with the exception of System Idle Process. Running under my admin account, however, I can see everything.

I've noticed that the kernel has handles on NTFS files (e.g. K:\$Extend\$RmMetadata\$TxfLog\$TxfLog.blf). It must be a bug either in the kernel or rundll32.exe (not closing the handles when invoking "Safely Remove Hardware").

Vintage!

m2
Offline
Last seen: 14 years 5 days ago
Joined: 2006-12-12 12:00
How do you browse them? With

How do you browse them? With Process Explorer? Possibly it uses only driver and if it's so then it's obvious that it needs admin rights.
I don't know of any tools that let you browse it from user mode, but it is possible and I've made it before.
Take a look into ForceDel sources if you want to know more.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Bahamut
Bahamut's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2006-04-07 08:44
Browse what?

Browse what?

Vintage!

m2
Offline
Last seen: 14 years 5 days ago
Joined: 2006-12-12 12:00
Handles.

Handles.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Bahamut
Bahamut's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2006-04-07 08:44
Process Explorer.

Process Explorer.

Vintage!

solanus
solanus's picture
Offline
Last seen: 10 years 4 months ago
Joined: 2006-01-21 19:12
What happens when you use the Eject button on the PA Menu?

Just curious, since the most recent PA Menu has an eject button ^ that does all those steps for you...

I made this half-pony, half-monkey monster to please you.

alanbcohen
Offline
Last seen: 5 years 6 months ago
Joined: 2006-01-04 10:47
It still happens sometimes in

It still happens sometimes in WinXP.

Jacob Mastel
Offline
Last seen: 2 months 3 weeks ago
Developer
Joined: 2007-06-13 19:36
The easiest way is Unlocker

Right click on the drive icon and it will tell you what's locking the dirve and has unlock and process kill options. Just remember though flash is slow so when you have a multitude of apps running and you shut them all off at once it will take a while for all of the launchers to finish moving files back onto the drive etc.

Release Team Member

Mickeyj4j
Mickeyj4j's picture
Offline
Last seen: 11 years 2 months ago
Joined: 2008-05-30 07:53
Here is what happens to me

Here is what happens to me.

I have a 20gig portable HD. when i shut things down it takes time to shut down depending on how many apps you are using. it comes up with the same /or very similar message to you. i just click on the eject 2x then it shust down. leaving nothing behind on the user system.

BTW i am using the mod34 launcher too. but it is the same for the original one.

Basically it is just a delay when shutting down allot of apps.

An Old Irish Blessing
May the road rise up to meet you. May the wind always be at your back. May the sun shine warm upon your face, and rains fall soft upon your fields. And until we meet again, May God hold you in the palm of His hand.

MickeyJ4J

Log in or register to post comments