From owner-freebsd-questions Tue Jan 11 8:29:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 8ECD4154FB for ; Tue, 11 Jan 2000 08:29:08 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id RAA45405; Tue, 11 Jan 2000 17:29:07 +0100 (CET) (envelope-from olli) Date: Tue, 11 Jan 2000 17:29:07 +0100 (CET) Message-Id: <200001111629.RAA45405@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: Is this an ESDI or IDE disk? X-Newsgroups: list.freebsd-questions In-Reply-To: <85fknk$2d1h$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zhihui Zhang wrote in list.freebsd-questions: > I have a machine and the administrator says it has an IDE disk. But > disklabel and dmesg give me the following: > > type: ESDI > disk: wd0s2 > [...] > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 163840 0 4.2BSD 0 0 0 # (Cyl. 0-10*) > > gold# dmesg | grep wdc0 > wdc0 at 0x1f0-0x1f7 irq 14 on isa > wdc0: unit 0 (wd0): > > Can anyone tell me whether it is an ESDI or IDE disk? Thanks a lot. It is an IDE disk. I have no idea why disklabel reports them as "ESDI" (maybe historic reasons?), but it seems to be normal. Look at this and compare (this is an IBM DJNA, 25 Gbyte, and it is an IDE drive, of course): olli@dorifer:~> disklabel wd0 # /dev/rwd0c: type: ESDI disk: wd0s1 [...] 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 102400 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 101*) b: 1048576 102400 swap # (Cyl. 101*- 1141*) c: 49981617 0 unused 0 0 # (Cyl. 0 - 49584*) e: 102400 1150976 4.2BSD 1024 8192 16 # (Cyl. 1141*- 1243*) f: 48728241 1253376 4.2BSD 1024 8192 16 # (Cyl. 1243*- 49584*) olli@dorifer:/tmp> dmesg | egrep wdc\?0 wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 24405MB (49981680 sectors), 49585 cyls, 16 heads, 63 S/T, 512 B/S Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message