Re: What to do about /etc/debian_version

2001-01-07 Thread Goswin Brederlow
> " " == Martin Keegan <[EMAIL PROTECTED]> writes: > Martijn van Oosterhout <[EMAIL PROTECTED]> writes: >> Joey Hess wrote: > I think /etc/mtab is on its way out. A 2.4.x >> kernel with devfs has a > /proc/mounts that actually has a >> proper line for the root filesystem. >

Re: What to do about /etc/debian_version

2001-01-07 Thread Martin Keegan
Martijn van Oosterhout <[EMAIL PROTECTED]> writes: > Joey Hess wrote: > > I think /etc/mtab is on its way out. A 2.4.x kernel with devfs has a > > /proc/mounts that actually has a proper line for the root filesystem. > > Linking the two files would probably actually work on such a system > > with

Re: What to do about /etc/debian_version

2001-01-06 Thread Steve Langasek
On Sat, 6 Jan 2001, Marco d'Itri wrote: > On Jan 06, Joey Hess <[EMAIL PROTECTED]> wrote: > >[EMAIL PROTECTED]:/tmp>mount -o loop foo 1 > Why don't we just patch mount to use /var/run/mtab? > I don't know about any other program which modifies it. If we use /var/run/mtab, how does mount update

Re: What to do about /etc/debian_version

2001-01-06 Thread Ethan Benson
On Sat, Jan 06, 2001 at 01:49:59PM +0100, Marco d'Itri wrote: > On Jan 06, Joey Hess <[EMAIL PROTECTED]> wrote: > > >[EMAIL PROTECTED]:/tmp>mount -o loop foo 1 > Why don't we just patch mount to use /var/run/mtab? > I don't know about any other program which modifies it. because /var is not alwa

Re: What to do about /etc/debian_version

2001-01-06 Thread Matt Zimmerman
On Sat, Jan 06, 2001 at 02:19:36PM +0100, Santiago Vila wrote: > On Sat, 6 Jan 2001, Christopher Yeoh wrote: > > This information could instead be stored in /etc/lsb-release. One of > > the reasons for the creation of this file was to standardise across > > the distributions the name and format of

Re: What to do about /etc/debian_version

2001-01-06 Thread Marco d'Itri
On Jan 06, Joey Hess <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED]:/tmp>mount -o loop foo 1 Why don't we just patch mount to use /var/run/mtab? I don't know about any other program which modifies it. -- ciao, Marco

Re: What to do about /etc/debian_version

2001-01-06 Thread Christopher Yeoh
Santiago Vila writes: > > This information could instead be stored in /etc/lsb-release. One of > > the reasons for the creation of this file was to standardise across > > the distributions the name and format of the file which contains this > > type of information. > > Interesting. Is that file in

Re: What to do about /etc/debian_version

2001-01-06 Thread Santiago Vila
On Sat, 6 Jan 2001, Christopher Yeoh wrote: > > So: Is there a *technical* reason to change /etc/debian_version other > > than it being just "nicer"? > > This information could instead be stored in /etc/lsb-release. One of > the reasons for the creation of this file was to standardise across > the

Re: What to do about /etc/debian_version

2001-01-05 Thread Christopher Yeoh
Santiago Vila writes: > something other than "2.2" or "testing/unstable" could potentially > break any script or program which expects /etc/debian_version to be > either "2.2" or "testing/unstable" (since this is what base-files provides). > In this case not only there is no benefit from changing

Re: What to do about /etc/debian_version

