From owner-freebsd-questions Sat Feb 24 8:54:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from deepblue.everad.com (deepblue.everad.com [212.117.137.66]) by hub.freebsd.org (Postfix) with ESMTP id 33DF837B4EC for ; Sat, 24 Feb 2001 08:54:46 -0800 (PST) (envelope-from DanielM@EverAd.com) Received: from ilexc01.everad.com ([10.72.6.6]) by deepblue.everad.com with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 24 Feb 2001 18:56:45 +0200 Subject: RE: 'fdisk' questions MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sat, 24 Feb 2001 18:54:41 +0200 Message-ID: X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 'fdisk' questions Thread-Index: AcCeZTSgNxKtbfuASeqwsRw55smBbAAHFtFQ From: "Daniel Mester" To: "'Freebsd-Questions (E-mail)" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks. > (2) 'UNUSED' in this situation means that fdisk did not find > any other freebsd partition, i.e., you probably have some other > operating systems on those partitions, or else they really are > unused. But i haven't got any other partition than FreeBSD on this box. It takes whole disk. freenix# fdisk -s /dev/ad4 /dev/ad4: 4177 cyl 64 hd 63 sec Part Start Size Type Flags 1: 0 16841664 0xa5 0x80 So what the stands for? Thank you. > -----Original Message----- > From: Gary L. Dolan [mailto:fred1@inebraska.com] > Sent: Saturday, February 24, 2001 3:24 PM > To: Daniel Mester > Subject: 'fdisk' questions >=20 >=20 > On Sat, Feb 24, 2001 at 12:45:03PM +0200, Daniel Mester wrote: > >=20 > > I found in 'man fdisk' that actually fdisk is looking in=20 > /dev for disks > > `wd0', `da0', and `od0' in that order, until one is being found > > responding. > > Why it follows only those 3 devices? > >=20 > > >From 'dmesg' i found that my hd-device is called "ad4:=20 > 8223MB > > [16708/16/63] at ata2-master UDMA66" - why it has 4-th ID -=20 > why it is > > not ad0 or something? > >=20 > > Later i run 'fdisk /dev/ad4' - and got this outprint: > * * * * > > The data for partition 2 is: > > > > The data for partition 3 is: > > > > The data for partition 4 is: > > > >=20 > > What mean tags here? >=20 > (1) Fdisk only looks in 'wd0', etc., because that is its default > behavior, i.e., default behavior is what a program does if you do > not give it additional parameters. When you gave it the additional > parameter of ad4, it read that disk partition. > (2) 'UNUSED' in this situation means that fdisk did not find > any other freebsd partition, i.e., you probably have some other > operating systems on those partitions, or else they really are > unused. >=20 > --=20 > Gary Dolan > Debian GNU/Linux 2.2, Kernel 2.4.1=20 > FreeBSD 4.2 >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message