Michael Jung mjung@iss.tu-darmstadt.de writes:
You mean like while an application is running? Wouldn't that break a lot of applications, which store filenames in memory during runtime?
No, you can remap drives on Windows too.
In the current implementation, for every shitemid that is constructed, all drives are queried and their paths are canonicalized, which is a lot of disk i/o and string copying. Unixfs is really painfully slow. I guess we need some caching scheme, but if you don't like the current one, I'll give it some more thought.
I think the whole canonicalization thing is suspect; you should never compare Unix path strings. If you have to compare paths you should use stat and compare device/inode.