> 
> > Then you reboot. The link /lib/dev-state/sda4 is copied back into
/dev.
> After
> > some time you come, plug in your removable drive, do 'mount
/dev/sda4
> /mnt/hd'
> > ... and nothing happens. Because /dev/sda4 already exists, so no
LOOKUP
> event
> > is generated, no module is loaded.
> 
> i'd say this is only a problem if you load modules on demand, aka you
> don't
> put scsi_hostadapter in /etc/modules, or if you modprobe -r using a
cron,
> is
> that true? In that case it's not a problem for 8.1, and we'll see what
can
> be
> done about this *after* 8.1

Yes, it is correct for modules that are loaded on demand. No, it is
wrong that I do not have them in /etc/modules (I do not have original
message any more but I believe I quoted my /etc/modules and
/etc/modules.conf).

I do have ppa loaded via /etc/modules. The problem is ppa does not find
anything on startup and quits. Then I connect Jaz drive and have to load
ppa again (hmm, why I have the feeling I'm describing it the fourth time
already). Normally it would do it automatically *if* we did not try to
"restore" /dev state.

So the problem happens always when drive is not present (ready) on
startup, that is often the case with removable drives.

Besides, modprobe -r is included in 8.1 so I fail to see how it cannot
be a problem here. I agree that we may not find suitable solution is
such a short time. The large hack it to skip device nodes managed by
devfs (and automatically created by devfs for that matter) from
restoring on startup as I have suggested.

-andrej 



Reply via email to