• 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: Philip Aker <email@hidden>
  • Date: Wed, 28 May 2008 23:03:31 -0700

On 08-05-28, at 20:38, Mark J. Reed wrote:

I take it back. /dev is not a real folder, either. OS X is using devfs (and fdesc):

(0)wazowski> mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local)
fdesc on /dev (fdesc, union)
map -hosts on /net (autofs, automounted)
/dev/disk1s1 on /Volumes/Media (hfs, local, nodev, nosuid, journaled, noowners)
/dev/disk2s2 on /Volumes/Time Machine Backups (hfs, local, nodev, nosuid, journaled)

which means that /dev is just a way of using the file system API calls to ask the operating system about its hardware (real and virtual), not a regular folder.


Thanks Mark,

The way I understand it, this more or less confirms that the FSPathMakeRef() -35 error is a least correct (but doesn't explain much about the AppleScript behavior of 'info for' working for /dev).

For the purposes of working at C code levels, if I follow your lead above and branch on that -35 error to some functions that provide return values similar to 'mount' as used above, then I should be able to get some meaningful info about them. Like for sure, given "/dev/ disk1s1" I know I can get a substantial property list from some stuff in DiskArbritration.framework.


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
References: 
 >Re: as alias bug? (From: "Stockly, Ed" <email@hidden>)
 >Re: as alias bug? (From: Philip Aker <email@hidden>)
 >Re: as alias bug? (From: "Mark J. Reed" <email@hidden>)

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