Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 19:02:51 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: Destroying and remaking device nodes 
Message-ID:  <200105150202.f4F22pF00878@mass.dis.org>
In-Reply-To: Your message of "Mon, 14 May 2001 17:12:10 PDT." <20010514171210.A66354@xor.obsecurity.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, May 15, 2001 at 12:54:04AM +0100, Brian Somers wrote:
> > > * Poul-Henning Kamp <phk@critter.freebsd.dk> [010514 07:08] wrote:
> > > > 
> > > > I intended to ignore the major and minor arguments in mknod(2), simply
> > > > treating it as a request to re-create the named node.
> > > 
> > > It sounds nice, however that's a major POLA violation, no?
> > 
> > I agree.  I think mknod should either do as asked or fail, not do 
> > 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)?

You don't care, anymore.  The major/minor are all basically obsolete at 
this juncture.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



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?200105150202.f4F22pF00878>