[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jul 21 07:46:57 2004 -->
- <!--x-from-r13: zazntrr ng whab.pbz ([nggurj [ntrr) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Auto-mount floppy in Fedora -->
- <li><em>date</em>: Wed Jul 21 07:46:57 2004</li>
- <li><em>from</em>: mnmagee at juno.com (Matthew Magee)</li>
- <li><em>in-reply-to</em>: <<a href="msg00483.html">[email protected]</a>></li>
- <li><em>references</em>: <[email protected]> <<a href="msg00478.html">[email protected]</a>> <<a href="msg00480.html">[email protected]</a>> <<a href="msg00483.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Auto-mount floppy in Fedora</li>
James P. Kinney III wrote:
>On Mon, 2004-07-19 at 20:09, Matthew Magee wrote:
>
>
>
>>According to my A+ book, pin 34 on a floppy drive signals
>>insertion/ejection of a disk, so the mechanism appears to be there. On
>>my Mandrake 9.2 system I can insert/eject a floppy at will. Does not
>>open a Konqueror window though. Still have to do that myself.
>>
>>
>
>Yep. There in theory only. Since the floppy drive was invented during
>the DOS era (error?) and MS-DOS never supported a way to auto-check it
>was never actually used.
>
>That said, it may be time to grab a floppy and do some cable prodding to
>see if pin 34 really does change state on insertion.
>
>A box of AOL CD's says it won't. :) Unless the tester swiped the drive
>from a Mac (that would be cheating and the cheater would be required to
>_take_ a box of AOL CD's)
>
>
>
From The Linux Kernel Archive:
<a rel="nofollow" href="http://www.uwsg.iu.edu/hypermail/linux/kernel/0110.2/0900.html">http://www.uwsg.iu.edu/hypermail/linux/kernel/0110.2/0900.html</a>
Andreas Dilger writes:
/>In the case of a floppy drive, this is very important, as you don't /
/>want to be cacheing data from one floppy after you have inserted a new /
/>floppy. /
Actually, the floppy drive is able to detect disk changes just fine,
and since 1.0's the disk change signal (DCL) has been used to trigger
cache flushing.
Bill Davidsen wrote:
/>That said, I have a few other thoughts. First, can't the kernel /
/>detect when a new floppy is inserted? /
Yes, the kernel (floppy driver) can do this, and indeed it does.
/>I can't remember if there is an /
/>interupt generated when the floppy seats or not. /
Actually, it is not really an interrupt, but a bit that is set in the
FD_DIR register. It stays set until the floppy disk driver
acknowledges it by seeking the drive, or by selecting/unselecting it.
Before reading from the disk (or whenever it needs to know whether a
disk has been changed or not), the floppy driver reads this bit, and
if set notifies the VFS of the disk change. It then proceeds to seek,
in order to clear this flag (needed in order to detect further
changes)
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00579" href="msg00579.html">[ale] Auto-mount floppy in Fedora</a></strong>
<ul><li><em>From:</em> jknapka at kneuro.net (Joe Knapka)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00468" href="msg00468.html">[ale] Auto-mount floppy in Fedora</a></strong>
<ul><li><em>From:</em> jknapka at kneuro.net (Joe Knapka)</li></ul></li>
<li><strong><a name="00478" href="msg00478.html">[ale] Auto-mount floppy in Fedora</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00480" href="msg00480.html">[ale] Auto-mount floppy in Fedora</a></strong>
<ul><li><em>From:</em> mnmagee at juno.com (Matthew Magee)</li></ul></li>
<li><strong><a name="00483" href="msg00483.html">[ale] Auto-mount floppy in Fedora</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00545.html">[ale] IPSec question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00547.html">[ale] Cnn.com - Open-source software running the Internet under the radar - Jul 20, 2004</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00497.html">[ale] Auto-mount floppy in Fedora</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00579.html">[ale] Auto-mount floppy in Fedora</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00546"><strong>Date</strong></a></li>
<li><a href="threads.html#00546"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>