Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 19, 2009, 05:49 PM   #1
ACiB708
macrumors regular
 
Join Date: Apr 2008
Mac OS Terminal: dd command

Hey all just wanted to know what I'm doing wrong.

In linux if I want to dump the contents of a CD/DVD onto a path I type:

sudo dd if=/dev/cdrom of=/root/user1/desktop/cdrom.iso (or whatever path)

Linux does it's thing and after a while I get the file I wanted. Since Mac OS is also UNIX-based and this is a UNIX command, I'd expect it to be the same. So I type:

sudo dd if=/Volumes/cdname of=/Users/username/Desktop/cd.iso

but when I hit enter instead of doing something, it instantly shows me this:

0+1 records in
0+1 records out
136 bytes transferred in 3.596678 secs (38 bytes/sec)

And it gives a 4KB file, or sometimes an empty file. What am I doing wrong?
Thanks for any help in advance!
__________________
15" Macbook Pro Retina, 2.3 GHz, 16GB RAM
ACiB708 is offline   0 Reply With Quote
Old Jun 19, 2009, 06:51 PM   #2
pilotError
macrumors 68020
 
pilotError's Avatar
 
Join Date: Apr 2006
Location: Long Island
http://blog.calileo.net/?p=46
pilotError is offline   0 Reply With Quote
Old Jun 19, 2009, 08:02 PM   #3
ACiB708
Thread Starter
macrumors regular
 
Join Date: Apr 2008
Quote:
Originally Posted by pilotError View Post

Oh, so it was because in Darwin you have to unmount the volume first... and also not copying the image from the /Volumes dir but instead form the device itself?? Thanks a lot it helped.
__________________
15" Macbook Pro Retina, 2.3 GHz, 16GB RAM
ACiB708 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Mail command in Terminal lukestroh OS X Mavericks (10.9) 6 Dec 2, 2013 09:14 PM
Terminal command error Ddyracer OS X 10.8 Mountain Lion 7 Aug 27, 2013 10:51 AM
Terminal command andynewfriends Mac Basics and Help 0 Jun 11, 2013 02:25 PM
Delay command in Terminal Darundal Mac Programming 4 May 13, 2013 06:02 AM
Need command in terminal chadteetzen OS X 1 Jun 8, 2012 11:55 PM

Forum Jump

All times are GMT -5. The time now is 12:06 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC