[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Isn't there some option to "mount" that means, "Don't buffer writes to
this filesystem"? It looks like "-o sync" might do it, but it's not
totally obvious.

-- Joe

Matthew Magee <mnmagee at juno.com> writes:

> 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:
&gt; <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>
&gt; 
&gt; Andreas Dilger writes:
&gt; /&gt;In the case of a floppy drive, this is very important, as you don't /
&gt; /&gt;want to be cacheing data from one floppy after you have inserted a new /
&gt; /&gt;floppy. /
&gt; 
&gt; Actually, the floppy drive is able to detect disk changes just fine,
&gt; and since 1.0's the disk change signal (DCL) has been used to trigger
&gt; cache flushing.
&gt; 
&gt; Bill Davidsen wrote:
&gt; /&gt;That said, I have a few other thoughts. First, can't the kernel /
&gt; /&gt;detect when a new floppy is inserted? /
&gt; 
&gt; Yes, the kernel (floppy driver) can do this, and indeed it does.
&gt; 
&gt; /&gt;I can't remember if there is an /
&gt; /&gt;interupt generated when the floppy seats or not. /
&gt; 
&gt; Actually, it is not really an interrupt, but a bit that is set in the
&gt; FD_DIR register. It stays set until the floppy disk driver
&gt; acknowledges it by seeking the drive, or by selecting/unselecting it.
&gt; 
&gt; Before reading from the disk (or whenever it needs to know whether a
&gt; disk has been changed or not), the floppy driver reads this bit, and
&gt; if set notifies the VFS of the disk change. It then proceeds to seek,
&gt; in order to clear this flag (needed in order to detect further
&gt; changes)
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 
&gt; 

-- 
Re-defeat Bush in '04.
--
pub  1024D/BA496D2B 2004-05-14 Joseph A Knapka
     Key fingerprint = 3BA2 FE72 3CBA D4C2 21E4  C9B4 3230 94D7 BA49 6D2B
If you really want to get my attention, send mail to
jknapka .at. kneuro .dot. net.


</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="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>
<li><strong><a name="00546" href="msg00546.html">[ale] Auto-mount floppy in Fedora</a></strong>
<ul><li><em>From:</em> mnmagee at juno.com (Matthew Magee)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00578.html">[ale] OT: Firewall purchase</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00580.html">[ale] Lazy User's Slackware Q: Want printer setup tool</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00546.html">[ale] Auto-mount floppy in Fedora</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00492.html">[ale] Auto-mount floppy in Fedora</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00579"><strong>Date</strong></a></li>
<li><a href="threads.html#00579"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>