Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 11-04-2008, 03:08 PM   #1
tanstaafl
Registered User
 
Join Date: Nov 2008
Location: northeastern USA
Posts: 1
USB Device Name in /dev

I apologize for having absolutely no details about my target system, but I don't have a Mac; I'm asking this question on behalf of a customer who does have a Mac.

<rant> In fact, many of my employer's customers use Macs in their prepress, so of course we won't buy any, especially since we are a Windoze-only house </rant>.

Our customer needs to copy a disk using dd. I have used dd to copy disks many times using Linux and Cygwin on Windoze, but in order to use it, U need to know the device name. Linux (and Cygwin, too) use the /proc/ filesystem to present system information (/proc/partitions, in this case), but I suspect that Mac does not use /proc/.

How can I find out what the raw device name is?
tanstaafl is offline   Reply With Quote
Old 11-04-2008, 05:08 PM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,459
You can see the device names by using one (your choice) of the following commands (in a Terminal window):

df
mount
diskutil info /Volumes/name_of_the_disk
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 11-05-2008, 08:14 PM   #3
tanstaafl
Registered User
 
Join Date: Nov 2008
Location: northeastern USA
Posts: 1
Thank U!!!

(smacks forehead with heel of hand ... maybe heel of foot would help more ...)

OK, I should have thought of df; I'm just used to /proc/ ... :/

Our customer tried loading Cygwin on a Windoze machine today, and some silly badly-written AV stuff hosed it up. Since there doesn't need to be anything installed on his Mac machine, we'll go that route tomorrow.

Again - thanks!
tanstaafl is offline   Reply With Quote
Reply

Tags
cygwin, dd program, raw devices

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.