Re: alternative filesystem view
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <004201c5ee18$e391b4d0$3501a8c0@rogersqyvr14d3> |
> What I meant by that is the OS keeps track of the > state/status of the filesystem, which is different > than BitPim's filesystem view. That isn't true :-) A program like Explorer effectively polls the filesystem to maintain what it is showing in response to user interaction. It can register a change notification with the kernel. However that may or may not fire, and when it does can include details of the changes (eg file foo was deleted) or no details at all (just that a change has happened). (And if the directory is on a networked filesystem then that may or may not even do change notifications). The story is the same on Linux. Any program that shows filesystem information has to be aware that contents can change underneath them, and operations can take an unknowable amount of time. Roger ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click