Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add definition for MSD(FAT) and SFS(Smart FS).



details:   https://anonhg.NetBSD.org/src/rev/1921257a4c37
branches:  trunk
changeset: 755760:1921257a4c37
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Jun 19 08:45:25 2010 +0000

description:
Add definition for MSD(FAT) and SFS(Smart FS).

diffstat:

 sys/sys/disklabel_rdb.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 939b4f7872a0 -r 1921257a4c37 sys/sys/disklabel_rdb.h
--- a/sys/sys/disklabel_rdb.h   Sat Jun 19 08:42:48 2010 +0000
+++ b/sys/sys/disklabel_rdb.h   Sat Jun 19 08:45:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel_rdb.h,v 1.1 2009/09/12 08:23:25 phx Exp $    */
+/*     $NetBSD: disklabel_rdb.h,v 1.2 2010/06/19 08:45:25 kiyohara Exp $       */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -205,6 +205,8 @@
 #define DOST_EXT2      0x4c4e5800      /* 'LNX0' Linux fs partition (ext2fs) */
 #define DOST_LNXSWP    0x53575000      /* 'SWP0' Linux swap partition */
 #define DOST_RAID      0x52414900      /* 'RAID' Raidframe partition */
+#define DOST_MSD       0x4d534400      /* 'MSDx' MSDOS partition */
+#define DOST_SFS       0x53465300      /* 'SFSx' Smart fs partition */
 
 struct adostype {
        u_char archtype;        /* see ADT_xxx below */
@@ -220,6 +222,8 @@
 #define ADT_AMIX       5
 #define ADT_EXT2       6
 #define ADT_RAID       7
+#define ADT_MSD                8
+#define ADT_SFS                9
 
 #define ISFSARCH_NETBSD(adt) \
        ((adt).archtype >= ADT_NETBSDROOT && (adt).archtype <= ADT_NETBSDUSER)



Home | Main Index | Thread Index | Old Index