Date: Tue, 30 Oct 2001 17:29:09 +0100 (CET) From: Alexander Leidinger <Alexander@Leidinger.net> To: ticso@cicely8.cicely.de Cc: ken@kdm.org, scsi@FreeBSD.ORG Subject: Re: repeating medium errors and error from "camcontrol defects" Message-ID: <200110301629.f9UGTAD07707@Magelan.Leidinger.net> In-Reply-To: <20011030170702.A466@cicely8.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Okt, Bernd Walter wrote: >> At the moment I try to squeeze some information (or pointers to docs) >> about the on disk layout of FFS out of fs@freebsd.org. bde suggested to >> just compare the files on the partition with the backup or just to read >> every file on it and see which one produces errors (I'm going to do this >> now), but I think a dedicated program which does the phys block -> >> filename mapping needs less resources on a possible heavy loaded system. > > A directory entry (filename) points to an inode, which directly and > indirectly points to the logical blocks inside the partition. > There are no references for the way back. > So the only way to find out is to traverse the directorys and inodes > until you have found the inode and then to continue with the directorys > until you found all remaining directory enties. That's what I want to do. Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110301629.f9UGTAD07707>