On Thu, Feb 05, 2004 at 06:18:44AM +0000, Miguel A Paraz wrote: > I would've thought that a 'umount' would 'sync' as well. > > I can't reproduce the errors right now, but they were pertaining to the > device numbers. Even 'umount' works at the filesystem level. I think to > be safe, we need some system call that tells the kernel that the device is > gone. > > (Maybe in kernel 2.6?)
Maybe there's a command to do that, called 'rmmod'. :) If you unload the driver, then there should be nothing left inside the Linux that thinks the device still exists. Actually, I think that perhaps the USB subsystem should have been constructed a bit more closely approximating that of the PCMCIA/Cardbus subsystem, with notions of a device being inserted, disconnecting a device, and so on. -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
