From owner-freebsd-questions Tue Dec 23 02:03:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA27408 for questions-outgoing; Tue, 23 Dec 1997 02:03:07 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from ns2.ge.com (ns2.ge.com [192.35.39.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA27397 for ; Tue, 23 Dec 1997 02:03:01 -0800 (PST) (envelope-from burg@burg.is.ge.com) Received: from thomas.ge.com (thomas.ge.com [3.47.28.21]) by ns2.ge.com (8.8.7/8.8.6) with ESMTP id FAA05063 for ; Tue, 23 Dec 1997 05:02:59 -0500 (EST) Received: from burg.is.ge.com (burg.is.ge.com [3.19.120.24]) by thomas.ge.com (8.8.7/8.8.7) with ESMTP id FAA10806 for ; Tue, 23 Dec 1997 05:02:58 -0500 (EST) Received: (from burg@localhost) by burg.is.ge.com (8.8.7/8.8.7) id KAA14469; Tue, 23 Dec 1997 10:56:21 +0100 (MET) Date: Tue, 23 Dec 1997 10:56:21 +0100 (MET) Message-Id: <199712230956.KAA14469@burg.is.ge.com> From: Dick van den Burg MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-questions@freebsd.org Subject: How to add slice to existing FS X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have the following slices: burg@vdb:~$ /sbin/fdisk sd0 ******* Working on device /dev/rsd0 ******* parameters extracted from in-core disklabel are: cylinders=1048 heads=127 sectors/track=63 (8001 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=1048 heads=127 sectors/track=63 (8001 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 63, size 1031562 (503 Meg), flag 80 beg: cyl 0/ sector 1/ head 1; end: cyl 128/ sector 63/ head 118 The data for partition 2 is: sysid 5,(Extended DOS) start 1032129, size 1024128 (500 Meg), flag 0 beg: cyl 129/ sector 1/ head 0; end: cyl 256/ sector 63/ head 126 The data for partition 3 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 2056257, size 4800600 (2344 Meg), flag 0 beg: cyl 257/ sector 1/ head 0; end: cyl 856/ sector 63/ head 126 The data for partition 4 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 6856857, size 1528191 (746 Meg), flag 0 beg: cyl 857/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 126 I just reclaimed partition (=slice) 4 from a windows installation and I want to use the 746 Mb for a FreeBSD file system. As slice 3 already contains a FBSD installation I am at a loss on how to set up a disklabel such that newfs can set up a filesystem on partition 4. /usr/home/burg# /sbin/newfs /dev/rsd0s4c newfs: ioctl (GDINFO): Invalid argument newfs: /dev/rsd0s4c: can't read disk label; disk type must be specified Help please ... Thanks ... Dick