[...]
> SUMMARY: *Creating* files is the hard part.
And for that, the only decent solution I see is:
- Try to read/create/write FileWithNonDOSName
+ Linux returns "wrong name format, use DOS format"
+ libc tries again with DOSified filename, and suceeds (or not)
- Task goes on as if nothing had happened
This way, each filesystem gets a particular errno that says the format it
expects, and libc handles that. Ugly, but keeps idiocy out of the (main)
kernel. But shoves it into libc...
Then again: Just forget about MSDOS, and use VFAT instead... and let _them_
fight that out.
> PS: stray thought: could we pretend the existence of hard links between
> "foo" and "FOO" on a very temporary basis?
Screws up the dcache; unless when you create foo, you'd have to create FOO,
and FOo, and... on the fly. Not a pretty sight ;-)
-- Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513