From owner-freebsd-questions Thu Oct 19 11:54:52 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA28405 for questions-outgoing; Thu, 19 Oct 1995 11:54:52 -0700 Received: from main.statsci.com (main.statsci.com [198.145.127.110]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id LAA28400 for ; Thu, 19 Oct 1995 11:54:48 -0700 Received: by main.statsci.com (Smail3.1.29.1 #3) id m0t6072-000r3xC; Thu, 19 Oct 95 11:54 PDT Message-Id: To: questions@freebsd.org Subject: accessing DOS Logical partitions and/or adding swap space Date: Thu, 19 Oct 1995 11:54:44 -0700 From: Scott Blachowicz Sender: owner-questions@freebsd.org Precedence: bulk Hi- I need more swap space and I've got DOS Logical partition that I could use, but I'm not sure if FreeBSD really supports this or not yet. I've seen mentions that I could use slice 5 and up for the "Logical"/"Extended" slices (or whatever they're called). So, I did a /dev/MAKEDEV wd1s5h to get the device files made for it. Now, I'm trying to figure out what to do next. 1) Will this work? 2) If so, how do I find out what to stick in a disklabel for my wd1s5 slice? It seems the FreeBSD fdisk doesn't tell me how many sectors are in that slice (do I need to go run the DOS fdisk? or do I need to reinstall Linux to use its fdisk? or do 'dd if=/dev/rwd1s5 of=/dev/null bs=512' and see what it tells me for number of blocks copied?) 3) Armed with appropriate #sectors info, I assume I just go add a disktab entry with a 'c' partition, do a disklabel write, then do a disklabel edit to get it right (or something along those lines). Couldn't there be some tool that could be run to deal with the details (along the lines of /stand/sysinstall's partitioning) or at least query the size of the slice and lay down a disklabel with the 'c' partitioned defined? 4) Or should I just use a 'vn' device to add a random file as swap space? Is there a performance hit to using a file instead of a swap partition? Scott Blachowicz Ph: 206/283-8802x240 StatSci, a div of MathSoft, Inc. 1700 Westlake Ave N #500 scott@statsci.com Seattle, WA USA 98109 Scott.Blachowicz@seaslug.org