FileSystemName.h

Go to the documentation of this file.
00001 /*
00002  *  BEEN: Benchmarking Environment
00003  *  ==============================
00004  *
00005  *  File author: Branislav Repcek
00006  *
00007  *  GNU Lesser General Public License Version 2.1
00008  *  ---------------------------------------------
00009  *  Copyright (C) 2004-2006 Distributed Systems Research Group,
00010  *  Faculty of Mathematics and Physics, Charles University in Prague
00011  *
00012  *  This library is free software; you can redistribute it and/or
00013  *  modify it under the terms of the GNU Lesser General Public
00014  *  License version 2.1, as published by the Free Software Foundation.
00015  *
00016  *  This library is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  *  Lesser General Public License for more details.
00020  *
00021  *  You should have received a copy of the GNU Lesser General Public
00022  *  License along with this library; if not, write to the Free Software
00023  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00024  *  MA  02111-1307  USA
00025  */
00026 
00036 #ifndef FILE_SYSTEM_NAME_INCLUDED
00037 #define FILE_SYSTEM_NAME_INCLUDED
00038 
00039 #include "../common/UnicodeString.h"
00040 
00041 #if !defined __linux__ && defined __GNU__
00042 #include <hurd/hurd_types.h>
00043 #endif
00044 
00045 namespace hwdet
00046 {
00047 #if defined __linux__
00049     const long FS_MAGIC_AFFS = 0xADFF;
00050     
00052     const long FS_MAGIC_DEVPTS = 0x1CD1;
00053     
00055     const long FS_MAGIC_EXT = 0x137D;
00056     
00058     const long FS_MAGIC_EXT2_OLD = 0xEF51;
00059     
00061     const long FS_MAGIC_EXT2 = 0xEF53;
00062     
00064     const long FS_MAGIC_JFS = 0x3153464a;
00065     
00067     const long FS_MAGIC_XFS = 0x58465342;
00068     
00070     const long FS_MAGIC_HPFS = 0xF995E849;
00071     
00073     const long FS_MAGIC_ISOFS = 0x9660;
00074     
00076     const long FS_MAGIC_ISOFS_WIN = 0x4000;
00077     
00079     const long FS_MAGIC_ISOFS_R_WIN = 0x4004;
00080     
00082     const long FS_MAGIC_MINIX = 0x137F;
00083     
00085     const long FS_MAGIC_MINIX_30 = 0x138F;
00086     
00088     const long FS_MAGIC_MINIX_V2 = 0x2468;
00089     
00091     const long FS_MAGIC_MINIX_V2_30 = 0x2478;
00092     
00094     const long FS_MAGIC_MSDOS = 0x4d44;
00095     
00097     const long FS_MAGIC_FAT = 0x4006;
00098     
00100     const long FS_MAGIC_NCP = 0x564c;
00101     
00103     const long FS_MAGIC_NFS = 0x6969;
00104     
00106     const long FS_MAGIC_PROC = 0x9fa0;
00107     
00109     const long FS_MAGIC_SMB = 0x517B;
00110     
00112     const long FS_MAGIC_XENIX = 0x012FF7B4;
00113     
00115     const long FS_MAGIC_SYSV4 = 0x012FF7B5;
00116     
00118     const long FS_MAGIC_SYSV2 = 0x012FF7B6;
00119     
00121     const long FS_MAGIC_COH = 0x012FF7B7;
00122     
00124     const long FS_MAGIC_UFS = 0x00011954;
00125     
00127     const long FS_MAGIC_XIAFS = 0x012FD16D;
00128     
00130     const long FS_MAGIC_NTFS = 0x5346544e;
00131     
00133     const long FS_MAGIC_TMPFS = 0x1021994;
00134     
00136     const long FS_MAGIC_REISERFS = 0x52654973;
00137     
00139     const long FS_MAGIC_CRAMFS = 0x28cd3d45;
00140     
00142     const long FS_MAGIC_ROMFS = 0x7275;
00143     
00145     const long FS_MAGIC_RAMFS = 0x858458f6;
00146     
00148     const long FS_MAGIC_SQUASHFS = 0x73717368;
00149     
00151     const long FS_MAGIC_SYSFS = 0x62656572;
00152 #endif
00153 
00155     String GetFsHumanName(long fs_type);
00156 } // namespace hwdet
00157 
00158 #endif

Generated on Tue Dec 19 17:43:51 2006 for Detector for Linux by  doxygen 1.4.7