1N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 1N/A * Use is subject to license terms. 1N/A/* ufs specific constants */ 1N/A * Per cylinder group information; summarized in blocks allocated 1N/A * from first cylinder group data blocks. These blocks have to be 1N/A * read in from fs_csaddr (size fs_cssize) in addition to the 1N/A * N.B. sizeof (struct csum) must be a power of two in order for 1N/A * the ``fs_cs'' macro to work (see below). 1N/A/* Ufs super block */ 1N/A /* these are configuration parameters */ 1N/A /* these fields can be computed from the others */ 1N/A /* these are configuration parameters */ 1N/A /* these fields can be computed from the others */ 1N/A /* yet another configuration parameter */ 1N/A /* these fields are derived from the hardware */ 1N/A /* USL SVR4 compatibility */ 1N/A * * USL SVR4 compatibility 1N/A * There was a significant divergence here between Solaris and 1N/A * SVR4 for x86. By swapping these two members in the superblock, 1N/A * we get read-only compatibility of SVR4 filesystems. Otherwise 1N/A * there would be no compatibility. This change was introduced 1N/A * during bootstrapping of Solaris on x86. By making this ifdef'ed 1N/A * on byte order, we provide ongoing compatibility across all 1N/A * platforms with the same byte order, the highest compatibility 1N/A * that can be achieved. 1N/A /* unique id for this filesystem (currently unused and unmaintained) */ 1N/A /* In 4.3 Tahoe this space is used by fs_headswitch and fs_trkseek */ 1N/A /* Neither of those fields is used in the Tahoe code right now but */ 1N/A /* there could be problems if they are. */ 1N/A /* sizes determined by number of cylinder groups and their sizes */ 1N/A /* these fields are derived from the hardware */ 1N/A /* this comes from the disk driver partitioning */ 1N/A /* these fields can be computed from the others */ 1N/A /* this data must be re-computed after crashes */ 1N/A /* these fields are cleared at mount time */ 1N/A /* these fields retain the current block allocation info */ 1N/A * The following used to be fs_csp[MAXCSBUFS]. It was not 1N/A * used anywhere except in old utilities. We removed this 1N/A * in 5.6 and expect fs_u.fs_csp to be used instead. 1N/A * We no longer limit fs_cssize based on MAXCSBUFS. 1N/A union {
/* fs_cs (csum) info */ 1N/A /* USL SVR4 compatibility */ 1N/A /* actually longer */ 1N/A/* block conversion macros */ 1N/A/* cynlinder group macros */ 1N/A#
endif /* FSYS_UFS */ 1N/A#
endif /* !_GRUB_UFS_H */