On ÐÑÐ, 2001-12-05 at 10:52, Borsenkow Andrej wrote:
>
> >
> > [root@bononcini guillaume]# /etc/init.d/rawdevices start
> > Affectation des pÃriphÃriques
> > /dev/raw/raw1 --> /dev/hdc
> > Cannot open master raw device '/dev/rawctl' (No such file or
> directory)
> > fini
> >
>
> No wonder, there is no support for devfs in raw.c
>
O.K., here is a patch that adds support for devfs to raw.c. It
precreates /dev/raw/raw* nodes for all available minors; I do not
particularly like it, but raw command needs existing devices to get
minor number from; also, strictly speaking, all of them do exist as soon
as driver is loaded.
Is it acceptable from devfs point of view? It seems to work here.
Patch is against 2.4.16-4mdk
Guillaume, could you test it?
-andrej
raw.c.diff
Description: Text Data
|