[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian version



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

Reply to: