Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 1998 05:48:42 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>, current@FreeBSD.ORG
Subject:   Re: I see one major problem with DEVFS...
Message-ID:  <19980530054842.51661@follo.net>
In-Reply-To: <199805300108.SAA16711@time.cdrom.com>; from Jordan K. Hubbard on Fri, May 29, 1998 at 06:08:16PM -0700
References:  <199805300108.SAA16711@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 29, 1998 at 06:08:16PM -0700, Jordan K. Hubbard wrote:
> bash# ls -l bpf*
> crw-------  1 root  wheel   23,   0 May 29 08:03 bpf0
> crw-------  1 root  wheel   23,   1 May 29 08:03 bpf1
> crw-------  1 root  wheel   23,   2 May 29 08:03 bpf2
> crw-------  1 root  wheel   23,   3 May 29 08:03 bpf4
> bash# rm bpf4
> bash# ls -l bpf*
> crw-------  1 root  wheel   23,   0 May 29 08:03 bpf0
> crw-------  1 root  wheel   23,   1 May 29 08:03 bpf1
> crw-------  1 root  wheel   23,   2 May 29 08:03 bpf2
> bash# mknod bpf4 c 23 3
> 
> E.g. I can shoot my foot off, but I can't sew it back on. :-)

Yes, you can.  You can mount another devfs and 'mv' a device from it
(or at least that's the way the specs read - I don't have devfs
enabled right now, so I can't test).

> Also, while I'm on this topic, what is the purpose served by
> DEVFS auto-mounting itself on "dummy_mount"?  I'm only going to
> mount it as /dev later, so I don't really get the idea behind
> the first instance of it.  Is it for "cloning" purposes or
> something?

I think this is only significant for bootstrap/internal kernel
reasons, but I may well be wrong.

Eivind.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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