patch-2.1.122 linux/fs/hfs/mdb.c
Next file: linux/fs/isofs/inode.c
Previous file: linux/fs/hfs/file_hdr.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Sat Sep 12 10:34:39 1998
- Orig file:
v2.1.121/linux/fs/hfs/mdb.c
- Orig date:
Sun Jan 4 10:40:17 1998
diff -u --recursive --new-file v2.1.121/linux/fs/hfs/mdb.c linux/fs/hfs/mdb.c
@@ -29,6 +29,8 @@
* the HFS equivalent of a superblock.
*
* Reference: _Inside Macintosh: Files_ pages 2-59 through 2-62
+ *
+ * modified for HFS Extended
*/
struct raw_mdb {
hfs_word_t drSigWord; /* Signature word indicating fs type */
@@ -60,9 +62,11 @@
hfs_lword_t drFilCnt; /* number of files in the fs */
hfs_lword_t drDirCnt; /* number of directories in the fs */
hfs_byte_t drFndrInfo[32]; /* data used by the Finder */
- hfs_word_t drVCSize; /* MacOS caching parameter */
- hfs_word_t drVCBMSize; /* MacOS caching parameter */
- hfs_word_t drCtlCSize; /* MacOS caching parameter */
+ hfs_word_t drEmbedSigWord; /* embedded volume signature */
+ hfs_lword_t drEmbedExtent; /* starting block number (xdrStABN)
+ and number of allocation blocks
+ (xdrNumABlks) occupied by embedded
+ volume */
hfs_lword_t drXTFlSize; /* bytes in the extents B-tree */
hfs_byte_t drXTExtRec[12]; /* extents B-tree's first 3 extents */
hfs_lword_t drCTFlSize; /* bytes in the catalog B-tree */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov