Changeset 2943


Ignore:
Timestamp:
Feb 3, 2012, 2:11:13 AM (5 years ago)
Author:
bruno
Message:
  • Adds brtfs support (Michael Caerwyn mcaerwyn_at_gmail.com)
Location:
branches/3.0
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/deplist.d/fs.conf

    r2409 r2943  
    2020/sbin/mkfs.minix
    2121/sbin/mkfs.ocfs2
     22/sbin/mkfs.btrfs
    2223
    2324#
     
    3435/sbin/fsck.jfs
    3536/sbin/badblocks
     37/sbin/btrfsck
    3638
    3739# ext2/3
     
    5557
    5658#
     59# BTRFS
     60#
     61/sbin/btrfs
     62/sbin/btrfs-convert
     63/sbin/btrfsctl
     64/sbin/btrfs-debug-tree
     65/sbin/btrfs-image
     66/sbin/btrfs-map-logical
     67/sbin/btrfs-show
     68/sbin/btrfstune
     69/sbin/btrfs-vol
     70/sbin/btrfs-zero-log
     71
     72#
    5773# XFS
    5874#
  • branches/3.0/mindi/mindi

    r2939 r2943  
    6666CDROM_MODS="$TAPE_MODS $IDE_MODS $USB_MODS $PCMCIA_MODS $SCSI_MODS $NET_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660 vfat fat"
    6767# Those modules will only go on the backup media, not the boot media.
    68 EXTRA_MODS="$CDROM_MODS loop md-mod linear raid0 raid1 xor raid10 raid5 raid456 raid6_pq async_pq xor async_tx async_memcpy async_xor lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin dm-emc dm-hp-sw dm-rdac dm-region-hash dm-snapshot dm-log multipath jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16 ocfs2 ocfs2_dlm ocfs2_nodemanager configfs"
     68EXTRA_MODS="$CDROM_MODS loop md-mod linear raid0 raid1 xor raid10 raid5 raid456 raid6_pq async_pq xor async_tx async_memcpy async_xor lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin dm-emc dm-hp-sw dm-rdac dm-region-hash dm-snapshot dm-log multipath jfs xfs btrfs zlib_deflate libcrc32c xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache ext4 jbd2 crc16 ocfs2 ocfs2_dlm ocfs2_nodemanager configfs"
    6969# Replace with that line for HP OCMP e.g.
    7070#DENY_MODS="MPS_Driver_Mapper mps octtldrv tscttl streams kqemu fdomain"
  • branches/3.0/mondo/src/include/my-stuff.h

    r2848 r2943  
    311311#define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE  "/dev/md"
    312312#define RAID_DEVICE_STUB    DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE
    313 #define SANE_FORMATS        "swap image vfat ext2 ext3 ext4 xfs vfs jfs reiserfs vmfs dos minix coda fuse.sshfs nfs nfs4 ntfs ntfs-3g hpfs raid lvm cifs ocfs ocfs2"
     313#define SANE_FORMATS        "swap image vfat ext2 ext3 ext4 xfs vfs jfs reiserfs vmfs dos minix coda fuse.sshfs nfs nfs4 ntfs ntfs-3g hpfs raid lvm cifs ocfs ocfs2 btrfs"
    314314#define ALT_TAPE        "/dev/ht0"
    315315#define MKE2FS_OR_NEWFS "mke2fs"
     
    343343
    344344#define DO_MBR_PLEASE "/tmp/DO-MBR-PLEASE"
     345#define MONDO_MNTLISTCHG "/tmp/mountlist.changed"
    345346
    346347
  • branches/3.0/mondo/src/mondorestore/mondo-prep.c

    r2933 r2943  
    21022102               || strcmp(format, "ext4") == 0
    21032103               || strcmp(format, "xfs") == 0
    2104                || strcmp(format, "jfs") == 0) {
     2104               || strcmp(format, "jfs") == 0
     2105                   || strcmp(format, "btrfs") == 0) {
    21052106        strcpy(partcode, "83");
    21062107    } else if (strcmp(format, "minix") == 0) {
     
    24312432    } else if (strcmp(format, "ext4") == 0) {
    24322433        strcpy(program, "mkfs -t ext4 -F -q");
     2434    } else if (strcmp(format, "btrfs") == 0) {
     2435            strcpy(program, "mkfs.btrfs");
    24332436    } else if (strcmp(format, "minix") == 0) {
    24342437        strcpy(program, "mkfs.minix");
Note: See TracChangeset for help on using the changeset viewer.