|
yast2-storage
|
00001 /* 00002 * Copyright (c) [2004-2009] Novell, Inc. 00003 * 00004 * All Rights Reserved. 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of version 2 of the GNU General Public License as published 00008 * by the Free Software Foundation. 00009 * 00010 * This program is distributed in the hope that it will be useful, but WITHOUT 00011 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00013 * more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program; if not, contact Novell, Inc. 00017 * 00018 * To contact Novell about this file by physical or electronic mail, you may 00019 * find current contact information at www.novell.com. 00020 */ 00021 00022 00023 #ifndef STORAGE_DEFINES_H 00024 #define STORAGE_DEFINES_H 00025 00026 00027 #define SYSFSDIR "/sys/block" 00028 00029 #define SYSCONFIGFILE "/etc/sysconfig/storage" 00030 00031 #define PARTEDBIN "/usr/sbin/parted" 00032 #define PARTEDCMD PARTEDBIN " -s " // blank at end !! 00033 #define LABEL_GPT_SYNC_MBR "gpt_sync_mbr" 00034 #define ADDPARTBIN "/usr/sbin/addpart" 00035 #define DELPARTBIN "/usr/sbin/delpart" 00036 00037 #define MDADMBIN "/sbin/mdadm" 00038 00039 #define PVCREATEBIN "/sbin/pvcreate" 00040 00041 #define LVCREATEBIN "/sbin/lvcreate" 00042 #define LVREMOVEBIN "/sbin/lvremove" 00043 #define LVEXTENDBIN "/sbin/lvextend" 00044 #define LVREDUCEBIN "/sbin/lvreduce" 00045 #define LVSBIN "/sbin/lvs" 00046 00047 #define VGCREATEBIN "/sbin/vgcreate" 00048 #define VGREMOVEBIN "/sbin/vgremove" 00049 #define VGEXTENDBIN "/sbin/vgextend" 00050 #define VGREDUCEBIN "/sbin/vgreduce" 00051 #define VGDISPLAYBIN "/sbin/vgdisplay" 00052 #define VGSBIN "/sbin/vgs" 00053 #define VGSCANBIN "/sbin/vgscan" 00054 #define VGCHANGEBIN "/sbin/vgchange" 00055 00056 #define CRYPTSETUPBIN "/sbin/cryptsetup" 00057 #define LOSETUPBIN "/sbin/losetup" 00058 #define MULTIPATHBIN "/sbin/multipath" 00059 #define MULTIPATHDBIN "/sbin/multipathd" 00060 #define DMSETUPBIN "/sbin/dmsetup" 00061 #define DMRAIDBIN "/sbin/dmraid" 00062 #define BTRFSBIN "/sbin/btrfs" 00063 #define WIPEFSBIN "/sbin/wipefs" 00064 00065 #define MOUNTBIN "/bin/mount" 00066 #define UMOUNTBIN "/bin/umount" 00067 #define SWAPONBIN "/sbin/swapon" 00068 #define SWAPOFFBIN "/sbin/swapoff" 00069 00070 #define DDBIN "/bin/dd" 00071 00072 #define BLKIDBIN "/sbin/blkid" 00073 #define BLOCKDEVBIN "/sbin/blockdev" 00074 #define LSSCSIBIN "/usr/bin/lsscsi" 00075 00076 #define LSBIN "/bin/ls" 00077 00078 #define DASDFMTBIN "/sbin/dasdfmt" 00079 #define DASDVIEWBIN "/sbin/dasdview" 00080 #define FDASDBIN "/sbin/fdasd" 00081 00082 #define UDEVADM "/sbin/udevadm" 00083 00084 #define MODPROBEBIN "/sbin/modprobe" 00085 #define GREPBIN "/usr/bin/grep" 00086 00087 #define EFIBOOTMGR "/usr/sbin/efibootmgr" 00088 00089 #endif
1.7.3