On Fri, Jan 24, 2003 at 10:09:32AM -0800, Matthew Jacob wrote: > > It's like when I pull the power plug because my system is totally hosed and > > I want to start over. I know I can cause damage by doing that, but I would > > be upset if the new system booted back to the broken state it was in when I > > unplugged it. > > You may want your device to reattach as totally new. You may, on the other > hand, want your device to resume where you left off. I can see valid > reasons for wanting either behaviour (but it can't/shouldn't be deduced > by the OS).
The kernel does not remember this device once it is gone. If user space thinks it recognizes it, it must have a means to tell the kernel what it should do. What kind of info? The only thing that I can think of right now is the name. User space may tell the kernel under what name a device should be accessible. [Today user space can tell the kernel the numbering of the partitions.] More generally, the question of what "same device" means depends on the application. Is /dev/fd0 the same device as /dev/fd0 also when the floppy is different? Yes, the name is the same. The contents not. In all cases user space does not tell the kernel "it is the same as ..." since the kernel does not remember anyway. User space just instructs the kernel to do certain definite things. Andries ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
