/* salvager data structures */
struct InodeSummary { /* Inode summary file--an entry for each
* volume in the inode file for a partition */
- VolId volumeId; /* Volume id */
- VolId RWvolumeId; /* RW volume associated */
+ VolumeId volumeId; /* Volume id */
+ VolumeId RWvolumeId; /* RW volume associated */
int index; /* index into inode file (0, 1, 2 ...) */
int nInodes; /* Number of inodes for this volume */
int nSpecialInodes; /* Number of special inodes, i.e. volume
* volume in a volume directory.
* Assumption: one volume directory per
* partition */
- char *fileName; /* File name on the partition for the volume
- * header */
struct VolumeHeader header;
/* volume number, rw volume number, inode
* numbers of each major component of
byte wouldNeedCallback; /* set if the file server should issue
* call backs for all the files in this volume when
* the volume goes back on line */
+ byte unused; /* is this volume 'extra'? i.e. not referenced
+ * by anything? */
};
struct VnodeInfo {
extern void ObtainSharedSalvageLock(void);
extern void PrintInodeList(struct SalvInfo *salvinfo);
extern void PrintInodeSummary(struct SalvInfo *salvinfo);
-extern void PrintVolumeSummary(struct SalvInfo *salvinfo);
extern int QuickCheck(struct SalvInfo *salvinfo, struct InodeSummary *isp,
int nVols);
extern void RemoveTheForce(char *path);
struct InodeSummary *isp,
struct ViceInodeInfo *inodes, int RW,
int check, int *deleteMe);
-extern void showlog(void);
extern int UseTheForceLuke(char *path);