Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #241960
| From | "Koler, Nethanel" <nkoler@amazon.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Debian version |
| Date | 2021-11-09 10:40 +0100 |
| Message-ID | <DhvLH-4EM-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi I am Nati, I am trying to find a variable that is configured in the linux-headers that can tell me on which Debian I am For example in RedHat After downloading the linux-headers I can go to cd /usr/src/kernels/<header>/include/generated/uapi/linux There there is a file called version.h Where they define this variables #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #define RHEL_MAJOR 8 #define RHEL_MINOR 4 When I tried the same with Debian I got to a dead end Can you please help me find something similar in the linux-headers for Debian? Thank you Nati Koler
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Debian version "Koler, Nethanel" <nkoler@amazon.com> - 2021-11-09 10:40 +0100
Re: Debian version Eric Krona <ek@itomat.se> - 2021-11-09 11:50 +0100
Re: Debian version Greg Wooledge <greg@wooledge.org> - 2021-11-09 13:30 +0100
Re: Debian version Anders Andersson <pipatron@gmail.com> - 2021-11-11 14:30 +0100
Re: Debian version Linux-Fan <Ma_Sys.ma@web.de> - 2021-11-09 13:40 +0100
csiph-web