1219820Sjeff/* $NetBSD$ */ 2219820Sjeff 3219820Sjeff/* 4219820Sjeff * Copyright (C) 1997-2004 Sistina Software, Inc. All rights reserved. 5219820Sjeff * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. 6219820Sjeff * 7219820Sjeff * This file is part of LVM2. 8219820Sjeff * 9219820Sjeff * This copyrighted material is made available to anyone wishing to use, 10219820Sjeff * modify, copy, or redistribute it subject to the terms and conditions 11219820Sjeff * of the GNU Lesser General Public License v.2.1. 12219820Sjeff * 13219820Sjeff * You should have received a copy of the GNU Lesser General Public License 14219820Sjeff * along with this program; if not, write to the Free Software Foundation, 15219820Sjeff * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16219820Sjeff */ 17219820Sjeff 18219820Sjeff#ifndef SPTYPE_NAMES_H 19219820Sjeff#define SPTYPE_NAMES_H 20219820Sjeff 21219820Sjeff/* This must be kept up to date with sistina/pool/module/pool_sptypes.h */ 22219820Sjeff 23219820Sjeff/* Generic Labels */ 24219820Sjeff#define SPTYPE_DATA (0x00000000) 25219820Sjeff 26219820Sjeff/* GFS specific labels */ 27219820Sjeff#define SPTYPE_GFS_DATA (0x68011670) 28219820Sjeff#define SPTYPE_GFS_JOURNAL (0x69011670) 29219820Sjeff 30219820Sjeffstruct sptype_name { 31219820Sjeff const char *name; 32219820Sjeff uint32_t label; 33219820Sjeff}; 34219820Sjeff 35219820Sjeffstatic const struct sptype_name sptype_names[] = { 36219820Sjeff {"data", SPTYPE_DATA}, 37219820Sjeff 38219820Sjeff {"gfs_data", SPTYPE_GFS_DATA}, 39219820Sjeff {"gfs_journal", SPTYPE_GFS_JOURNAL}, 40219820Sjeff 41219820Sjeff {"", 0x0} /* This must be the last flag. */ 42219820Sjeff}; 43219820Sjeff 44219820Sjeff#endif 45219820Sjeff