Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UUID



In general, i you want to "script Disk Utility", diskutil(8) is a good
place to look for the functionality you seek.  I agree that you
wouldn't be lilkely to surmise that from the output of apropos/man -k,
though.


On 1/30/08, David Wolfe <email@hidden> wrote:
> Sorry, Skeeve, but why would you assume that someone on an Applescript
> list would find this information using "man -k disk, " even if they
> knew how to do that?
>
> Running that command results in (clipped)
>
> 	diskutil(8) - Modify, verify and repair local disks
>
> There's nothing there that indicates that diskutil would have a
> command to get the information the OP was looking for.
>
> We Applescripters don't mind resorting to the shell from time to time.
> But I don't think it's fair to assume that we have the vast UNIX
> knowledge that some seem to assume.
>
> Thanks for the info.
>
> David
>
> On Jan 30, 2008, at 5:40 PM, Skeeve wrote:
>
> > Luther Fuller wrote:
> >>
> >> Is there any way in AppleScript, perhaps using 'do shell script',
> >> to read the UUID of a disk?
> >> I have searched and found nothing.
> >
> > You didn't use man -k disk, did you?
> >
> > diskutil info /mount/point | grep UUID
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-users/email@hidden
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>


-- 
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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >UUID (From: Luther Fuller <email@hidden>)
 >Re: UUID (From: Skeeve <email@hidden>)
 >Re: UUID (From: David Wolfe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.