• 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: Auto mount .dmg in High Sierra? Possible??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto mount .dmg in High Sierra? Possible??


  • Subject: Re: Auto mount .dmg in High Sierra? Possible??
  • From: Paul Scott <email@hidden>
  • Date: Fri, 23 Mar 2018 16:36:28 -0700
  • Dkim-filter: OpenDKIM Filter v2.11.0 secure.paul-scott.us 80CA840131

BTW, you can also use the device name on detach, which might be preferable if the mounted name got munged because of an existing mount of the same name.

The device name and mount path are returned on the output of the hdiutil attach command.

E.g., if hdiutil attach returns:

   /dev/disk6              Apple_partition_scheme
   /dev/disk6s1            Apple_partition_map
   /dev/disk6s2            Apple_HFS /Volumes/MyFileSystem

then you would use *ONE* of:

   hdiutil detach /dev/disk6
   hdiutil detach /Volumes/MyFIleSystem

Paul

On 3/23/2018 4:24 PM, Paul Scott wrote:
try:

hdiutil detach /Volumes/path_to_mounted_filesystem


On 3/23/2018 4:15 PM, Brian Christmas wrote:
G’day

Would have helped if I'd used *-format* and not commented out the relevant line.

However, this routine is far more versatile, but it turns out I need to */unmount the drive before trying to compress it/*. I cannot get the format correct though, for….

*set* shellScriptTwo*to* (("hdiutil unmount " *as* /text/) & myPath)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

 _______________________________________________
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: Auto mount .dmg in High Sierra? Possible??
      • From: Brian Christmas <email@hidden>
References: 
 >Auto mount .dmg in High Sierra? Possible?? (From: Brian Christmas <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Paul Scott <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Brian Christmas <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Paul Scott <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: "Stockly, Ed" <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Brian Christmas <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Paul Scott <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Brian Christmas <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Paul Scott <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Brian Christmas <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Brian Christmas <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Brian Christmas <email@hidden>)
 >Re: Auto mount .dmg in High Sierra? Possible?? (From: Paul Scott <email@hidden>)

  • Prev by Date: Re: Auto mount .dmg in High Sierra? Possible??
  • Next by Date: Re: Auto mount .dmg in High Sierra? Possible??
  • Previous by thread: Re: Auto mount .dmg in High Sierra? Possible??
  • Next by thread: Re: Auto mount .dmg in High Sierra? Possible??
  • Index(es):
    • Date
    • Thread