Skip to content

Joshua Nozzi

  • Blog
  • Portfolio
  • Resume
  • Contact

disk

Is It A Disk Image?

By jnozzi | July 21, 2015

A comment on an old StackOverflow answer of mine took me to task for a “partial answer” so I decided to improve it. Both posters wanted to know if a mounted device is a disk image. I wrote a simple routine using the DiskArbitration framework to test this given a file URL.

Continue reading →
Posted in Programming, Technology and tagged as arbitration, code, disk, image, swift.

Who Is Josh

Josh lives in Danville, Virginia, USA with his husband and too many cats.

Elsewhere

  • Twitter
  • GitHub
  • Stack Overflow
  • LinkedIn

Categories

  • Hardware (9)
  • Life (25)
  • Politics (10)
  • Programming (25)
  • Quickies (22)
  • Rants (23)
  • Silliness (26)
  • Technology (59)

Tags

amazon app apple bartas bigotry bioinformatics blood book cara career cats censorship cocoa code death debug drag excuses faceapp fuckery grief hypnagogia indie ios ipad iphone loss mac niaid nih objective-c organization pets religion research russians safari sleep spam spice steve jobs swift telework transcriva ui vaccine xcode xtabulator zendesk ziplight
  • Twitter
  • GitHub
  • StackOverflow
  • LinkedIn
A WordPress.com Website.