…but for /dev, I'm not able to create an FSRef (FSPathMakeRef("/
dev", ...) returns -35), so I don't know how to handle this.
This AppleScript gets it right:
visible of (info for POSIX file "/dev")
so somebody knows.
Or maybe this applescript returns false when an error occurs. It
returns true for "/net".
I can't explain that anomaly right now so I've asked on the
AppleScript users list to see what anyone thinks.
visible of (info for POSIX file "/dev")
--> false
visible of (info for POSIX file "/net")
--> true
(POSIX file "/dev") as alias
--> error
(POSIX file "/net") as alias
--> "net:"
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden