Debian bug report logs - #1146, boring messages


Message sent to debian-devel@pixar.com:


Subject: Bug#1146: `mkfs' doesn't find /usr/local/bin/mkfs.msdos
Reply-To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: iwj10@cus.cam.ac.uk (Ian Jackson)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Sun, 23 Jul 1995 20:18:01 GMT
Resent-Message-ID: <debian-bugs-handler.1146.0723200431430@pixar.com>
X-Debian-PR-Package: miscutils
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Sun, 23 Jul 1995 20:18:01 GMT
Received: with rfc822 via encapsulated-mail id 0723200431430;
          Sun, 23 Jul 1995 20:04:31 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sa7F3-0005NXC; Sun, 23 Jul 95 13:03 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA09355
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 23 Jul 1995 13:01:40 -0700
Received: by bootes.cus.cam.ac.uk
	(Smail-3.1.29.0 #36) id m0sa7Ey-000BzfC; Sun, 23 Jul 95 21:03 BST
Received: by chiark
	id <m0sa3tg-0002ZaZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.32); Sun, 23 Jul 95 17:28 BST
Message-Id: <m0sa3tg-0002ZaZ@chiark.al.cl.cam.ac.uk>
Date: Sun, 23 Jul 95 17:28 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>

Package: miscutils
Version: 1.3-1

chiark:~> type mkfs.msdos
mkfs.msdos is /usr/local/bin/mkfs.msdos
chiark:~> echo $PATH
/u/ian/bin/linux:/u/ian/bin/scripts:/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/sbin:/usr/sbin:/bin:/etc:/usr/etc
chiark:~> mkfs -t msdos /dev/fd0H1440
mkfs.msdos: No such file or directory
chiark:~> mkfs.msdos /dev/fd0H1440
mkfs.msdos 0.1, 1st September 1993 for MS-DOS FS
chiark:~>

Ian.


Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#1146: Acknowledgement (was: `mkfs' doesn't find /usr/local/bin/mkfs.msdos)
In-Reply-To: <m0sa3tg-0002ZaZ@chiark.al.cl.cam.ac.uk>
References: <m0sa3tg-0002ZaZ@chiark.al.cl.cam.ac.uk>

Thank you for the problem report you have sent regarding Debian GNU/Linux.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.

If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#1146" or "Re: Bug#1146" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#1146: mkfs' doesn't find /usr/local/bin/mkfs.msdos
Reply-To: Bruce Perens <bruce@Pixar.com>, debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: Bruce Perens <bruce@Pixar.com>
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Mon, 24 Jul 1995 00:48:02 GMT
Resent-Message-ID: <debian-bugs-handler.1146.07240044007109@pixar.com>
X-Debian-PR-Package: miscutils
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Mon, 24 Jul 1995 00:48:02 GMT
Received: with rfc822 via encapsulated-mail id 07240044007109;
          Mon, 24 Jul 1995 00:44:00 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0saBbj-000BCvC; Sun, 23 Jul 95 17:42 PDT
