From owner-freebsd-current@FreeBSD.ORG Sun Dec 14 19:27:23 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AC2F16A4CE for ; Sun, 14 Dec 2003 19:27:23 -0800 (PST) Received: from ns.atcom.spb.ru (ns.atcom.spb.ru [213.182.169.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 877BE43D35 for ; Sun, 14 Dec 2003 19:27:19 -0800 (PST) (envelope-from postfix@sendmail.ru) Received: from karputer (ppp-dialup-7.atcom.spb.ru [213.182.168.7]) by ns.atcom.spb.ru (Postfix) with SMTP id 507294BB4E for ; Mon, 15 Dec 2003 06:27:16 +0300 (MSK) X-AntiVirus: Checked by Dr.Web (http://www.drweb.net) Message-ID: <000701c3c2bb$34d43060$0202a8c0@karputer> From: "toxa" To: Date: Mon, 15 Dec 2003 06:26:17 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: making devices in freebsd5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 03:27:23 -0000 I don't know if freebsd-current maillist sutable for my question but let me explain it. When I use freebsd-4, I can include any device in kernel or load it as module, and if there is no appropriate device in /dev I can use MAKEDEV script to create it. The common example is 'watch' utility which requires not only 'device snp' in kernel or 'kldload snp' but /dev/snp0 (snp1, etc) also for working, so I go to /dev and type ./MAKEDEV snp0. But FreeBSD5 is using devfs, and there is no MAKEDEV in it. I kldload snp but cat't see /dev/snp? created, and I don't know how to create it by hand. I was looking through snp, kldload, and watch manpages and freebsd maillist archive but cannot see anything about this. So how can I create appropriate device (snp0 actually) or which program should do this for me? Thanks