Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Metatron

macrumors 6502
Original poster
Jul 2, 2002
385
97
I did not really know were to put this thread. Darwin is the foundation for OS X so i thought this would do.

I downloaded OpenDarwin 8 for x86 to just play with it. I have X11 on a cd, but I have no clue how to read the thing. I beleive I have to mount it, but I don't know how.

So how do you mount a cd in Darwin so i can read files on it.

Thanks
 
Metatron said:
I did not really know were to put this thread. Darwin is the foundation for OS X so i thought this would do.

I downloaded OpenDarwin 8 for x86 to just play with it. I have X11 on a cd, but I have no clue how to read the thing. I beleive I have to mount it, but I don't know how.

So how do you mount a cd in Darwin so i can read files on it.

Thanks
Hmm. If it is similar to most unix variants... You would need to first become the root user if you are not already.

Now you need to create a directory with which to mount the media. I would suggest:

mkdir /mnt/cdrom

or something like that.

Next we need to figure out what the hardware device address is. On Tiger my cd drive is /dev/disk1s2. Hopefully yours is the same, otherwise you'll need to do some footwork to figure it out.

The command you need would then be:

mount -t iso9660 /dev/disk1s2 /mnt/cdrom

Your media should now be displayed in /mnt/cdrom if all went according to plan.

Sorry if I did this in too basic of a way. I am not sure of your experience with unix variants. I surely hope you are not starting out with Darwin without some knowledge though, as I fear it is going to be an arduous battle for you.

Tell me if this works or not, so we can try to get it going.

Jim
 
I'm trying to do the exact same thing (get X11 on Darwin_x86)... I got my CD to mount using:

mkdir /cdrom
mount_cd9660 /dev/disk1s1 /cdrom

Hope it helps!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.