Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Enable 'cd' into directory aliases from the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable 'cd' into directory aliases from the Terminal
Authored by: gidds on Sep 01, '05 04:56:54PM
It's a good aim. But how far do you go?

Do you want Unix programs to be able to follow them? Do you want 'find' and all the others to be able to read files with an alias in the path you give? Do you want 'zip' to be able to store and recreate them? And so on.

The only way to handle aliases properly would be to build them in at the filesystem level, and provide versions of all the standard IO library calls which could follow or not follow them, as appropriate -- the same as has already been done for symbolic links. That's a big, big change. And anything short of that is going to cause strange behaviour at some points, where the aliases fail to work.

---
Andy/

[ Reply to This | # ]