From owner-freebsd-current Thu Jul 20 23:32:49 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 45AD837B60E for ; Thu, 20 Jul 2000 23:32:44 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA02161; Fri, 21 Jul 2000 00:32:40 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA97937; Fri, 21 Jul 2000 00:32:35 -0600 (MDT) Message-Id: <200007210632.AAA97937@harmony.village.org> To: Leif Neland Subject: Re: No /boot/loader Cc: Doug White , freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Fri, 21 Jul 2000 01:36:11 +0200." References: Date: Fri, 21 Jul 2000 00:32:35 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Leif Neland writes: : : : On Thu, 20 Jul 2000, Warner Losh wrote: : : > In message Leif Neland writes: : > : Just to be on the safe side, is there a simple way to see if a disk is : > : dedicated? : > : > fdisk -s ad0 : > : > If there's a slice table, then it will give you a summary report of : > the slices. If not it will report an error (and maybe give you a : > faked up listing). : : I have windows partitions on my disks here, so they can't be dedicated. : fdisk -s ad[0,1,2] all reports : invalid fdisk partition found. Did you do that as root? All of my windows disks report valid partitions. From my sever: % fdisk -s da0 /dev/da0: 2231 cyl 255 hd 63 sec Part Start Size Type Flags 4: 1 35841014 0xa5 0x80 From my laptop: fdisk -s ad0 /dev/ad0: 559 cyl 240 hd 63 sec Part Start Size Type Flags 1: 63 2766897 0x0b 0x00 2: 2766960 5397840 0xa5 0x80 4: 8164800 272160 0xa0 0x00 I'm in group operator, so I can read the disks on my own. The part type 0xa0 is for the suspend to disk partition in my VAIO. : Does that mean that a dedicated disk has a slice table, a normal doesn't? No. That's backwards. A dedicated disk has no slice table (a dangerously dedicated disk, that is), and a "normal" one does have a slice table. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message