[Tutor] Reading the CDROM in Linux

Alan Gauld alan.gauld at btinternet.com
Sat Nov 6 01:15:06 CET 2010

"Terry Carroll" <carroll at tjc.com> wrote

> On Windows, I do something along the lines of this:
>   startpoint="D:/"
>   for (root, dirs, files) in os.walk(startpoint):
>      (stuff)
> What would I use for startpoint in Linux?  

I don't use Ubuntu so don;t know the standard anmswer 
there but it will depend on where the CD is mounterd.

I usually mount cdroms on /dev/cdrom

But I don't use a standdard distro so set up the mount 
myself (based on where I did itr when I had a Sun 

If you have access to the Linux box can you use a 
file mamnager type program to see where it is mounted?

Alan G.

More information about the Tutor mailing list