From owner-freebsd-stable Thu Mar 23 5:59:32 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 285F737B5E9 for ; Thu, 23 Mar 2000 05:59:27 -0800 (PST) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id FAA23151; Thu, 23 Mar 2000 05:59:22 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda23147; Thu Mar 23 05:59:09 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id FAA03958; Thu, 23 Mar 2000 05:59:09 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdJK3956; Thu Mar 23 05:58:51 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.9.3/8.9.1) id FAA01112; Thu, 23 Mar 2000 05:58:50 -0800 (PST) Message-Id: <200003231358.FAA01112@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdAQ1106; Thu Mar 23 05:57:54 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 3.4-RELEASE X-Sender: cy To: Vivek Khera Cc: stable@FreeBSD.ORG Subject: Re: "dangerously dedicated" In-reply-to: Your message of "Wed, 22 Mar 2000 18:30:19 EST." <14553.22411.265795.429126@onceler.kcilink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Mar 2000 05:57:54 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <14553.22411.265795.429126@onceler.kcilink.com>, Vivek Khera writes: > >>>>> "WL" == Warner Losh writes: > > WL> I didn't say that using da0a is stupid. I said using dangerously > WL> dedicated mode is stupid. Based on the number of times I've shot > > I guess I don't see how to use, eg, da0a without being "dangerously > dedicated". When I did my install of FBSD 3.3, the partitioning > process asked if I was sharing the disk or not. I said no, so it took > over the entire disk, but I still get the long-sliced names like > /dev/wd0s1a rather than the /dev/wd0a I'd expect since there is only > one slice on the whole disk. My zip drive uses /dev/da0a after I did > a newfs on it, though. > > WL> FreeBSD lets you do this as well. Are you sure that Linux doesn't > WL> require fdisk disks? Linux/i386 doesn't have another form of disk > > Linux requires it to run, but doesn't hang forever if it doesn't > exist. FreeBSD is the only system I've encountered so far that will > lock up (ie, does not respond to any keyboard requests or terminate > its probe) when scanning a disk without an FDISK table. I needed to > use freedos to add one to this particular drive. What's there to scan? The MBR always lives on the first sector of the disk. If it hung it was the BIOS that hung because it had nothing else to do. Do you understand how the MBR works? I didn't think so. Well here's a course in MBR 101. We'll have a test on this material on Friday. 1. BIOS reads the first sector of the disk. 2. If the last byte of the sector != 0xaa55, stop and hang 3. If the MBR checksum doesn't match the MBR, stop and hang. (Some BIOSes skip this step or just complain that that a virus has been installed and continue to boot anyway). 4. Jump to the MBR and start executing it. 5. The MBR will scan it's table of four entries and load the boot record from the partition that is marked active. 6. The MBR will test the last byte of the sector it just loaded for 0xaa55. If it's 0xaa55 and if the checksum matches (some MBR's don't bother to check the checksum), it will jump to the boot record. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message