From 77461eb0c146e8fcb4281e8370c5b361e8258f72 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 27 Dec 1998 10:31:36 +0000 Subject: 1998-12-27 Roland McGrath * hurd_types.h (enum file_storage_class): New values STORAGE_REMAP, STORAGE_COPY; moved with their comments from libstore/store.h. --- hurd/hurd_types.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h index b9e51d06..cb64b771 100644 --- a/hurd/hurd_types.h +++ b/hurd/hurd_types.h @@ -163,6 +163,8 @@ enum term_bottom_type STORAGE_LAYER is a set of storage types, representing the same address range; all will be written too, and will be read in turn until one succeeds + STORAGE_REMAP is a layer on top of another store that remaps its blocks + STORAGE_COPY is a memory snapshot of another store STORAGE_NETWORK means that the file is stored elsewhere on the network; all the remaining fields contan type-specific information. STORAGE_OTHER means none of these apply; and should be used when no @@ -187,6 +189,11 @@ enum term_bottom_type (BS is the LCM of its children; SIZE is the sum of theirs) layer - TY, FL, NC - - NC (BS is the LCM of its children; SIZE is the minimum of theirs) + remap - TY, FL, NR NR * (OFFS, LEN) - 1 + (BS and SIZE are that of the child) + copy - TY, FL, SIZE - DATA - + (DATA is preceeded by padding to the next page boundary, and is + SIZE bytes long itself) For ileave, concat, and layer, the children are encoded following the parent. The first int must always be TY. @@ -220,10 +227,12 @@ enum file_storage_class STORAGE_NETWORK, STORAGE_MEMORY, STORAGE_TASK, - STORAGE_NULL, + STORAGE_ZERO, STORAGE_CONCAT, STORAGE_INTERLEAVE, STORAGE_LAYER, + STORAGE_REMAP, + STORAGE_COPY, }; /* Flags for the flags word returned by some types . */ -- cgit v1.2.3