From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 16:08:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33EED1065677 for ; Fri, 5 Dec 2008 16:08:01 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 05BF08FC16 for ; Fri, 5 Dec 2008 16:08:00 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id mB5G2oKa006011; Fri, 5 Dec 2008 11:02:50 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id mB5G2nPS006010; Fri, 5 Dec 2008 11:02:49 -0500 (EST) (envelope-from jerrymc) Date: Fri, 5 Dec 2008 11:02:49 -0500 From: Jerry McAllister To: Da Rock Message-ID: <20081205160249.GA5954@gizmo.acns.msu.edu> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <20081204154923.GB1366@gizmo.acns.msu.edu> <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: UFS partitioning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 16:08:01 -0000 On Fri, Dec 05, 2008 at 03:58:23AM +1000, Da Rock wrote: > On Thu, 2008-12-04 at 10:49 -0500, Jerry McAllister wrote: > > On Thu, Dec 04, 2008 at 12:57:45PM +1000, Da Rock wrote: > > > > > > > > On Wed, 2008-12-03 at 20:55 -0500, Robert Huff wrote: > > > > Da Rock writes: > > > > > > > > > Excuse my nose in here- I just have a couple of questions. > > > > > > > > > > 1) It IS possible to boot from a dedicated disk? > > > > > > > > Yes. Can't remember the last time I used anything else. > > > > > > So you've never booted from a disk that has been partitioned as a file > > > system? > > > > You are getting your terms scrambled here. > > Partitioning has nothing directly to do with creating a file system. > > You can build a filesystem (with newfs) on just about any piece > > of disk whether it is the whole disk, a slice of the disk or a partition > > of a slice. > > > > Making one of those divisions bootable is also pretty much an > > independant operation too, though as far as I know, only whole > > disks and slices can be made bootable but not partitions - the > > fact that the partition contains the system files is not what > > makes it bootable. Being bootable is dependant on the boot sector > > which gets the control from either the BIOS or an MBR and then finds > > the system partition (/), mounts it (Read Only) and finds system files > > and starts those things running. > > Yes, I would say I'm getting my terms mixed up- fortunately the actual > reality is clear in my head (hard as that is to believe..). > > I have only one more question then: Why would you use "dangerously > dedicated mode" at all? I can only see where it might be useful for > files, no advantage to being a boot sector. The main reason is because a person doesn't want to bother making a slice and partitions - so you can get by without it. It has no relation to being bootable. The BIOS hands off control to what it thinks is a boot sector and it doesn't matter to it whether that is really an MBR that then checks for boot sectors in slices and other MBRs on disks or if it is really a boot sector that starts the reads in the OS files and starts the actual boot. It is all the same. > > It was some time ago that I read up on all this, but what I remembered > was that BSD could use a dedicated disk- but only BSD could read and > write from it and this is dangerous. Maybe what I was reading was > regarding bootable and that was considered dangerous... At any rate I'm > very clear now. Again, nothing to do with making a disk bootable. That is determined by two things: the presence of the bootable flag; a properly constructed boot sector to transfer control to. The 'dangerously dedicated' issue is as you say first; BSD can use the dedicated disk both read and write, but no one else (other OSen) can - for anything. Dangerous is probably overstating the issue a bit, but became the popular terminology. I seem to remember that way back there were some BIOS implementations that had trouble with a 'dangerously dedicated' disk and so would not boot properly, but the main issue is being able to read/write the disk. ////jerry > > Thanks for all the information guys- cheers > > _______________________________________________ > 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"