Matthew Dharm wrote:
>
> On Thu, 6 Apr 2000, Vojtech Pavlik wrote:
>
> > I could easily add MOD_INC_COUNT to a dev->open callback in usbmouse.c.
> > That's no problem. However, this would also mean I'll never be able to
> > remove usbkbd.o or hid.o, because a keyboard is always in use with the
> > console system.
>
> I think this is the crux of the problem... the keyboard and mouse are
> special cases because they're really always in use.
>
> Things like cameras, disks, ethernet dongles, etc. are not always in use,
> and we have to be sure that we're managing them properly.
Speaking of USB devices that are not always in use, what are we going
to do to make using mountable removable media easy? I am referring to
the differences between how Linux treats removable media and how
Windoze/Mac does. For example, when you write a file to the Castlewood
ORB drive using usb-storage, that file may not have actually been fully
written. I have seen a case when I had copied a directory tree to the
ORB drive, moved the drive to a Windoze machine and discovered that
half of the files where 4KB.
I haven't really checked, but are we handling the case where a storage
device is disconnected without the usual "sync"/"umount" cycle? Is
there a way for us to do this? I notice that folks are working an the
automount portion, but I haven't seen discussion of unmounting.
Miles
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]