> > >>I don't want to define special requirements here. I'm just thinking >>that a file system fhandler like /dev should list the real files >>(if they exist) _and_ the virtual devices. I don't think that's >>a requirement for a /cygdrive fhandler or a /registry fhandler. >>They could but they don't have to. >> >In the case of both /cygdrive and /registry, I simply wouldn't allow the >existance of real files - though Win32 will mess that up, ofcourse. > fhandlers only handle files, but they don't handle directories. directory enumeration is hard coded in the opendir/readdir calls in path.cc ... perhaps we should abstract the implementation of those two calls the same way as we abstracted fhandlers. say, we'll call it either dhandlers (directory handlers) or mhandlers (mount handlers). in this setup, the mount table (in registry) would specify the type of mount (eg, the handler). i would advocate having dhandlers/mhandlers borrowing the same design as fhandlers. first of all, do you people like calling it dhandlers better or mhandlers better? liulk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Corinna Vinschen
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Corinna Vinschen
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Robert Collins
- Re: [PATCH] ls & "magic" cygdrive dir ... Robert Collins
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Corinna Vinschen
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Robert Collins
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Corinna Vinschen
- RE: [PATCH] ls & "magic" cygdrive dir (was:... Ronald Landheer
- RE: [PATCH] ls & "magic" cygdrive dir (was:... Ronald Landheer
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Corinna Vinschen
- RE: [PATCH] ls & "magic" cygdrive dir (was:... Li-Kai Liu
- RE: [PATCH] ls & "magic" cygdrive dir (was:... Ronald Landheer
- RE: [PATCH] ls & "magic" cygdrive dir (was:... Ronald Landheer
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Corinna Vinschen
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Robert Collins
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Corinna Vinschen
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Robert Collins
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Robert Collins
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Li-Kai Liu
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Robert Collins
- Re: [PATCH] ls & "magic" cygdrive dir (was:... Li-Kai Liu
