• 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: Mount Hard Drive Script help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mount Hard Drive Script help needed


  • Subject: Re: Mount Hard Drive Script help needed
  • From: Steve Mills <email@hidden>
  • Date: Fri, 08 Sep 2017 21:25:53 +0000 (GMT)

On Sep 08, 2017, at 04:21 PM, "email@hidden" <email@hidden> wrote:

However - I just updated to Sierra (10.12.6) and now in addition to the main Volumes it is also mounting all the EFI volumes also. This is something I do not want.


Question: Is there a way to update the script so that it will NOT mount EFI Volumes and just the Main volumes?

repeat with myitem in actiondisks
try
do shell script "diskutil mountDisk /dev/" & myitem
end try
end repeat
end if
 
Why can't you just check the name?

if myitem does not contain "EFI" then

Sent from iCloud's ridiculous UI, so, sorry about the formatting
 
 _______________________________________________
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

  • Prev by Date: Mount Hard Drive Script help needed
  • Next by Date: Re: [applescript] Change a aJSON list to an Applescript list?
  • Previous by thread: Mount Hard Drive Script help needed
  • Next by thread: 2 tricky questions
  • Index(es):
    • Date
    • Thread