cgf wrote: > On Thu, May 05, 2005 at 10:57:08PM -0400, Pierre A. Humblet wrote:
>>The code should handle "//" correctly, but path.cc still transforms it >>into "/", because of the bash bug. > Is that fixed in the current bash? AFAIK Corinna fixed it once, but the patch got lost and it's currently not fixed. > So, I'd appreciate it if you would just move your fhandler_netdrive > stuff to fhandler_netdrive.cc. Sure. Thanks for setting up the framework. > I didn't renumber FH_FS with above change. I wasn't sure why you did > that. I don't think that there was a requirement that it has to be the > lowest numbered minor device number. If there is a requirement like > that we should change it. OK. No requirement, just aesthetic. There seemed to be a pattern. >>About implementing readdir: PTC... > I was thinking about doing this but how would it ever be invoked? With "ls -l //" or "ls -l //machine" > You can't do an opendir on "//", right? Sure you can (thanks to existing code in the virtual driver). Just remove the code in path.cc that changes "//" into "/". It's only/mainly there because of bash. Pierre