Re: Finder alias vs ln -s
Re: Finder alias vs ln -s
- Subject: Re: Finder alias vs ln -s
- From: Pelle Johansson <email@hidden>
- Date: Thu, 19 Aug 2004 12:05:41 +0200
2004-08-19 kl. 11.39 skrev Denis Mottet:
I discovered that I cannot "follow" aliases made with OSX Finder when
using X11 applications...
Obviously, Finder aliases are not recognised as symlinks in unix X11
or terminal context.
Has anyone a workaround ?
Fortunately symlinks are recognised as alias however, and you can make
symlinks into the /.vol/ directory. Run
sudo fs_usage | grep 'getattrlist.*Finder'
Then go to your target in Finder and select Get Info. Now _directly_
switch back to the terminal window and the last line should display
something like:
11:50:05 getattrlist /.vol/234881026/365484
0.000039 Finder
Now just
ln -s /.vol/234881026/365484 whatever
and the symlink will work no matter where you move the file, except
onto another mountpoint ofc.
If what you want is to follow aliases made by other users, I guess you
will most likely have to use Carbon for that.
Does Apple plan to make Finder aliases recognised as symlinks in OSX
unix world ?
There was some code for following aliases as symlinks in xnu when I
looked once, but it's not activated and didn't seem to work (tried it
some, but was a long time ago OTOH). Whatever this means about Apple's
plans I cannot say.
--
Pelle Johansson
<email@hidden>
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.