Re: Announce: modutils 2.3.24 is available
On Wed, 03 Jan 2001, Keith Owens wrote: > >I can send in a patch if you want (that just changes the docs, but not > >the functionality). > > Don't bother. It will change in 2.5 anyway, I can live with the odd > query until then. If you really want to get only the version number > then this will work for modutils 2.x for x >= 3. > > (/sbin/depmod -V -n | head -1) 2>/dev/null I was just thinking to write -V "output version in addition to normal operation" in --help, nothing bigger than like 5 minutes. -- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: modutils 2.3.24 is available
On Wed, 3 Jan 2001 12:40:05 +0100, Matthias Andree <[EMAIL PROTECTED]> wrote: >On Wed, 03 Jan 2001, Keith Owens wrote: > >> Matthias Andree <[EMAIL PROTECTED]> wrote: >> >There's a problem. depmod should not try to do anything besides giving >> >its version when --version is used, should it? >> >> Historical accident. I want to clean that up but it breaks existing >> behaviour; > >Okay, backwards compatibility weighs a lot. > >May I kindly ask you to give a note that -V does NOT terminate the >program, but also comprises regular operation in --help and the man >pages? > >I can send in a patch if you want (that just changes the docs, but not >the functionality). Don't bother. It will change in 2.5 anyway, I can live with the odd query until then. If you really want to get only the version number then this will work for modutils 2.x for x >= 3. (/sbin/depmod -V -n | head -1) 2>/dev/null - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: modutils 2.3.24 is available
On Wed, 03 Jan 2001, Keith Owens wrote: > Matthias Andree <[EMAIL PROTECTED]> wrote: > >There's a problem. depmod should not try to do anything besides giving > >its version when --version is used, should it? > > Historical accident. I want to clean that up but it breaks existing > behaviour; somewhere, somebody is bound to rely on depmod -V updating > modules.dep at the same time. modutils 2.5 will clean up a lot of > backwards compatibility crud, including this one. But you will not see > modutils 2.5 until Linus rolls kernel 2.5 and we start the next > development cycle. Okay, backwards compatibility weighs a lot. May I kindly ask you to give a note that -V does NOT terminate the program, but also comprises regular operation in --help and the man pages? I can send in a patch if you want (that just changes the docs, but not the functionality). -- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: modutils 2.3.24 is available
On Wed, 03 Jan 2001, Keith Owens wrote: Matthias Andree [EMAIL PROTECTED] wrote: There's a problem. depmod should not try to do anything besides giving its version when --version is used, should it? Historical accident. I want to clean that up but it breaks existing behaviour; somewhere, somebody is bound to rely on depmod -V updating modules.dep at the same time. modutils 2.5 will clean up a lot of backwards compatibility crud, including this one. But you will not see modutils 2.5 until Linus rolls kernel 2.5 and we start the next development cycle. Okay, backwards compatibility weighs a lot. May I kindly ask you to give a note that -V does NOT terminate the program, but also comprises regular operation in --help and the man pages? I can send in a patch if you want (that just changes the docs, but not the functionality). -- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: modutils 2.3.24 is available
On Wed, 3 Jan 2001 12:40:05 +0100, Matthias Andree [EMAIL PROTECTED] wrote: On Wed, 03 Jan 2001, Keith Owens wrote: Matthias Andree [EMAIL PROTECTED] wrote: There's a problem. depmod should not try to do anything besides giving its version when --version is used, should it? Historical accident. I want to clean that up but it breaks existing behaviour; Okay, backwards compatibility weighs a lot. May I kindly ask you to give a note that -V does NOT terminate the program, but also comprises regular operation in --help and the man pages? I can send in a patch if you want (that just changes the docs, but not the functionality). Don't bother. It will change in 2.5 anyway, I can live with the odd query until then. If you really want to get only the version number then this will work for modutils 2.x for x = 3. (/sbin/depmod -V -n | head -1) 2/dev/null - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: modutils 2.3.24 is available
On Wed, 03 Jan 2001, Keith Owens wrote: I can send in a patch if you want (that just changes the docs, but not the functionality). Don't bother. It will change in 2.5 anyway, I can live with the odd query until then. If you really want to get only the version number then this will work for modutils 2.x for x = 3. (/sbin/depmod -V -n | head -1) 2/dev/null I was just thinking to write -V "output version in addition to normal operation" in --help, nothing bigger than like 5 minutes. -- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: modutils 2.3.24 is available
On Tue, 2 Jan 2001 19:12:49 +0100, Matthias Andree <[EMAIL PROTECTED]> wrote: >There's a problem. depmod should not try to do anything besides giving >its version when --version is used, should it? Historical accident. I want to clean that up but it breaks existing behaviour; somewhere, somebody is bound to rely on depmod -V updating modules.dep at the same time. modutils 2.5 will clean up a lot of backwards compatibility crud, including this one. But you will not see modutils 2.5 until Linus rolls kernel 2.5 and we start the next development cycle. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: Announce: modutils 2.3.24 is available
On Mon, 01 Jan 2001, Keith Owens wrote: > ftp://ftp..kernel.org/pub/linux/utils/kernel/modutils/v2.3 > > modutils-2.3.24-1.src.rpm As above, in SRPM format There's a problem. depmod should not try to do anything besides giving its version when --version is used, should it? I'd rather expect exit(0) or _exit(0); for --version and --help. (modprobe shows the same behaviour as depmod, insmod throws its version number and the usage information, I did not bother to check the other tools.) $ /sbin/depmod --version depmod version 2.3.24 Warning: You do not need a link from /etc/conf.modules to /etc/modules.conf. The use of /etc/conf.modules is deprecated, please remove /etc/conf.modules as soon as possible. Command rm /etc/conf.modules depmod: Can't open /lib/modules/2.2.18-ma2/modules.dep for writing -- Matthias Andree PGP signature
Re: Announce: modutils 2.3.24 is available
On Mon, 01 Jan 2001, Keith Owens wrote: ftp://ftp.country.kernel.org/pub/linux/utils/kernel/modutils/v2.3 modutils-2.3.24-1.src.rpm As above, in SRPM format There's a problem. depmod should not try to do anything besides giving its version when --version is used, should it? I'd rather expect exit(0) or _exit(0); for --version and --help. (modprobe shows the same behaviour as depmod, insmod throws its version number and the usage information, I did not bother to check the other tools.) $ /sbin/depmod --version depmod version 2.3.24 Warning: You do not need a link from /etc/conf.modules to /etc/modules.conf. The use of /etc/conf.modules is deprecated, please remove /etc/conf.modules as soon as possible. Command rm /etc/conf.modules depmod: Can't open /lib/modules/2.2.18-ma2/modules.dep for writing -- Matthias Andree PGP signature
Re: Announce: modutils 2.3.24 is available
On Tue, 2 Jan 2001 19:12:49 +0100, Matthias Andree [EMAIL PROTECTED] wrote: There's a problem. depmod should not try to do anything besides giving its version when --version is used, should it? Historical accident. I want to clean that up but it breaks existing behaviour; somewhere, somebody is bound to rely on depmod -V updating modules.dep at the same time. modutils 2.5 will clean up a lot of backwards compatibility crud, including this one. But you will not see modutils 2.5 until Linus rolls kernel 2.5 and we start the next development cycle. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/