Re: Additional (replacement?) vendor-identification
On Thu, Feb 27, 2003 at 04:48:58PM +0100, Pavel Cahyna wrote:
> I don't understand this much. On my Debian/Linux system, uname doesn't
> return anything about Debian, only Linux-specific stuff. I'm not aware
> of any sysctl (on Linux) related to debian or other distribution. So why
> should Debian/NetBSD be different from Debian/Linux in this?
Most software assumes that a given kernel means that there's a given
userland. This is generally only a problem during buildtime, but it
means that we have to be able to distinguish between a GNU userland and
a BSD one.
What would probably be nice would be a single sysctl in the upstream
NetBSD kernel that allowed an arbitrary string to be inserted somewhere
in the bootscripts, which would allow unmodified upstream kernels to be
used (which would possibly appeal to people using various branches and
so on). sysctl -w netbsd.vendor=Debian, for example.
Matthew Garrett | firstname.lastname@example.org