[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    RE: [PATCH] blkid: type added for btrfs
From:       Sven-Göran_Bergh <svengbergh-busybox () yahoo ! com>
Date:       2012-06-26 15:54:14
Message-ID: 1340726054.112.YahooMailNeo () web161905 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]

Resending. Forgot to attach patch. Sorry...



> Adds TYPE="btrfs" to blkid output.
> 
> 
> Signed-off-by: S-G Bergh <sgb@systemasis.org>
> ---
["bb-1.20.1-blkid-btrfs-type.patch" (application/octet-stream)]

diff -urN busybox-1.20.1/util-linux/volume_id/btrfs.c busybox-1.20.1-btrfs/util-linux/volume_id/btrfs.c
--- busybox-1.20.1/util-linux/volume_id/btrfs.c	2012-04-22 03:45:24.000000000 +0200
+++ busybox-1.20.1-btrfs/util-linux/volume_id/btrfs.c	2012-06-26 17:28:02.395692436 +0200
@@ -102,6 +102,7 @@
 	// N.B.: btrfs natively supports 256 (>VOLUME_ID_LABEL_SIZE) size labels
 	volume_id_set_label_string(id, sb->label, VOLUME_ID_LABEL_SIZE);
 	volume_id_set_uuid(id, sb->fsid, UUID_DCE);
+	IF_FEATURE_BLKID_TYPE(id->type = "btrfs";)
 
 	return 0;
 }


_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic