From owner-cvs-all Mon May 14 17:12:17 2001 Delivered-To: cvs-all@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id DDA1E37B422; Mon, 14 May 2001 17:12:11 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F3D3866C8C; Mon, 14 May 2001 17:12:10 -0700 (PDT) Date: Mon, 14 May 2001 17:12:10 -0700 From: Kris Kennaway To: Brian Somers Cc: Alfred Perlstein , Poul-Henning Kamp , Robert Watson , Greg Lehey , Eric Melville , Kris Kennaway , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Destroying and remaking device nodes Message-ID: <20010514171210.A66354@xor.obsecurity.org> References: <200105142354.f4ENs5514952@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105142354.f4ENs5514952@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Tue, May 15, 2001 at 12:54:04AM +0100 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 15, 2001 at 12:54:04AM +0100, Brian Somers wrote: > > * Poul-Henning Kamp [010514 07:08] wrote: > > >=20 > > > I intended to ignore the major and minor arguments in mknod(2), simply > > > treating it as a request to re-create the named node. > >=20 > > It sounds nice, however that's a major POLA violation, no? >=20 > I agree. I think mknod should either do as asked or fail, not do=20 > what the developer thinks the user should have asked. The problem is, how do you know the major/minor number of the device, if you haven't installed MAKEDEV (which is about the only reference I know of apart from the source)? Kris --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7AHRaWry0BWjoQKURAkwJAKDue57ffGKvBM9KVHVfxUIOyhnWSQCgjMZe /A7W4twPW3QInZmWlSFaw2o= =+WAW -----END PGP SIGNATURE----- --ibTvN161/egqYuK8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message