From owner-freebsd-questions Thu Dec 6 19:42:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 825FA37B41D; Thu, 6 Dec 2001 19:42:13 -0800 (PST) Received: from shumai.marcuscom.com (marcus@shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.6/8.11.6) with ESMTP id fB73bkJ13980; Thu, 6 Dec 2001 22:37:46 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: More than 6 partitions on one slice? From: Joe Clarke To: Eugene Panchenko Cc: Greg Lehey , questions@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution/1.0 (Preview Release) Date: 07 Dec 2001 08:42:25 +0500 Message-Id: <1007696545.49088.0.camel@shumai.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2001-12-06 at 22:36, Eugene Panchenko wrote: > > > I'm afraid that I can't use b since it's my swap... > >=20 > > OK, but in general this works. >=20 > Oh, no doubt, I was speaking only for my case... >=20 > > > > if you're using a PC, you can create 4 slices in > > > > Microsoft partitions > > > > > > I've already have used up all 4 partitions for QNX, > > > NetBSD, MSDOS622 (yeah, I admit), and, of course, > > > FreeBSD :) > >=20 > > OK, but in general this works. >=20 > Same thing here ;-) >=20 > > There are a large number of reasons why this won't work. > > The most obvious one is the question of device nodes: > > the minor number only has three bits for the partition > > number, so it wouldn't work. You'd be better off with > > the Vinum solution. >=20 > :-(( But your explanation is very good, thanks!.. >=20 > > I still have difficulty believing you need this many > > partitions. >=20 >=20 > The reason is quite simple, consider my current layout: >=20 > / a > swap b > c > /var/ftp d /var e /tmp f > /usr g > /home h > And I have about 50G (out of 80G) left. I'd like to use > it for, say, /mnt/media, or something like that. I also > want to mount /var/www separately -- so much easier for > doing backups (oh I *love* dump/restore ;-)) If you make /tmp a mfs partition, you can recover one slice. However, things being what they are, you may have to shuffle a few slices around to get to those extra 50 GB. I have this in my /etc/fstab for /tmp: /dev/da1s1b /tmp mfs rw,nosymfollow,nosuid,-s=3D262144 0 =20 0 This creates a 256 MB /tmp that doesn't allow suid bits or symlinks to be followed. This basically uses memory and swap for /tmp, and keeps temp files off of /. Joe >=20 > Thanks again!!! >=20 > ---------------------------------------------------------- > =F0=CF=D3=C5=D4=C9=D4=C5 "=ED=EF=F3=EB=EF=F7=F3=EB=E9=EA =E7=EF=F2=EF=E4= =F3=EB=EF=EA =F3=E1=EA=F4" http://mosk.ru >=20 >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message