From owner-freebsd-small Sun Feb 24 2:46:11 2002 Delivered-To: freebsd-small@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id A5CE437B402 for ; Sun, 24 Feb 2002 02:46:09 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g1OAk9Y81261; Sun, 24 Feb 2002 02:46:09 -0800 (PST) (envelope-from rizzo) Date: Sun, 24 Feb 2002 02:46:09 -0800 From: Luigi Rizzo To: small@freebsd.org Subject: dependencies between filesystem and location on disk Message-ID: <20020224024609.A80268@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am trying to copy a picobsd image into a slice in a compactflash device. I thought that after creating an appropriate FreeBSD slice with fdisk, it would suffice to 'dd' the image into /dev/ad0s2, but apparently the system complains with "%s: rejecting BSD label: raw partition offset != slice offset\n", (from kern/subr_diskslice.c) when trying to fdisk the partition, if (pp->p_offset != start) { and also the secondary bootloader (boot2) complains with a "Not ufs", presumably for the same reason. Two questions here: * it looks like the label should know about the absolute location of the slice on the disk. Why is this necessary ? * in case, what places should I patch in the image with the actual offset of the partition ? thanks luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sun Feb 24 4:18: 3 2002 Delivered-To: freebsd-small@freebsd.org Received: from netplex.aperion.com (netplex.aperion.com [65.165.3.28]) by hub.freebsd.org (Postfix) with SMTP id 4267D37B402 for ; Sun, 24 Feb 2002 04:18:01 -0800 (PST) Received: (qmail 805 invoked by alias); 24 Feb 2002 12:13:21 -0000 Received: from unknown (HELO mark) (64.109.152.150) by netplex.aperion.com with SMTP; 24 Feb 2002 12:13:21 -0000 Message-ID: <001501c1bd2d$4a2066e0$5700000a@mark> From: "Mark Comins" To: References: Subject: Remove Date: Sun, 24 Feb 2002 07:17:55 -0500 Organization: Aperion Information Technologies, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 27 2:20:57 2002 Delivered-To: freebsd-small@freebsd.org Received: from mta07.onebox.com (mta07.onebox.com [64.68.77.180]) by hub.freebsd.org (Postfix) with ESMTP id 6ADA037B400 for ; Wed, 27 Feb 2002 02:20:55 -0800 (PST) Received: from onebox.com ([10.1.101.8]) by mta07.onebox.com (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20020227102054.TAGR26106.mta07.onebox.com@onebox.com> for ; Wed, 27 Feb 2002 02:20:54 -0800 Received: from [64.171.24.16] by onebox.com with HTTP; Wed, 27 Feb 2002 02:20:54 -0800 Date: Wed, 27 Feb 2002 02:20:54 -0800 Subject: Off-topic- Free/PicoBSD vs OpenBSD? From: "gerry link" Cc: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Message-Id: <20020227102054.TAGR26106.mta07.onebox.com@onebox.com> Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry, this is off-topic however I cound't think of a better group to ask off hand. I have a copy of OpenBSD 3.0, and was wondering what are the biggest differences between it and Free/Pico. I understand the SMP is much better in Free, however is there anything else that clearly sets Free above Open? Not trying to start a religious flame-war. And, for someone with limited *nix experience, would it be detrimental to work with Open before Free, or are they pretty similar, as compared to going from BSD to Linux? Thanks for the responses everyone. Its nice to be on a group that doesn't have a high noie ratio. Though I guess I am the noise here :P Fred -- gerry link gne5@onebox.com - email (510) 342-2519 x6004 - voicemail/fax __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 27 14:54:21 2002 Delivered-To: freebsd-small@freebsd.org Received: from clarkevans.com (209-9-30-66.sdsl.cais.net [209.9.30.66]) by hub.freebsd.org (Postfix) with ESMTP id EEA1C37B417 for ; Wed, 27 Feb 2002 14:54:18 -0800 (PST) Received: from cce by clarkevans.com with local (Exim 3.12 #1 (Debian)) id 16gDHO-0004c8-00 for ; Wed, 27 Feb 2002 18:14:34 -0500 Date: Wed, 27 Feb 2002 18:14:34 -0500 From: "Clark C . Evans" To: freebsd-small@FreeBSD.ORG Subject: read-only CD-ROM boot partition for webfarm? Message-ID: <20020227181434.A17592@doublegemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello. I'm building a webfarm and other than the apache configuration and webpages, the core operating system and /usr partition is/should-be relatively static (scp used to update stuff in a /data partition). I'm using vinum to mirror /data. How hard would it be to make a bootable CD-ROM image with everything on it except the data, log-files, etc? This would have three advantages for me: - Vinum doesn't protect the boot partition since it is a kernel level module. - Having a true read-only file system really would make it hard for crackers. - Updating boxes on the webfarm could be as simple as swapping a new CD-ROM! Thoughts? Clark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Feb 27 16:49:52 2002 Delivered-To: freebsd-small@freebsd.org Received: from arg1.demon.co.uk (arg1.demon.co.uk [62.49.12.213]) by hub.freebsd.org (Postfix) with ESMTP id C092C37B41D for ; Wed, 27 Feb 2002 16:49:49 -0800 (PST) Received: by arg1.demon.co.uk (Postfix, from userid 1002) id E78D99B04; Wed, 27 Feb 2002 23:57:31 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id DF2AD5D0C; Wed, 27 Feb 2002 23:57:31 +0000 (GMT) Date: Wed, 27 Feb 2002 23:57:31 +0000 (GMT) From: Andrew Gordon X-X-Sender: To: "Clark C . Evans" Cc: Subject: Re: read-only CD-ROM boot partition for webfarm? In-Reply-To: <20020227181434.A17592@doublegemini.com> Message-ID: <20020227233523.G89345-100000@server.arg.sj.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 27 Feb 2002, Clark C . Evans wrote: > Hello. I'm building a webfarm and other than the apache > configuration and webpages, the core operating system and > /usr partition is/should-be relatively static (scp used to > update stuff in a /data partition). I'm using vinum to > mirror /data. > > How hard would it be to make a bootable CD-ROM image with > everything on it except the data, log-files, etc? Fairly easy. You have two options: the old way, where you create a floppy image containing your kernel, /boot/loader and a suitable /boot/loder.rc to make it mount root from the CD-ROM; or the new way using 'non-emulation' booting and the /boot/cdboot which can read the kernel directly from the iso9660 filesystem on the CD. Apart from that, the CD just needs to contain a fairly normal root filesystem, with some tweaks to deal with the read-onlyness. I like to use the /etc/rc.diskless stuff (with /etc/rc hacked to invoke it despite not being a netboot), as this does nearly everything needed (MFS filesystems for things that need to be read-write). However, in your case where you have some read-write filesystems available, this may not be necessary. To get things going, I like to temporarily fit a normal harddrive to the machine so that I can do a normal install, tweak so that everything is working as required without doing any writing, then copy the resulting system to CD-ROM: unless you are going to get it right first time, this gives a much faster edit/reboot/debug cycle than burning CD-RWs. One caveat with your overall plan: typical CD drives don't last very long under heavy access. In the applications where I have used CD booting, this isn't a problem: with a fairly static application, I can provide enough RAM that the entire working set fits in RAM, so the CD just spins the first time that the operator visits each part of the program, then everything runs from RAM for days at a time until reboot. In your situation, this may be harder to achieve. You may need to arrange that the main applications get copied to an MFS filesystem or otherwise locked into RAM to avoid thrashing the CD drive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Mar 1 16:48: 8 2002 Delivered-To: freebsd-small@freebsd.org Received: from mta01bw.bigpond.com (mta01bw.bigpond.com [139.134.6.78]) by hub.freebsd.org (Postfix) with ESMTP id 031F137B402 for ; Fri, 1 Mar 2002 16:48:03 -0800 (PST) Received: from jacobuskriek ([144.135.24.72]) by mta01bw.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GSBM8000.78Y for ; Sat, 2 Mar 2002 10:48:00 +1000 Received: from 144.139.61.46 ([144.139.61.46]) by bwmam02.mailsvc.email.bigpond.com(MailRouter V3.0i 11/1676467); 02 Mar 2002 10:47:56 Message-ID: <000801c1c183$a9be92c0$2e3d8b90@jacobuskriek> From: "jacob" To: Subject: subscribe Date: Sat, 2 Mar 2002 11:16:10 +1030 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C1C1DB.A84E8000" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C1C1DB.A84E8000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable subscribe ------=_NextPart_000_0005_01C1C1DB.A84E8000 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
subscribe
------=_NextPart_000_0005_01C1C1DB.A84E8000-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message