Skip to main content
Solved

Need help with diskutil list

  • February 21, 2013
  • 34 replies
  • 96 views

Show first post

34 replies

Forum|alt.badge.img+12
  • Contributor
  • March 23, 2013

encase it is double quotes:

for example:

diskutil list | grep "Macintosh HD"

Forum|alt.badge.img+1
  • New Contributor
  • March 23, 2013

@acdesigntech - I'm sorry I don't understand what that means.


Forum|alt.badge.img+12
  • Contributor
  • March 23, 2013

sorry, typo. I meant encase it IN double quotes. so take your command and put double quotes around the drive name. That way it will preserve the space between macintosh and hd.

Something like:

diskutil secureErase freespace 3/ Volumes/"name-of-drive"

Forum|alt.badge.img+1
  • New Contributor
  • March 23, 2013

I get this for a response

Kens-Macbook-Pro:~ Ken1$ diskutil secureErase freespace 3/ Volume/"Macintosh HD"
Could not find the disk Volume/Macintosh HD

I can't think why it can't seem to find my hard drive. The icon on my desktop sayings Macintosh HD in white under the icon. I have to believe that's the name, correct?


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • March 23, 2013

Try Volumes & not Volume.


Forum|alt.badge.img+1
  • New Contributor
  • March 23, 2013

Kens-Macbook-Pro:~ Ken1$ diskutil secureErase freespace 3/ Volumes/"Macintosh HD"
Could not find the disk Volumes/Macintosh HD

lol going insane here


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • March 23, 2013

Sorry. Try: /Volumes/ then.


Forum|alt.badge.img+1
  • New Contributor
  • March 23, 2013

winnah winnah chicken dinnah!! Thank you!! :)


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • March 23, 2013

No worries.

I've wasted hours over silly syntax issues too.