[Drbd-dev] Re: [john.cagle@hp.com: FW: device number request for drbd]

Philipp Reisner philipp.reisner@linbit.com
Fri, 30 Jul 2004 11:56:18 +0200


On Friday 30 July 2004 00:32, Lars Marowsky-Bree wrote:
> On 2004-07-28T19:56:09,
>
>    Philipp Reisner <philipp.reisner@linbit.com> said:
> > > This is _not_ a change we can push out. The major number _might_ be
> > > changed, but the device path absolutely has to stay stable.
> >
> > Maybe
> > for ((i=0;i<16;i++)); do mknod /dev/nb$i b 147 $i; done
>
> No. Because the user might have the RPM installed (thus the post-install
> would get triggered on update), but may in fact be using nbd.
>
> We'll have to make the drbd we ship default to the old major/minor and
> also keep the examples consistent with that.
>
> However, we can advise them use the different major in the future, but
> for a GA'ed product, we cannot break what is essentially the ABI to
> userspace.
>
>

So then, we will reenable the major_nr module parameter. 
Then SuSE only needs to patch the init script to pass the module parameter..

-Philipp
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :