Article View: bit.listserv.coco
Article #43285DCHECK and linked files
From: Chris Burke
Date: Mon, 20 Dec 1993 17:28
Date: Mon, 20 Dec 1993 17:28
28 lines
2114 bytes
2114 bytes
A. Hsiao writes: > I've just run dcheck for the >first time on my hard drive (while I was waiting for a gopher >search... it was on a whim.) > > In any case, it picked up a lot of "Cluster $xxxx was previously >allocated" and stated that my file structure was not intact. I am >assuming that this is caused by files linked across several >directories, but want to verify this hypothesis, just in case there >is something _seriously_ wrong with it. > > OS9's directory structure doesn't mind linked files, does it? >I've used them for some time now, saved a lot of space, but have >never really had occasion to try and copy or delete one of them. >Have I made an os9 coup? OS9 (or at least DCHECK, REPACK, and most other disk utilities) consider a hard link to be a corruption of the file system - two directory entries pointing at the same file descriptor sector. The data structures used by RBF are "plumbed" for hard links (e.g. there's an FD.LNK field for the link count in the file descriptor), but the implementation seems incomplete. Since DCHECK is your only tool for finding "real" problems in the file structure, you have three options: 1) don't use DCHECK, and risk data loss; 2) keep a list of all of your hard links and cross-reference it with the DCHECK output (e.g. DCHECK -BP); 3) don't use hard links. Chris Burke
Technical Details
Message-ID:
<9312201728.AA22102@fh16c.mdd.comm.mot.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!paladin.american.edu!auvm!MDD.COMM.MOT.COM!burkeShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110568,9d818ab4cf1f4923,start X-Google-Attributes: gid110568,public X-Google-ArrivalTime: 1993-12-20 09:40:37 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!paladin.american.edu!auvm!MDD.COMM.MOT.COM!burke Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: bit.listserv.coco Return-Path: <@AUVM.AMERICAN.EDU:COCO@PUCC.BITNET> Message-ID: <9312201728.AA22102@fh16c.mdd.comm.mot.com> Date: Mon, 20 Dec 1993 09:28:53 PST Reply-To: Chris Burke <burke@MDD.COMM.MOT.COM> Sender: COCO - Tandy Color Computer List <COCO@PUCC.BITNET> From: Chris Burke <burke@MDD.COMM.MOT.COM> Subject: DCHECK and linked files Lines: 27