From george at galis.org Fri May 11 14:57:52 2007 From: george at galis.org (George Georgalis) Date: Fri May 11 14:57:57 2007 Subject: [macosx-unix] getting at the cd device file, and eject Message-ID: <20070511185752.GF22951@run.galis.org> So I have this nice audio cd in my powerbook. when I tried to read the /dev/disk1 file with dd (it was auto mounted, and I used df to determine the device node), I got dd: /dev/disk1: Resource busy I thought that was odd for read only media, but I did sudo umount /dev/disk1 and tried to read it again with dd. same error, hosed system required reboot. So, how do I use dd to read a cdrom? eg to make an iso file? and is there a way other than reboot to fix a system (or at least eject) with a umounted cdrom? // George -- George Georgalis, information systems scientist < From compustretch at gmail.com Fri May 11 16:31:09 2007 From: compustretch at gmail.com (forest mars) Date: Fri May 11 16:31:13 2007 Subject: [macosx-unix] getting at the cd device file, and eject In-Reply-To: <20070511185752.GF22951@run.galis.org> References: <20070511185752.GF22951@run.galis.org> Message-ID: On 5/11/07, George Georgalis wrote: > > So I have this nice audio cd in my powerbook. > > So, how do I use dd to read a cdrom? eg to make an > iso file? and is there a way other than reboot to > fix a system (or at least eject) with a umounted > cdrom? thems 2 different questions of course: 1. "dd if=/dev/disk1 of=myfile.iso" works for me. you could try specifically defining the bs, though you shouldn't have to. 2. resource busy would seem to be the real issue here, assuming that /disk1 works in every other respect, but locks up when you try to dd it? did you try "diskutil info /volumes/disk1" ? Just starting with the obvious. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://beth.easthouston.org/pipermail/macosx-unix/attachments/20070511/e1fcc004/attachment.html From MAILER-DAEMON at beth.easthouston.org Wed May 16 15:48:50 2007 From: MAILER-DAEMON at beth.easthouston.org (Mail Delivery System) Date: Wed May 16 19:14:29 2007 Subject: [macosx-unix] Undelivered Mail Returned to Sender Message-ID: This is the Postfix program at host beth.easthouston.org. I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix program : connect to 127.0.1.50[127.0.1.50]: Operation timed out Reporting-MTA: dns; beth.easthouston.org X-Postfix-Queue-ID: 507466C6FD4 X-Postfix-Sender: rfc822; macosx-unix-bounces@lesmuug.org Arrival-Date: Fri, 11 May 2007 14:57:58 -0400 (EDT) Final-Recipient: rfc822; jesse@theholymountain.com Action: failed Status: 4.0.0 Diagnostic-Code: X-Postfix; connect to 127.0.1.50[127.0.1.50]: Operation timed out From: "George Georgalis" Date: May 11, 2007 2:57:52 PM EDT To: macosx-unix@lesmuug.org Subject: [macosx-unix] getting at the cd device file, and eject So I have this nice audio cd in my powerbook. when I tried to read the /dev/disk1 file with dd (it was auto mounted, and I used df to determine the device node), I got dd: /dev/disk1: Resource busy I thought that was odd for read only media, but I did sudo umount /dev/disk1 and tried to read it again with dd. same error, hosed system required reboot. So, how do I use dd to read a cdrom? eg to make an iso file? and is there a way other than reboot to fix a system (or at least eject) with a umounted cdrom? // George -- George Georgalis, information systems scientist < _______________________________________________ macosx-unix mailing list macosx-unix@lesmuug.org http://beth.lesmuug.org/mailman/listinfo/macosx-unix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://beth.easthouston.org/pipermail/macosx-unix/attachments/20070516/bbca5fb0/attachment.html