2001-01-05 Thread Anthony Towns
On Fri, Jan 05, 2001 at 12:33:34PM +0100, Santiago Vila wrote: > Joey Hess (See Bug#81249) complains about the fact that local changes > to /etc/debian_version are not preserved on upgrades (he wants this > file to read "unstable" instead of the current "testing/unstable"). > > What should I do?

Re: What to do about /etc/debian_version

2001-01-05 Thread Santiago Vila
Joey Hess wrote: > Santiago Vila wrote: > > In short: The reason you want to change /etc/debian_version is really > > a technical one or it is purely aesthetical (which is what I suspect)? > > I know that the system is and will be running unstable in the future. > I'm the only admin. So I'm probabl

Re: What to do about /etc/debian_version

2001-01-05 Thread Joey Hess
Martijn van Oosterhout wrote: > Does 2.4 now also include the information on which loop devices are > related to which filesystems? AFAIK that's the only thing that went > strange after linking /proc/mounts and /etc/mtab; loop devices not being > freed after unmounting. Ah, I knew there was somet

Re: What to do about /etc/debian_version

2001-01-05 Thread Martijn van Oosterhout
Joey Hess wrote: > I think /etc/mtab is on its way out. A 2.4.x kernel with devfs has a > /proc/mounts that actually has a proper line for the root filesystem. > Linking the two files would probably actually work on such a system > without breakage. Does 2.4 now also include the information on whi

Re: What to do about /etc/debian_version

2001-01-05 Thread Joey Hess
Wichert Akkerman wrote: > Previously Joey Hess wrote: > > BTW, what is that file doing in /etc if it is not a configuration file? > > It is a configuration file. Whoops, I somehow managed to miss it when listing dpkg's conffiles. -- see shy jo

Re: What to do about /etc/debian_version

2001-01-05 Thread Wichert Akkerman
Previously Joey Hess wrote: > BTW, what is that file doing in /etc if it is not a configuration file? It is a configuration file. Wichert. -- / Generally uninteresting signature - ignore at your convenience \ | [EMAIL PROTECT

Re: What to do about /etc/debian_version

2001-01-05 Thread Joey Hess
Wichert Akkerman wrote: > You mean the /etc/dpkg/origins/ files? BTW, what is that file doing in /etc if it is not a configuration file? -- see shy jo

Re: What to do about /etc/debian_version

2001-01-05 Thread Joey Hess
Santiago Vila wrote: > > > * Remove this file altogether, since it serves no useful purpose. > > > > The file does serve a useful purpose: it concentrates the debian version > > number string that is used in a number of places (issue.net and so on) > > into one central place to be modified. > > Wh

Re: What to do about /etc/debian_version

2001-01-05 Thread Wichert Akkerman
Previously Vince Mulhollon wrote: > How about creating a directory called "/etc/organizations" including the > following files: You mean the /etc/dpkg/origins/ files? Wichert. -- / Generally uninteresting signature - ignore at

Re: What to do about /etc/debian_version

2001-01-05 Thread Vince Mulhollon
.org>Fax to: Subject: Re: What to do about /etc/debian_version 01/05/2001

Re: What to do about /etc/debian_version

2001-01-05 Thread Santiago Vila
Joey Hess wrote: > Santiago Vila wrote: > > * Remove this file altogether, since it serves no useful purpose. > > The file does serve a useful purpose: it concentrates the debian version > number string that is used in a number of places (issue.net and so on) > into one central place to be modified

Re: What to do about /etc/debian_version

2001-01-05 Thread The Doctor What
* Bart Schuller ([EMAIL PROTECTED]) [010105 07:48]: > I've seen third-party software install scripts use the file to determine > which Linux distribution it's running on. Yes, I think it's important to have one central file that can show (roughly) which version of the OS is running. Being human a

Re: What to do about /etc/debian_version

2001-01-05 Thread Bart Schuller
On Fri, Jan 05, 2001 at 08:07:44AM -0500, Michael Stone wrote: > Screw it, just kill the file. We don't have a mechanism for coping with > it. I've seen third-party software install scripts use the file to determine which Linux distribution it's running on. -- The idea is that the first face sho

Re: What to do about /etc/debian_version

2001-01-05 Thread Michael Stone
Screw it, just kill the file. We don't have a mechanism for coping with it. -- Mike Stone

Re: What to do about /etc/debian_version

2001-01-05 Thread Peter Makholm
Michael Stone <[EMAIL PROTECTED]> writes: > Move it to /var/lib/dpkg Nope, debian_release is independent on the dpkg used. /var/lib/dpkg/ would be a most unintuitive place to place the version of the distribution as a whole.

Re: What to do about /etc/debian_version

2001-01-05 Thread Michael Stone
On Fri, Jan 05, 2001 at 12:33:34PM +0100, Santiago Vila wrote: > Joey Hess (See Bug#81249) complains about the fact that local changes > to /etc/debian_version are not preserved on upgrades (he wants this > file to read "unstable" instead of the current "testing/unstable"). > > What should I do?

Re: What to do about /etc/debian_version

2001-01-05 Thread Joey Hess
Santiago Vila wrote: > * Remove this file altogether, since it serves no useful purpose. The file does serve a useful purpose: it concentrates the debian version number string that is used in a number of places (issue.net and so on) into one central place to be modified. > * Make it a conffile (a