Re: Mount Point to Alias
Re: Mount Point to Alias
- Subject: Re: Mount Point to Alias
- From: Luther Fuller <email@hidden>
- Date: Wed, 12 Aug 2009 09:38:05 -0500
On Aug 11, 2009, at 8:04 PM, Philip Aker wrote:
On 2009-08-11, at 17:50:01, Luther Fuller wrote:
I have a disk on my desktop and I have the mount point "/dev/disk1"
for that disk.
How do I convert "/dev/disk1" to an alias usable by Finder?
<x-man-page://8/diskutil> might be a good starting point.
I looked at the man page, but I found nothing useful there. Let me
explain more ...
For example:
1. I have an HD partition named "Roger" mounted on my desktop;
2. I have a file "Cynthia.sparsebundle" which when opened mounts
a disk named "Roger" on my desktop; and
3. I know that the mount point for the sparsebundle disk is "/dev/
disk1".
(do shell script "hdiutil info")
Now, I need to AppleScript the Finder to write to the disk "Roger".
No, not that disk "Roger", the other one whose mount point = "/dev/
disk1".
Knowing the name of the sparsebundle disk does not help.
I need to convert the string "/dev/disk1" to an alias to the
sparsebundle disk.
_______________________________________________
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