From owner-freebsd-current Tue Feb 18 12:31:39 2003 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 5E04037B401 for ; Tue, 18 Feb 2003 12:31:38 -0800 (PST) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB88643F85 for ; Tue, 18 Feb 2003 12:31:37 -0800 (PST) (envelope-from dmp@pantherdragon.org) Received: from sparx.techno.pagans (12-224-208-117.client.attbi.com [12.224.208.117]) by spork.pantherdragon.org (Postfix) with ESMTP id 20D98FFE3; Tue, 18 Feb 2003 12:31:37 -0800 (PST) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by sparx.techno.pagans (Postfix) with ESMTP id 30CD4AA8F; Tue, 18 Feb 2003 12:31:36 -0800 (PST) Message-ID: <3E529826.7060805@pantherdragon.org> Date: Tue, 18 Feb 2003 12:31:34 -0800 From: Darren Pilgrim User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: phk@phk.freebsd.dk Cc: freebsd-current@FreeBSD.ORG Subject: Re: New ad*s* devices not automatically appearing in devfs References: <48354.1045599272@critter.freebsd.dk> In-Reply-To: <48354.1045599272@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk@phk.freebsd.dk wrote: > In message <3E5293D1.3050107@pantherdragon.org>, Darren Pilgrim writes: > >>phk@phk.freebsd.dk wrote: >> >>>In message <3E521BE1.4040501@pantherdragon.org>, Darren Pilgrim writes: >>> >>> >>>>When I add a new slice or partition to a disk, the device files don't >>>>automatically appear in /dev. If I reboot, it shows up, but having to >>>>reboot twice just to add a filesystem to a running disk is absurd. How >>>>do I make /dev automatically add these devices upon creation? Failing >>>>that, how do I force the system to notice the new device(s) and add them >>>>to /dev? >>> >>> >>>Which exact commands do you use to create them ? >> >>I used sysinstall, Configure->Fdisk to (in order) delete s3, create a >>5120m s2, then Write the changes to disk. After exiting sysinstall: > > But the changes do appear after you reboot ? Yes, after rebooting a /dev/ad4s2 is present. I can then issue `disklabel -w ad4s2 auto` to intialize the slice with an appropriate empty label. I can use `disklabel -e ad4s2` or sysinstall to create the partitions. Sysinstall will complain about the lack of partition devices but write the label out anyway. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message