Module Name: src Committed By: apb Date: Sat Aug 30 09:23:29 UTC 2014
Modified Files: src/sys/sys: disk.h Log Message: Ensure each symbol used in FSTYPE_DEFN in <sys/disklabel.h> has a corresponding DKW_PTYPE_* definition, by adding some aliases. XXX: Compatibility between the symbols in FSTYPE_DEFN and the symbols in DKW_PTYPE_* could be addressed by renaming some of them, instead of by adding aliases here, but that's a job for the future. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/sys/disk.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/disk.h diff -u src/sys/sys/disk.h:1.60 src/sys/sys/disk.h:1.61 --- src/sys/sys/disk.h:1.60 Thu Apr 3 15:24:20 2014 +++ src/sys/sys/disk.h Sat Aug 30 09:23:29 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: disk.h,v 1.60 2014/04/03 15:24:20 christos Exp $ */ +/* $NetBSD: disk.h,v 1.61 2014/08/30 09:23:29 apb Exp $ */ /*- * Copyright (c) 1996, 1997, 2004 The NetBSD Foundation, Inc. @@ -248,6 +248,17 @@ __link_set_add_data(dkwedge_methods, nam #define DKW_PTYPE_MINIXFS3 "minixfs3" /* + * Ensure each symbol used in FSTYPE_DEFN in <sys/disklabel.h> + * has a corresponding DKW_PTYPE_* definition. + */ +#define DKW_PTYPE_MSDOS DKW_PTYPE_FAT +#define DKW_PTYPE_BSDFFS DKW_PTYPE_FFS +#define DKW_PTYPE_BSDLFS DKW_PTYPE_LFS +#define DKW_PTYPE_ADOS DKW_PTYPE_AMIGADOS +#define DKW_PTYPE_EX2FS DKW_PTYPE_EXT2FS +#define DKW_PTYPE_RAID DKW_PTYPE_RAIDFRAME + +/* * Disk geometry dictionary. * * NOTE: Not all geometry information is relevant for every kind of disk.