image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old February 22nd, 2003, 02:42 PM
Registered User
 
Join Date: Feb 2003
Location: St. Florian
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
wurf is on a distinguished road
What is the cdrom called in the /dev Directory??

Hi!

I want to install Bochs and therefore I must know the name of the CD Drive in the /dev Directory.
How can I find it out or is there a standard name for CD drives?
Please, help me I'm new with OS X but I had Linux before...

Thanks for your time,

Michi


My System:
iBook2.2, 700MHz G3, 384MB RAM, 20GB, Mac OS X + OS 9.2, Airport
Reply With Quote
  #2  
Old February 22nd, 2003, 08:55 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montréal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
Linux usually assigns all devices a /dev/_name_ path. Darwin (Mac OS X), on the other hand, assigns all volumes (CDs, DVDs, FireWire, floppies, flash sticks, etc) names in the /Volumes/.. folder.

So if your CD is called My CD it will be located at
/Volumes/My CD

I don't believe that you can make a static /dev/cdrom assignment like other *nixs do, but I'm away from my Darwin at the moment and can't check. I'm guessing that because I can SSH into my iMac and I don't see anything corresponding to a /dev/cdrom (and I have a mounted CD in the drive).
__________________
michaelsanford.comBlogTwitterTumblrLinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
  #3  
Old February 23rd, 2003, 02:06 AM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
You really don't want to install bochs.
Trust me.
You're far better off with Virtual PC.

But, to answer your initial question: it depends on your system. I have 3 hard disks (/ at disk0, the other two are disk1 and disk2) and currently a DMG is mounted at disk3. If I were to put in a CD-ROM, it would then be at disk4. When I don't have any DMGs mounted, I can usually expect my SuperDrive to be disk3, but as you can see it is a hit-or-miss proposition.

If you have a single hard disk, it's likely that most of the time your optical drive will be on disk1. But as always, check with df to be sure.

Last edited by gatorparrots; February 23rd, 2003 at 12:23 PM.
Reply With Quote
  #4  
Old February 23rd, 2003, 06:02 AM
Registered User
 
Join Date: Feb 2003
Location: St. Florian
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
wurf is on a distinguished road
I´ve solved the problem!

I simply guessed some commands and so I found the df command. I should have known it before (because of Linux) but I have Linux installed only for 5 months now.
My CD is /dev/disk1s0!

You are right, that VPC would be better than Bochs but it´s soo expensive!
I'm installing win98 in Bochs at the moment, but I can already see that it is very slow.

Thanks for your answers

Michi

Sorry for the mistakes, I'm from Austria
Reply With Quote
  #5  
Old February 23rd, 2003, 12:21 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
VPC with a DOS license is $89. Bring your own copy of Windows 98 or SE and you're all set. That's what I did here. Bochs was painful to configure and slooooooooooooooooow. It's not worth the effort, generally.
Reply With Quote
  #6  
Old February 24th, 2003, 03:33 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montréal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
Cool I didn't realise the CD rom was assigned that arbitrary name in /dev, might come in handy...
__________________
michaelsanford.comBlogTwitterTumblrLinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
Reply

Thread Tools

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SHUTDOWN without warning SCARY!! astro_sk Mac OS X System & Mac Software 10 May 16th, 2003 02:45 PM
I installed Fink under root and..... Hydroglow Unix & X11 5 November 27th, 2002 04:57 PM
Java and main thread error Kris Software Programming & Web Scripting 5 May 14th, 2002 12:02 PM
deleting a directory on command line paleafterglow Unix & X11 3 May 7th, 2002 01:21 AM


All times are GMT -5. The time now is 09:07 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.