LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-26-2004, 03:06 AM   #1
Insomnia
LQ Newbie
 
Registered: May 2004
Location: Basque Country
Distribution: Red Hat 9
Posts: 12

Rep: Reputation: 0
Question CD with Autorun


Hi !!

I want to create a CD with autorun, i know that in windows I need to create a autorun.inf file

Code:
[autorun]
open=file.exe
Someone know if in Linux is the same? (without .exe ?)

--Thanks--
 
Old 05-26-2004, 03:25 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
You'd have to modify supermounts source to not only
mount a cd-rom media but also look for a given file/
file-contents to achieve that. On "normal" distro's
(such without that silly auto-mounting feature, that is ;})
there's no way ... you'd have a to write a daemon yourself
that queries the state of the CD-ROM drive (disk/no disk)
and then trigger appropriate action.

On second thought: someone might have been silly
enough, go search on http://freshmeat.net or
http://sourceforge.net

Cheers,
Tink
 
Old 05-26-2004, 07:19 AM   #3
Insomnia
LQ Newbie
 
Registered: May 2004
Location: Basque Country
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Hi

Thanks but I'm newbie in Linux. I use Red Hat 9 with Gnome, and when I introduce a CD, it is mounted automaticaly, but what I want is to create a CD, and when it runs instead of see the files and folders (opened automaticaly) to see the executable file that I heve created (named menu).

I see in the autorun help file

-a, --autorun=EXEC
Execute EXEC, if the CD changes. This executable
must be located on the CD. I.e. if you specify
"--autorun=myprogram", and your CD is mounted under
/mnt/cdrom, after the CD is changed, autorun will
attempt to run "/mnt/cdrom/myprogram". (default
"/autorun")

but where or how can i use it.

--Thanks and excuse me for my ignorance--
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Autorun CD sureshkellemane Linux - Newbie 5 03-17-2005 08:04 PM
autorun apokryphos Linux - General 5 10-11-2004 10:43 AM
cd autorun Daem0hn Linux - General 1 07-22-2003 06:22 AM
cd autorun Daem0hn Linux - General 0 07-22-2003 06:06 AM
Autorun in IceWM Bogdan Linux - Software 1 07-12-2002 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration