--- In Kevin Cozens <> wrote:
>
> someone wrote:
> > If the first USB device is removed and a second is inserted, the
> > kernel logs the new flash partition as well. A program could
easily
> > determine how to properly mount the USB flash device. The problem
> > develops if a previously inserted devices is re-inserted,
>
> Is the device being removed unmounted before it is removed? How
much time
> elapses between the first device being removed and a second
inserted?
>
> The USB device should get unmounted automatically once it has been
removed but
> if you are writing data to the device you should unmount it before
removing
> it. If you aren't unmounting the device before swapping them, you
may need to
> wait a while between removal and insertion to give the kernel time
to detect
> the removal and unmount the device.
>
> --
> Cheers!
>
> Kevin.
>
> http://www.ve3syb.ca/ |"What are we going to do today,
Borg?"
> Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
> | Try to assimilate the world!"
> #include <disclaimer/favourite> | -Pinkutus & the Borg
>
Kevin,
The problem isn't unmounting issue as much as mounting. Since the
partition changes for each USB flash device inserted, it is difficult
to determine how to properly mount the device without attempting each
of the devices under the /dev/scsi tree. I currently mount each
sequentially until the mount command doesn't report errors which
works but is not a clean solution.
Bob
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|