[ale] USB->IDE problems
Dow Hurst
dhurst at kennesaw.edu
Thu Jan 22 10:46:32 EST 2004
How are hotswap hard drives taken care of? Can you treat
the USB device like it is part of a RAID array and is an
extra mirror that is hotswappable? You'd need a RAM drive
as the primary drive and some RAID code for the USB device.
Dow
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
> http://www.ale.org/mailman/listinfo/ale
>
--
__________________________________________________________
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. *
************************************************************
More information about the Ale
mailing list