Date: Tue, 30 Oct 2001 08:29:10 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: bde@zeta.org.au, julian@elischer.org, fs@FreeBSD.ORG Subject: Re: physical block no -> name of file (FFS)? Message-ID: <3BDED556.92E9F028@mindspring.com> References: <200110301620.f9UGKiD07588@Magelan.Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote: > > In any case, you are looking at a reverse lookup problem. > > But with my approach I didn't have to look at every allocated block > (worst case) to find the file (like the backup approach), I have only to > look at every allocated block which contains metadata. You basically hit all the metadata unequally, which causes it to be more likely to fail in the future. 8-). You can run "fsck" in "scan mode", though I think that will no longer work with the demise of the difference between block and raw devices, with the added "protection" against multiple openenrs in the face of a mount. You could add a device/inode printer to the code where the error originated, though, pretty easily. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BDED556.92E9F028>