DragonFly commits List (threaded) for 2008-01
DragonFly BSD
DragonFly commits List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src Makefile.inc1 Makefile_upgrade.inc src/etc Makefile


From: Bill Hacker <wbh@xxxxxxxxxxxxx>
Date: Tue, 15 Jan 2008 04:40:05 +0000

Matthew Dillon wrote:
:A minor thing - Redhat uses /etc/redhat-release and Debian uses
:/etc/debian_version - can we do something like /etc/dragonfly-version ? :If we're going to add a file, it may as well match a minor trend.
I'm all for something like that, though because the names are not
encoded to any particular standard ours should be in /etc/upgrade/
somewhere.


    Someone mentioned /etc/uname... not sure if that's encoded to any
    general standard either but it's worth researching.  The 'uname'
    program is the only thing that's actually standardized across platforms.

-Matt
Matthew Dillon <dillon@backplane.com>

'/uname' may also be less likely to be affected by the unexpected - e.g. someone *elses* idea - even an inconsiderate application - attempting to utilize ~/upgrade


Nice byproduct if so formatted that the 'uname' utility - or an enhanced one - JFW w/r showing the relevant info when asked by humans as well as the build tools...

Bill



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