Lähettäjä: karl Päiväys: Vastaanottaja: dng Aihe: Re: [DNG] Purpose of an OS: was network device naming (was: What
can I do after netman?)
Somon: > karl@??? wrote: ... > > ... after all, fstab and /dev/-names are just
> > for the user space. The kernel mostly only cares about the maj/min
> > numbers, or am I wrong?
>
> That's the case all along. The question is how to map those node
> IDs to something human readable.
Maybe it's a valid question, but it's not the question I'm posing.
When you reconnect the disk it will get a new maj/min number, you might
call it the same /dev-name, but for the kernel it's a totally new disk.
> > What happens when you unplug your root fs, wait a few seconds till
> > the kernel gives up and then plug it in again ?
>
> I would expect the system to die horribly if you do that - regardless of how you name things !
So, why is that ?
If you disconnect a network cable, serial port, etc., does the system,
or even some connection die ?
If you connect the disk again and the kernel sees that it is the same fs
etc., why not silently make it available again, why should the system
have to die ?
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57