From owner-freebsd-questions@FreeBSD.ORG Wed Aug 13 09:54:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1CE037B401; Wed, 13 Aug 2003 09:54:08 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA97043FBD; Wed, 13 Aug 2003 09:54:07 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h7DGs4Og025112; Wed, 13 Aug 2003 12:54:04 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h7DGs4pj025111; Wed, 13 Aug 2003 12:54:04 -0400 (EDT) From: Jerry McAllister Message-Id: <200308131654.h7DGs4pj025111@clunix.cl.msu.edu> To: karsten_fuhrmann@cartoon-film.de (Karsten Fuhrmann) Date: Wed, 13 Aug 2003 12:54:04 -0400 (EDT) In-Reply-To: <3F39E862.5040500@cartoon-film.de> from "Karsten Fuhrmann" at Aug 13, 2003 09:27:30 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: mailing@freebsd.org cc: freebsd-question@freebsd.org cc: "\"pwd@FreeBSD.ORG\":trickfilm" cc: list@freebsd.org Subject: Re: disklabel problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 16:54:09 -0000 > > hello > i am trying to add some more hd space to my system. > I have an extra disk wich is /dev/sda0s2. > I used disklabel to partition it into seven partitions. Now i want to > insert these partitions to my system, but i can not find all the device > files /dev/sda0s2a - /dev/sda0s2h By default, only a subset of devices are already made. Presuming you are using a versin of FreeBSD before 5.0 (I haven't had a chance to install a 5.x or use the new devfs stuff yet) do the following: cd /dev ./MAKEDEV da0s2a That should get you all the da0s2_ set. Then fix up your /etc/fstab file and it should all work nicely. ////jerry > But "disklabel -r /dev/da0s2" shows me > > # /dev/da0s2: > type: SCSI > disk: da0s2 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 53400 > sectors/unit: 857887002 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 122555286 0 4.2BSD 0 0 0 # (Cyl. 0 - > 7628*) > b: 122555286 122555286 4.2BSD 0 0 0 # (Cyl. > 7628*- 15257*) > c: 857887002 0 unused 0 0 # (Cyl. 0 - > 53400*) > d: 122555286 245110572 4.2BSD 0 0 0 # (Cyl. > 15257*- 22886*) > e: 122555286 367665858 4.2BSD 0 0 0 # (Cyl. > 22886*- 30514*) > f: 122555286 490221144 4.2BSD 0 0 0 # (Cyl. > 30514*- 38143*) > g: 122555286 612776430 4.2BSD 0 0 0 # (Cyl. > 38143*- 45772*) > h: 122555286 735331716 4.2BSD 0 0 0 # (Cyl. > 45772*- 53400*) > > > > and an ls /dev/da0s2* shows me only : > /dev/da0s2 > > > My question is, how do i get the device files for all my partitions, > because without them i can not use newfs. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >