New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

chdman (app in terminal) help


Post Reply New Thread Subscribe

 
Thread Tools
tinsley

 
Member Since: Jun 04, 2010
Posts: 1
tinsley is on a distinguished road

tinsley is offline
I am trying to run an app called 'chdman' which can make a CHD file from a HD. First, here is the output of the app:
./chdman
chdman - MAME Compressed Hunks of Data (CHD) manager 0.95u6 (Apr 29 2005)
usage: chdman -info input.chd
or: chdman -createhd inputhd.raw output.chd [inputoffs [cylinders heads sectors [sectorsize [hunksize]]]]
or: chdman -createblankhd output.chd cylinders heads sectors [sectorsize [hunksize]]
or: chdman -createcd input.toc output.chd
or: chdman -copydata input.chd output.chd
or: chdman -extract input.chd output.raw
or: chdman -extractcd input.chd output.toc output.bin
or: chdman -verify input.chd
or: chdman -verifyfix input.chd
or: chdman -update input.chd output.chd
or: chdman -chomp inout.chd output.chd maxhunk
or: chdman -merge parent.chd diff.chd output.chd
or: chdman -diff parent.chd compare.chd diff.chd
or: chdman -setchs inout.chd cylinders heads sectors


Here is my output from diskutil list:
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *250.1 GB disk0
1: DOS_FAT_32 UNTITLED 1 250.1 GB disk0s1
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *750.2 GB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS Mac OS 749.8 GB disk1s2
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *500.1 GB disk2
1: Apple_HFS External HD 500.1 GB disk2s1



Now, say I want to create a CHD of disk0 from diskutil, I would think I would run:
./chdman -createhd /dev/disk0 gt.chd

but I get this output:
chdman - MAME Compressed Hunks of Data (CHD) manager 0.95u6 (Apr 29 2005)
Invalid file '/dev/disk0'


And, to extract an already created CHD file, I would think I would run:
./chdman -extract gt2005.chd /dev/disk0

but I get this output:
chdman - MAME Compressed Hunks of Data (CHD) manager 0.95u6 (Apr 29 2005)
Input file: gt2005.chd
Output file: /dev/disk0
Error opening output file '/dev/disk0'


I need help here. Thanks in advance... I have attached chdman so you can have it to see what I am doing wrong here...
QUOTE Thanks

Post Reply New Thread Subscribe


« Another Finder | Join .avi files. Which current app ? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Terminal Won't Open icefall5 OS X - Operating System 7 08-25-2010 08:26 AM
C++ in terminal frike OS X - Development and Darwin 2 04-04-2008 10:52 AM
Terminal problems please help CliveO OS X - Operating System 6 03-20-2007 10:04 AM
Terminal Problem WROC OS X - Apps and Games 5 01-09-2007 04:01 PM
Terminal Help rs2sensen OS X - Apps and Games 1 04-25-2005 10:52 PM

All times are GMT -4. The time now is 09:44 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?