On ���, 2002-01-17 at 21:27, Borsenkow Andrej wrote: > On ���, 2002-01-17 at 17:09, Borsenkow Andrej wrote: > > Many people including me are annoyed by supermount attempting to mount > > empty drives. It is causing delays in GUI filemanagers; it also makes > > zsh completion really slow (just try to complete insode /mnt). > > > > Currently there is no check for drive change in subfs_go_online. We > > check for subfs_needs_mount which is something different. > > > > Do we get media change from device when we insert new media? In this > > case we could _try_ to insert check for media change into > > subfs_go_online and simply fall out if no media has been inserted. > > > > I am going to try it @home anyway, but - comments? > > > > Does not work (that easy). We do not have device to check until subfs > has been mounted. Oops. >
Hmm ... looks like query_disk_change always returns 1 if there is no media inserted (at least for my two IDE drives and floppy). Anybody knows if it possible to reliably query for media presence? Except to try to access it as happens currently :( -andrej
