• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: as alias bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: as alias bug?


  • Subject: Re: as alias bug?
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 28 May 2008 14:14:41 -0400

I'm not sure, but I suspect it's related to the fact that /dev is just
an ordinary folder, albeit with visible set to false, whilw  /net is
the mount point of an automagical filesystem.



On 5/28/08, Philip Aker <email@hidden> wrote:
> On 08-05-28, at 09:17, Mark J. Reed wrote:
>
>> On Wed, May 28, 2008 at 12:01 PM, Philip Aker <email@hidden>
>> wrote:
>>> I have no directory "/net" on my machine.
>
>> You sure about that?  Have you looked from the shell?  I got one on
>> mine...
>
> Mark, Joe, Deivy, Luther,
>
> I see I do -- I was actually 'cd /';ls -la' but just plain failed to
> see it.
>
> But here's the real problem. As shown on the Carbon list by at least
> three members, FSRefMakePath() fails for "/dev" (the OP is trying to
> determine visibility). So I decided to see what AppleScript could do.
> Fine for /dev but then someone asked why it reports true for /net:
>
> 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:"
>
> How is it /dev is invisible and reports false but net is invisible and
> reports true?
>
>
>
> 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.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>

--
Sent from Gmail for mobile | mobile.google.com

Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: as alias bug?
      • From: Philip Aker <email@hidden>
References: 
 >as alias bug? (From: Philip Aker <email@hidden>)
 >Re: as alias bug? (From: "Mark J. Reed" <email@hidden>)
 >Re: as alias bug? (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: as alias bug?
  • Next by Date: Re: as alias bug?
  • Previous by thread: Re: as alias bug?
  • Next by thread: Re: as alias bug?
  • Index(es):
    • Date
    • Thread