Mk 27 wrote: > Tom Cloyd wrote: > > >> system( "mount '" + cd_source + "'" ) >> > > There is a problem here in that most contemporary linux users use > distros with auto-mounting. So either change the prompt to "Insert disk > and hit enter AFTER cd is mounted" or use a sleep() of some appropriate > duration. > Erp. Well.... You are entirely correct. In my transition from Windows to Linux about a year ago, I found this whole CD mounting business a bit confusing. Then I figured out how to get it work and either learned an old-fashioned way, or the the OS moved to auto-mounting and I just didn't notice (the latter, I think). The code runs on my OS as written, but it also runs if one comments out this line system( "mount '" + cd_source + "'" ) and manually closes the CD and waits for the light to out. Cool...My system (the one I run in my head) just got updated today. You see how helpful this list is? Thanks MK. t. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << tc / tomcloyd.com >> (email) << TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~