Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
bcache-tools
0002-bcache-tools-Add-label-field.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-bcache-tools-Add-label-field.patch of Package bcache-tools
From 03eed4cd5075169a40a726d31ca12e88953074d6 Mon Sep 17 00:00:00 2001 From: Shaoxiong Li <dahefanteng@gmail.com> Date: Thu, 13 Sep 2018 09:34:37 +0800 Subject: [PATCH 07/16] bcache-tools: Add 'label' field Git-commit: 03eed4cd5075169a40a726d31ca12e88953074d6 Patch-mainline: bcache-tools-1.1 References: bsc#1139948 When using 'bcache make' command,you can see the label information in the output. Signed-off-by: Shaoxiong Li <dahefanteng@gmail.com> Signed-off-by: Coly Li <colyli@suse.de> --- make.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make.c b/make.c index b50bf80..e5e7464 100644 --- a/make.c +++ b/make.c @@ -308,6 +308,7 @@ static void write_sb(char *dev, unsigned int block_size, } printf("Name %s\n", dev); + printf("Label %s\n", label); printf("Type data\n"); printf("UUID: %s\n" "Set UUID: %s\n" @@ -334,6 +335,7 @@ static void write_sb(char *dev, unsigned int block_size, SET_CACHE_REPLACEMENT(&sb, cache_replacement_policy); printf("Name %s\n", dev); + printf("Label %s\n", label); printf("Type cache\n"); printf("UUID: %s\n" "Set UUID: %s\n" -- 2.25.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor