Hi, It's from the Linux Standard Base (http://www.linux-foundation.org/en/LSB) effort to get various distributions closer together on things like file system layout, system services etc.
Thanx, Jaap Sake Blok wrote: > On Thu, Apr 24, 2008 at 12:55:47PM -0400, Jeff Morriss wrote: >> Guy Harris wrote: >>> Red Hat with a 2.4.x kernel; unfortunately, I don't know of any generic >>> way to determine what version of what Linux distribution you're running >>> on, so I don't know of any way to say "Red Hat Linux 8.1" in the -v output. >> There's not really a generic way but there aren't _that_ many (major) >> Linux distributions. >> >> Redhat and (IIRC) CentOS have /etc/redhat-release; for example: >> >>> Red Hat Enterprise Linux AS release 4 (Nahant Update 2) >> SuSe has /etc/SuSe-release; for example: >> >>> SUSE LINUX Enterprise Server 9 (i586) >>> VERSION = 9 >> A Debian system nearby has its version info in /etc/lsb-release . > > Looking at the Ubuntu upgrade info (8.04 came out today), I discovered > the command "lsb_release -a" which gives the following info on > my ubuntu and fedora systems: > > [EMAIL PROTECTED]:~$ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 7.10 > Release: 7.10 > Codename: gutsy > [EMAIL PROTECTED]:~$ > > [EMAIL PROTECTED] trunk]$ lsb_release -a > LSB Version: > :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch > Distributor ID: Fedora > Description: Fedora release 8 (Werewolf) > Release: 8 > Codename: Werewolf > [EMAIL PROTECTED] trunk]$ > > I'm not sure though if all distributions support that command. > > Cheers, > Sake _______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
