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

[no subject]



Chris Fowler wrote:
> I would like to write log data to an external thumb drive.  If the user
> unplugs it to read it then I need to be able to stop writing.  When they
> plug it back in I start writing data again.  I do not intend on
> buffering data until they plug back in.  If it does not exist then the
> data would not be written.
> 
> I've rewrote much of the hotplug code in C because the hotplug stuff
> that is on kernel.org and in RH is written in bash.  I can not really do
> IPC with bash.  
> 
> I can have hotplug start up the streamers when it is plugged in.  Then
> the streamers will be terminated when it is unplugged.  It is also
> possible that the streamers could always be running.  They would not
> carry file descriptors around for the log files on the flash.  They
> would open(), write(), close().  Then go into a select() loop waiting on
> data to write to flash.
> 
> 
> On Wed, 2004-01-21 at 21:17, Geoffrey wrote:
> 
>>Chris Fowler wrote:
>>
>>>There may be some corruption of the file in vfat.  But that is not
>>>really of a concern.  I can recover from that in my code.
>>
>>So I guess I don't understand the problem.  I'd suggest you'd be in the 
>>same boat with ext2, ext3, Reiser or whatever.
> 
> 
> _______________________________________________
> Ale mailing list
> 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; 

-- 
__________________________________________________________
Dow Hurst                  Office: 770-499-3428            *
Systems Support Specialist    Fax: 770-423-6744            *
1000 Chastain Rd. Bldg. 12                                 *
Chemistry Department SC428  Email:   dhurst at kennesaw.edu   *
Kennesaw State University         Dow.Hurst at mindspring.com *
Kennesaw, GA 30144                                         *
************************************************************
This message (including any attachments) contains          *
confidential information intended for a specific individual*
and purpose, and is protected by law.  If you are not the  *
intended recipient, you should delete this message and are *
hereby notified that any disclosure, copying, distribution *
of this message, or the taking of any action based on it,  *
is strictly prohibited.                                    *
************************************************************


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00907" href="msg00907.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00815" href="msg00815.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="00817" href="msg00817.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00822" href="msg00822.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="00824" href="msg00824.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00828" href="msg00828.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00831" href="msg00831.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00839" href="msg00839.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00842" href="msg00842.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00848" href="msg00848.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00849" href="msg00849.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00865" href="msg00865.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00868" href="msg00868.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="00872" href="msg00872.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00873" href="msg00873.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="00877" href="msg00877.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00891" href="msg00891.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="00880" href="msg00880.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00895" href="msg00895.html">[ale] USB-&gt;IDE problems</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00905.html">[ale] Copying CDs with cdrecord</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00907.html">[ale] USB-&gt;IDE problems</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00895.html">[ale] USB-&gt;IDE problems</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00907.html">[ale] USB-&gt;IDE problems</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00906"><strong>Date</strong></a></li>
<li><a href="threads.html#00906"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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