Received: from mongo.pixar.com by pixar.com with SMTP id AA24726
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 23 Jul 1995 17:41:23 -0700
Received: by mongo.pixar.com (Smail3.1.28.1 #15)
	id m0saBai-000BC6C; Sun, 23 Jul 95 17:41 PDT
Message-Id: <m0saBai-000BC6C@mongo.pixar.com>
X-Mailer: exmh version 1.6.2 7/18/95
To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@Pixar.com
Cc: bruce@Pixar.com
In-Reply-To: Your message of "Sun, 23 Jul 1995 17:28:00 PDT."
             <m0sa3tg-0002ZaZ@chiark.al.cl.cam.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 23 Jul 1995 17:41:52 -0700
From: Bruce Perens <bruce@Pixar.com>

Is this a bug in mkfs.msdos, or in mkfs? I would not expect mkfs, a power-tool
program if I've ever seen one, to go out promiscuiously in $PATH running
anything named mkfs.<filesystem-name> . I'd rather see mkfs.msdos installed
under /sbin by one of the base packages.

	Thanks

	Bruce

--
-- Attention Ham Radio Operators: For information on "Linux for Hams", read
-- the World Wide Web page http://www.hams.com/perens/LinuxForHams, or send
-- an e-mail message containing the word "help" to info@hams.com .



Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: Bruce Perens <bruce@Pixar.com>
Subject: Bug#1146: Info received (was Bug#1146: `mkfs' doesn't find /usr/local/bin/mkfs.msdos)
In-Reply-To: <m0saBai-000BC6C@mongo.pixar.com>
References: <m0saBai-000BC6C@mongo.pixar.com>

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developers to
accompany the original report.

If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#1146" or "Re: Bug#1146" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#1146: mkfs' doesn't find /usr/local/bin/mkfs.msdos
Reply-To: Bill Mitchell <mitchell@mdd.comm.mot.com>, debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: Bill Mitchell <mitchell@mdd.comm.mot.com>
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Mon, 24 Jul 1995 03:48:03 GMT
Resent-Message-ID: <debian-bugs-handler.1146.072403411012380@pixar.com>
X-Debian-PR-Package: miscutils
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Mon, 24 Jul 1995 03:48:03 GMT
Received: with rfc822 via encapsulated-mail id 072403411012380;
          Mon, 24 Jul 1995 03:41:10 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0saEN6-0003dRC; Sun, 23 Jul 95 20:40 PDT
Received: from motgate.mot.com by pixar.com with SMTP id AA04256
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 23 Jul 1995 20:38:25 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.7) with ESMTP id WAA22906; Sun, 23 Jul 1995 22:38:50 -0500
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.7) with SMTP id WAA28401; Sun, 23 Jul 1995 22:38:49 -0500
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
	id AA27634; Sun, 23 Jul 95 20:38:48 PDT
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
	id AA22383; Sun, 23 Jul 95 20:38:41 PDT
Date: Sun, 23 Jul 1995 20:38:40 -0700 (PDT)
From: Bill Mitchell <mitchell@mdd.comm.mot.com>
X-Sender: mitchell@bb29c
To: Bruce Perens <bruce@Pixar.com>
Cc: Ian Jackson <iwj10@cus.cam.ac.uk>, debian-bugs@Pixar.com
In-Reply-To: <m0saBai-000BC6C@mongo.pixar.com>
Message-Id: <Pine.SUN.3.91.950723201034.22368A-100000@bb29c>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Sun, 23 Jul 1995, Bruce Perens wrote:

> Is this a bug in mkfs.msdos, or in mkfs? I would not expect mkfs, a power-tool
> program if I've ever seen one, to go out promiscuiously in $PATH running
> anything named mkfs.<filesystem-name> . I'd rather see mkfs.msdos installed
> under /sbin by one of the base packages.

Good question.  The answer seems muddy.

The FSSTND lists file system management commands named mkfs and
mkfs.* (* = one of ext, ext2, minix, msdos, xia, and perhaps
others) [... those words are direct fromt the FSSTND ...] as
"Required files for /sbin".

The mkfs man page says that the file system-sepcific builder
mkfs.type is searched for in /etc/fs first, then in /etc,
and finally in the directories listed in the PATH environment
variable.  Based on a quick look, the code seems to do that.

It seems to me that, wherever else it might check, mkfs should
check in /sbin for an FSSTND-compatably-situated mkfs.type
program.  It doesn't currently seem to do this unless /sbin
is on the current PATH.

Should mkfs support programs mkfs.type programs which local
sysadmins place in /usr/local/sbin?  Should mkfs support
mkfs.type programs placed at an arbitrary location on the
current PATH?  It seems to me that the mkfs designer is on
his own here -- I don't see a standard or a requirements
spec which addresses this.  Lacking a standard or a spec,
I'd not expect the different programmers of different
utilities to have made designers-choice decisions such as
this in the same way.




Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: Bill Mitchell <mitchell@mdd.comm.mot.com>
Subject: Bug#1146: Info received (was Bug#1146: mkfs' doesn't find /usr/local/bin/mkfs.msdos)
In-Reply-To: <Pine.SUN.3.91.950723201034.22368A-100000@bb29c>
References: <Pine.SUN.3.91.950723201034.22368A-100000@bb29c>

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developers to
accompany the original report.

