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

List:       busybox
Subject:    [PATCH 1/3] blkid: add type display for hfsplus
From:       Sven-Göran_Bergh <svengbergh-busybox () yahoo ! com>
Date:       2012-11-21 15:06:37
Message-ID: 1353510397.44110.YahooMailNeo () web121801 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]

blkid should show TYPE=hfsplus, when applicable.

  blkid: add type display for hfsplus

  function                                             old     new   delta
  volume_id_probe_hfs_hfsplus                          740     749      +9
  .rodata                                           148924  148932      +8
  ------------------------------------------------------------------------------
  (add/remove: 0/0 grow/shrink: 2/0 up/down: 17/0)               Total: 17 bytes

  Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org>
---
 util-linux/volume_id/hfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch attached.

["1-volume_id-hfsplus-type.patch" (application/octet-stream)]

commit a56c622a3a473896a9efb9db85d49786ce19586f
Author: Sven-Göran Bergh <sgb@systemasis.org>
Date:   Mon Nov 19 17:29:45 2012 +0100

    blkid: add type display for hfsplus
    
    Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org>
---
 util-linux/volume_id/hfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util-linux/volume_id/hfs.c b/util-linux/volume_id/hfs.c
index f3f19db..dd5ec24 100644
--- a/util-linux/volume_id/hfs.c
+++ b/util-linux/volume_id/hfs.c
@@ -286,7 +286,7 @@ int FAST_FUNC volume_id_probe_hfs_hfsplus(struct volume_id *id /*,uint64_t off*/
 
  found:
 //	volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
-//	id->type = "hfsplus";
+	IF_FEATURE_BLKID_TYPE(id->type = "hfsplus";)
 
 	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