[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Feb 16 16:29:58 2005 -->
- <!--x-from-r13: cenf ng plpybrnfgrea.pbz (cenf ng plpybrnfgrea.pbz) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] BASH script - wait for CD insert -->
- <li><em>date</em>: Wed Feb 16 16:29:58 2005</li>
- <li><em>from</em>: pras at cycloeastern.com (pras at cycloeastern.com)</li>
- <li><em>in-reply-to</em>: <<a href="msg00632.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00632.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] BASH script - wait for CD insert</li>
After that you can use directory notification.
<a rel="nofollow" href="http://www.student.lu.se/~nbi98oli/dnotify.html">http://www.student.lu.se/~nbi98oli/dnotify.html</a>
Please lookup dnotify.txt in the kernel Documentation directory.
On Wed, Feb 16, 2005 at 02:14:09AM +0000, Jay Loden wrote:
> I am scripting a DVD backup solution, and the idea is for the script to email
> the admin when it is ready for the backup, then the admin puts in the DVD and
> the backup is performed. Does anyone know of a way to eject the CD tray,
> wait for the DVD insert and then when it's inserted, continue on with the
> script (burn the backup)?
>
> I know how to eject the tray, but not how to wait for and detect insertion of
> the DVD.
>
> -Jay
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
--
________________________________________________________________________
Prasanna Subash | "I have five dollars for each of you." --
pras at cycloeastern.com | Bernhard Goetz
|
|
________________________________________________________________________
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00632" href="msg00632.html">[ale] BASH script - wait for CD insert</a></strong>
<ul><li><em>From:</em> jloden at toughguy.net (Jay Loden)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00644.html">ALE swap meet: was [ale] [OT] 14" monitor use?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00646.html">ALE swap meet: was [ale] [OT] 14" monitor use?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00649.html">[ale] BASH script - wait for CD insert</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00641.html">[ale] SUSE 9.2 DVD</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00645"><strong>Date</strong></a></li>
<li><a href="threads.html#00645"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>