Greg Lehey wrote:
> On Tuesday, 30 January 2001 at 8:37:56 +0600, Boris Popov wrote:
> > On Tue, 30 Jan 2001, Greg Lehey wrote:
> >>> You can create symlinks in /dev, you cannot mknod there.
> >> What is the reason for this? How does a program or script know
> >> whether the system is running DEVFS or not?
> > I don't see any good reason why this can't be supported. We may
> > talk about 'broken' devices, etc., but while there any - mknod needs to be
> > supported to make transition more smooth.
> I'm assuming that there's a good technical reason for the lack of
> mknod. It also seems that mkdir doesn't work in devfs. Let's give
> phk time to wake up and tell us.
I have no idea why mkdir doesnt' work.. (It worked in the old devfs,
but I assume it's just that phk just hasn't had the time yet to do it.)
mknod is nonsensical in a world wher the user cannot predict the major
number, and where the dev entry is connected to the driver via a
pointer inside the kernel rather than an index.
(How do you create the pointer? (mknod tty2 c 0xc0123452d 2)?)
> Finger [EMAIL PROTECTED] for PGP public key
> See complete headers for address and phone numbers
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
__--_|\ Julian Elischer
/ \ [EMAIL PROTECTED]
( OZ ) World tour 2000-2001
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message