If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#1146" or "Re: Bug#1146" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#1146: mkfs' doesn't find /usr/local/bin/mkfs.msdos
Reply-To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@pixar.com
Resent-From: iwj10@cus.cam.ac.uk (Ian Jackson)
Resent-To: debian-devel@pixar.com
Resent-Date: Tue, 25 Jul 1995 14:33:05 GMT
Resent-Message-ID: <debian-bugs-handler.1146.072514214313399@pixar.com>
Resent-Sender: iwj10@cus.cam.ac.uk
X-Debian-PR-Package: miscutils
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Tue, 25 Jul 1995 14:33:05 GMT
Received: with rfc822 via encapsulated-mail id 072514214313399;
          Tue, 25 Jul 1995 14:21:44 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sakiJ-0003aSC; Tue, 25 Jul 95 07:12 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA13882
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Tue, 25 Jul 1995 07:10:26 -0700
Received: by bootes.cus.cam.ac.uk
	(Smail-3.1.29.0 #36) id m0sajVu-000C0uC; Tue, 25 Jul 95 13:55 BST
Received: by chiark
	id <m0saXLn-0002YUZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.32); Tue, 25 Jul 95 00:55 BST
Message-Id: <m0saXLn-0002YUZ@chiark.al.cl.cam.ac.uk>
Date: Tue, 25 Jul 95 00:55 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: debian-bugs@Pixar.com
In-Reply-To: <m0saBai-000BC6C@mongo.pixar.com>
References: <m0saBai-000BC6C@mongo.pixar.com>
	<Pine.SUN.3.91.950723201034.22368A-100000@bb29c>
	<m0sa3tg-0002ZaZ@chiark.al.cl.cam.ac.uk>

Bruce Perens writes ("Re: Bug#1146: `mkfs' doesn't find /usr/local/bin/mkfs.msdos "):
> Is this a bug in mkfs.msdos, or in mkfs? I would not expect mkfs, a power-tool
> program if I've ever seen one, to go out promiscuiously in $PATH running
> anything named mkfs.<filesystem-name> . I'd rather see mkfs.msdos installed
> under /sbin by one of the base packages.

mkfs.msdos is not part of a Debian package.  It's something I copied
into /usr/local/bin from my old installation.

It would probably be useful as (part of) a Debian package - but
definitely not a base package.

However, it's not reasonable for the mkfs front-end to refuse to
invoke any backends I may have installed locally.  Remember that I
shouldn't put things in [/usr]/sbin because that's the Debian
distribution's space.

Bill Mitchell writes ("Re: Bug#1146: mkfs' doesn't find /usr/local/bin/mkfs.msdos"):
> Good question.  The answer seems muddy.
>
> The FSSTND [...]

The answer isn't in the FSSTND.

> The mkfs man page says that the file system-sepcific builder
> mkfs.type is searched for in /etc/fs first, then in /etc,
> and finally in the directories listed in the PATH environment
> variable.  Based on a quick look, the code seems to do that.

Well, it doesn't work for me, as you can see from my transcript.

(a) The documentation (and code, if need be) should be changed to use
/sbin/fs and /sbin rather than /etc/fs and /etc.

(b) The code should be changed so that the PATH is searched, as the
documentation claims it is.

> [...]
> Should mkfs support programs mkfs.type programs which local
> sysadmins place in /usr/local/sbin?  Should mkfs support
> mkfs.type programs placed at an arbitrary location on the
> current PATH?  It seems to me that the mkfs designer is on
> his own here -- I don't see a standard or a requirements
> spec which addresses this.
> [...]

It seems to me that these are a perfectly reasonable requirements, and
the lack of the feature can be awkward to work around.  The code isn't
hard to do - especially if it is already there, just non-functional.

The authors of the program seem to agree with me, since they
documented this feature in the manpage, even if it doesn't work.

Ian.


Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#1146: Info received (was Bug#1146: `mkfs' doesn't find /usr/local/bin/mkfs.msdos)
In-Reply-To: <m0saXLn-0002YUZ@chiark.al.cl.cam.ac.uk>
References: <m0saXLn-0002YUZ@chiark.al.cl.cam.ac.uk>

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developers to
accompany the original report.

If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#1146" or "Re: Bug#1146" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov