From owner-freebsd-fs@FreeBSD.ORG Sun Jul 20 23:43:19 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04F1937B401; Sun, 20 Jul 2003 23:43:19 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 633F743F93; Sun, 20 Jul 2003 23:43:17 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id QAA01657; Mon, 21 Jul 2003 16:43:10 +1000 Date: Mon, 21 Jul 2003 16:43:09 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kris Kennaway In-Reply-To: <20030719225757.GA80468@rot13.obsecurity.org> Message-ID: <20030721162908.P3398@gamplex.bde.org> References: <20030718064120.GA72366@dilbert.robbins.dropbear.id.au> <20030719033531.GA79812@dilbert.robbins.dropbear.id.au> <20030719175735.GA76229@HAL9000.homeunix.com> <20030719225757.GA80468@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-fs@FreeBSD.org cc: Tim Robbins Subject: Re: PR mail (was: Re: NFS ftruncate patch for review) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 06:43:19 -0000 On Sat, 19 Jul 2003, Kris Kennaway wrote: > On Sat, Jul 19, 2003 at 10:57:36AM -0700, David Schultz wrote: > > On Sat, Jul 19, 2003, Bruce Evans wrote: > > > I've got the feeling that the default is sometimes (and more often than it > > > used to be) freebsd-list-that-I'm-not-on. Ports PRs always went to somewhere > > > that I didn't see. I rather liked this. > > > > I think some categories of bugs get sent to > > {fs,security,standards,$arch}@. If you want > > to see the bugs for a particular category, I > > guess you have to be interested enough to > > subscribe to the corresponding list. > > fs and security don't get PRs by default...some PRs are reassigned to > the mailing lists because it targets the class of developers who might > be interested in investigating the problem. > > The default PR destination is determined based on the category of the > PR. Here is the current configuration > (freefall:~gnats/gnats-adm/categories) Many PRs are in the wrong category, especially initially, so this is not a good way to determine their destination. > pending: Misfiled PRs : gnats-admin : freebsd-bugbusters@freebsd.org > # > # Other categories > # > advocacy: Advocacy : freebsd-advocacy : > alpha: Architecture (alpha) specific : freebsd-alpha : > amd64: Architecture (amd64) specific : freebsd-amd64 : > bin: All other sources : freebsd-bugs : > conf: Configuration files : freebsd-bugs : > docs: Documentation : freebsd-doc : > gnu: GNU sources : freebsd-bugs : > i386: Architecture (i386) specific : freebsd-i386 : > ia64: Architecture (ia64) specific : freebsd-ia64 : > java: Java support : freebsd-java : > junk: Wastebin : gnats-admin : > kern: Kernel sources : freebsd-bugs : > misc: Miscellaneous : freebsd-bugs : > ports: The ports collection : freebsd-ports-bugs : > powerpc: Architecture (powerpc) specific : freebsd-ppc : > sparc64: Architecture (sparc) specific : freebsd-sparc64 : > standards: Standards conformance issues : freebsd-standards : > www: FreeBSD website : freebsd-www : I was on most of these of possible interest except freebsd-i386. Sending "i386" PRs to it is especially bad since most "i386" PRs are misclassified. There are relatively very few purely MD details in FreeBSD and relatively few purely i386 bugs since the i386 subsystem is old and mostly debugged. I looked at the most recent 5 "i386" PRs a couple of days ago. All of them were misclassified -- they were all for MI drivers. Most submitters wouldn't be able to tell if a bug in a MI driver was an i386 one even if it was. Bruce From owner-freebsd-fs@FreeBSD.ORG Wed Jul 23 10:55:22 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C48C37B401 for ; Wed, 23 Jul 2003 10:55:22 -0700 (PDT) Received: from genius.tao.org.uk (genius.tao.org.uk [212.135.162.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 508BF43FA3 for ; Wed, 23 Jul 2003 10:55:21 -0700 (PDT) (envelope-from joe@genius.tao.org.uk) Received: by genius.tao.org.uk (Postfix, from userid 100) id 88E7A4227; Wed, 23 Jul 2003 18:54:48 +0100 (BST) Date: Wed, 23 Jul 2003 18:54:48 +0100 From: Josef Karthauser To: fs@FreeBSD.org Message-ID: <20030723175448.GA33453@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: [Off topic] Trashed NT disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 17:55:22 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable A slightly off topic question, but hopefully someone here can shed a little light for me. A friend of mine had the misfortune of accidently deleting the partition table off a 60 gb ntfs drive during an NT install. The disk appears to be intact with the exception of of the partition table, and I'm trying to work out how to reconstruct it so that we can gain access to the ntfs partition again. Is this something that anyone here has had to fight with? I've tried contructing a new partition (on a different drive) within win2000 and repeating the process so that I've got a disk with non-critical data to play with, but so far all my "intelligent" guesses about what should be in the partition table have resulted in failure. One of the things that is confusing me is how the geometry reported by the drive in a freebsd dmesg relates to the "bios" picture of the geometry that I appear to be able to tweak with in fdisk. Can anyone here help me? The rest of you are hereby granted permission to laugh and laugh! ;o}. Joe --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iEYEARECAAYFAj8ey+YACgkQXVIcjOaxUBZTxQCeNl6gQIg1CZbld6nVNW5w/1os yk8AoNbW6q3eW45ajSDx/RAwtQ6tu2Op =r4qV -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g-- From owner-freebsd-fs@FreeBSD.ORG Thu Jul 24 00:49:02 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 117CB37B401; Thu, 24 Jul 2003 00:49:02 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 625D843F75; Thu, 24 Jul 2003 00:49:01 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfnj3.dialup.mindspring.com ([165.247.222.99] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19faqS-0006Tw-00; Thu, 24 Jul 2003 00:49:01 -0700 Message-ID: <3F1F8F29.1381D309@mindspring.com> Date: Thu, 24 Jul 2003 00:47:53 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Josef Karthauser References: <20030723175448.GA33453@genius.tao.org.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4eabc62655a514c3919f42faba3572892666fa475841a1c7a350badd9bab72f9c350badd9bab72f9c cc: fs@FreeBSD.org Subject: Re: [Off topic] Trashed NT disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 07:49:02 -0000 Josef Karthauser wrote: > A friend of mine had the misfortune of accidently deleting the partition > table off a 60 gb ntfs drive during an NT install. The disk appears to > be intact with the exception of of the partition table, and I'm trying > to work out how to reconstruct it so that we can gain access to the ntfs > partition again. Is this something that anyone here has had to fight > with? /usr/ports/sysutils/ffsrecov-0.5 (I believe that version numer is current). -- Terry From owner-freebsd-fs@FreeBSD.ORG Thu Jul 24 01:04:45 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1673437B401; Thu, 24 Jul 2003 01:04:45 -0700 (PDT) Received: from cepheus.email.starband.net (cepheus.email.starband.net [148.78.247.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AC5243F93; Thu, 24 Jul 2003 01:04:44 -0700 (PDT) (envelope-from jkirby@storagecraft.com) Received: from jkirbydesk (vsat-148-63-114-177.c002.t7.mrt.starband.net [148.63.114.177]) (authenticated bits=0)h6O853DK004589; Thu, 24 Jul 2003 04:05:08 -0400 From: "Jamey Kirby" To: "'Terry Lambert'" , "'Josef Karthauser'" Date: Thu, 24 Jul 2003 01:03:36 -0700 Organization: StorageCraft Message-ID: <000a01c351ba$1b6d7130$b000a8c0@jkirbydesk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <3F1F8F29.1381D309@mindspring.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: fs@freebsd.org Subject: RE: [Off topic] Trashed NT disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jkirby@storagecraft.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 08:04:45 -0000 www.powerquest.com Check out Partition Magic. Jamey -----Original Message----- From: owner-freebsd-fs@freebsd.org [mailto:owner-freebsd-fs@freebsd.org] On Behalf Of Terry Lambert Sent: Thursday, July 24, 2003 12:48 AM To: Josef Karthauser Cc: fs@freebsd.org Subject: Re: [Off topic] Trashed NT disk Josef Karthauser wrote: > A friend of mine had the misfortune of accidently deleting the partition > table off a 60 gb ntfs drive during an NT install. The disk appears to > be intact with the exception of of the partition table, and I'm trying > to work out how to reconstruct it so that we can gain access to the ntfs > partition again. Is this something that anyone here has had to fight > with? /usr/ports/sysutils/ffsrecov-0.5 (I believe that version numer is current). -- Terry _______________________________________________ freebsd-fs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@FreeBSD.ORG Thu Jul 24 08:58:23 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63E9A37B401; Thu, 24 Jul 2003 08:58:23 -0700 (PDT) Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BB0B43F75; Thu, 24 Jul 2003 08:58:22 -0700 (PDT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.3p2/8.12.3) with ESMTP id h6OFwJgb054370; Thu, 24 Jul 2003 19:58:19 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.3p2/8.12.3/Submit) id h6OFwJR8054369; Thu, 24 Jul 2003 19:58:19 +0400 (MSD) (envelope-from yar) Date: Thu, 24 Jul 2003 19:58:18 +0400 From: Yar Tikhiy To: Josef Karthauser Message-ID: <20030724155818.GA50385@comp.chem.msu.su> References: <20030723175448.GA33453@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030723175448.GA33453@genius.tao.org.uk> User-Agent: Mutt/1.5.3i cc: fs@freebsd.org Subject: Re: [Off topic] Trashed NT disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 15:58:23 -0000 On Wed, Jul 23, 2003 at 06:54:48PM +0100, Josef Karthauser wrote: > > A friend of mine had the misfortune of accidently deleting the partition > table off a 60 gb ntfs drive during an NT install. The disk appears to > be intact with the exception of of the partition table, and I'm trying > to work out how to reconstruct it so that we can gain access to the ntfs > partition again. Is this something that anyone here has had to fight In fact, the structure of an NTFS volume is quite suitable for recovery. Its key structure file, MFT, is self-contained, so you can find its beginning by simply scanning the disk sector-by-sector, looking for "$MFT". However, I would start recovering such a disk by looking for the boot sector of the NTFS partition. It has a rather characteristic appearance even if viewed as a hex dump. The things to notice are the 8-byte system ID "NTFS " at the offset of 3 and the 0xAA55 signature in its two last bytes. After you have found the boot sector, you can fetch the 8-byte number of sectors in the volume at the offset of 0x28. Then you will be able to fill in the starting logical sector and the number of logical sectors fields of the partition record in MBR. Further reading: THE description of the NTFS structure: http://linux-ntfs.sourceforge.net/ntfs/index.html In particular, the format of the NTFS boot sector: http://linux-ntfs.sourceforge.net/ntfs/files/boot.html > One of the things that is confusing me is how the geometry reported by > the drive in a freebsd dmesg relates to the "bios" picture of the > geometry that I appear to be able to tweak with in fdisk. Today's typical drive is too large to be described by the classic MBR format, so your only concern about the drive's geometry is that the beginning of the partition should be correctly described within _the BIOS geometry_ so BIOS can load the boot sector. I doubt if the end of the partition field is used at all. The actual position and size of a partition are described for a modern OS by the logical starting sector and the number of logical sectors fields in MBR. Correct me if I'm wrong. On the dmesg vs. BIOS issue: To a programmer's view, a modern drive is just a linear array of sectors. However, software has stuck to the cylinder/head/sector (CHS) way of addressing. So drives report some fictitious geometry, with traditional IDE values for the number of heads and sectors per track at 16 (or perhaps 15) and 63, correspondingly. That's what the kernel and dmesg report. BIOS makes the thing worse by applying a kind of translation, so it can boot an OS from a partition located beyond the first ~500M (the limitation of the old BIOS interface and MBR format, where the maximum cylinder offset was at 1023; but the head offset could grow as large as 255 while the typical number of heads reported by an IDE drive was 15 or 16.) This translation can be done in BIOS software (usually called "Large mode") or by using LBA addressing on the wire ("LBA mode".) Now BIOS seems to be the only consumer of the old, CHS, fields in MBR -- the rest of software uses the logical offset and size fields that were introduced to the MBR format at some moment. That's why it's the BIOS geometry that you should care about when partitioning a drive. -- Yar From owner-freebsd-fs@FreeBSD.ORG Thu Jul 24 09:25:14 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 478F637B401; Thu, 24 Jul 2003 09:25:14 -0700 (PDT) Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71E6843F3F; Thu, 24 Jul 2003 09:25:11 -0700 (PDT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.12.3p2/8.12.3) with ESMTP id h6OGP7gb055830; Thu, 24 Jul 2003 20:25:07 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.12.3p2/8.12.3/Submit) id h6OGP6xK055829; Thu, 24 Jul 2003 20:25:06 +0400 (MSD) (envelope-from yar) Date: Thu, 24 Jul 2003 20:25:06 +0400 From: Yar Tikhiy To: Josef Karthauser Message-ID: <20030724162506.GA54954@comp.chem.msu.su> References: <20030723175448.GA33453@genius.tao.org.uk> <20030724155818.GA50385@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030724155818.GA50385@comp.chem.msu.su> User-Agent: Mutt/1.5.3i cc: fs@freebsd.org Subject: Re: [Off topic] Trashed NT disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 16:25:14 -0000 On Thu, Jul 24, 2003 at 07:58:18PM +0400, Yar Tikhiy wrote: > > On the dmesg vs. BIOS issue: To a programmer's view, a modern drive > is just a linear array of sectors. However, software has stuck to > the cylinder/head/sector (CHS) way of addressing. So drives report > some fictitious geometry, with traditional IDE values for the number > of heads and sectors per track at 16 (or perhaps 15) and 63, > correspondingly. BTW, the nature of these numbers seems to be as follows: 16 heads is a limitation of the ATA (IDE) protocol. 63 sectors is a limitation of the old BIOS interface. > Now BIOS seems to be the only consumer of the old, CHS, fields in > MBR -- the rest of software uses the logical offset and size fields > that were introduced to the MBR format at some moment. That's why > it's the BIOS geometry that you should care about when partitioning > a drive. After some reading, I'm afraid that the "logical" (or "relative") fields were present in the original MBR format. However they had been miscalculated by MS-DOS fdisk and not used by anything else until drives grew large enough to really reqire them for partitioning. -- Yar From owner-freebsd-fs@FreeBSD.ORG Fri Jul 25 01:13:23 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E48AA37B401 for ; Fri, 25 Jul 2003 01:13:23 -0700 (PDT) Received: from teamware-gmbh.de (mail.camelot.de [212.29.0.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9598043FCB for ; Fri, 25 Jul 2003 01:13:20 -0700 (PDT) (envelope-from ThomasZauner@gmx.de) Received: from [217.19.166.3] (HELO line-b-03.camelot.de) by teamware-gmbh.de (CommuniGate Pro SMTP 4.0.6) with ESMTP id 8555933 for freebsd-fs@freebsd.org; Fri, 25 Jul 2003 10:13:16 +0200 From: Thomas Zauner To: freebsd-fs@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 25 Jul 2003 10:13:16 +0200 Message-Id: <1059120796.4829.11.camel@Tom1> Mime-Version: 1.0 Subject: ext3 external storage on USB X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 08:13:24 -0000 hi, can freebsd mount ext3 fs ? i tried it like i would with ext2. BUT NO i turned on the external usb-storage device and got the following mesg: 5 tom2 kernel: umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2 Jul 25 11:33:55 tom2 kernel: umass0: Get Max Lun not supported (STALLED) Jul 25 11:33:59 tom2 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 25 11:33:59 tom2 kernel: da0: Fixed Direct Access SCSI-0 device Jul 25 11:33:59 tom2 kernel: da0: 1.000MB/s transfers Jul 25 11:33:59 tom2 kernel: da0: 39205MB (80293248 512 byte sectors: 255H 63S/T 4998C) ok now i tried this -su-2.05b# mount -t ext2fs /dev/da0s1 /mnt/ ext2fs: /dev/da0s1: No such file or directory this is the result from ls -l/dev/da* -su-2.05b# ls -l /dev/da0* crw-r----- 1 root operator 4, 19 Jul 25 08:38 /dev/da0 crw-r----- 1 root operator 4, 20 Jul 25 08:38 /dev/da0s1 hm what's wrong