Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 17:12:10 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Alfred Perlstein <bright@wintelcom.net>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Robert Watson <rwatson@FreeBSD.org>, Greg Lehey <grog@lemis.com>, Eric Melville <eric@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: Destroying and remaking device nodes
Message-ID:  <20010514171210.A66354@xor.obsecurity.org>
In-Reply-To: <200105142354.f4ENs5514952@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Tue, May 15, 2001 at 12:54:04AM %2B0100
References:  <bright@wintelcom.net> <200105142354.f4ENs5514952@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <phk@critter.freebsd.dk> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010514171210.A66354>