Why the partx cannot output the debug info with LIBBLKID_DEBUG enabled ?












0















We have run the partx with LIBBLKID_DEBUG enabled on many RHEL/CentOS, but all output without their corresponding debug details!



# 
#
# LIBBLKID_DEBUG=0xffff partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#
#
# export LIBBLKID_DEBUG=0xffff
#
#
#
# partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#









share|improve this question

























  • I'm able to get the debug output on my CentOS 7 system. However, it seems to be printing to the stderr stream. Are you discarding stderr, by any chance?

    – Haxiel
    Mar 2 at 5:19











  • I have rechecked it, but still unavailable!

    – lylklb
    Mar 2 at 6:36
















0















We have run the partx with LIBBLKID_DEBUG enabled on many RHEL/CentOS, but all output without their corresponding debug details!



# 
#
# LIBBLKID_DEBUG=0xffff partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#
#
# export LIBBLKID_DEBUG=0xffff
#
#
#
# partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#









share|improve this question

























  • I'm able to get the debug output on my CentOS 7 system. However, it seems to be printing to the stderr stream. Are you discarding stderr, by any chance?

    – Haxiel
    Mar 2 at 5:19











  • I have rechecked it, but still unavailable!

    – lylklb
    Mar 2 at 6:36














0












0








0








We have run the partx with LIBBLKID_DEBUG enabled on many RHEL/CentOS, but all output without their corresponding debug details!



# 
#
# LIBBLKID_DEBUG=0xffff partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#
#
# export LIBBLKID_DEBUG=0xffff
#
#
#
# partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#









share|improve this question
















We have run the partx with LIBBLKID_DEBUG enabled on many RHEL/CentOS, but all output without their corresponding debug details!



# 
#
# LIBBLKID_DEBUG=0xffff partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#
#
# export LIBBLKID_DEBUG=0xffff
#
#
#
# partx /dev/cciss/c0d0
# 1: 63- 208844 ( 208782 sectors, 106 MB)
# 2: 208845-585858419 (585649575 sectors, 299852 MB)
# 3: 0- -1 ( 0 sectors, 0 MB)
# 4: 0- -1 ( 0 sectors, 0 MB)
#
#






rhel libblkid






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 2 at 9:22









Rui F Ribeiro

41.7k1483141




41.7k1483141










asked Mar 2 at 3:36









lylklblylklb

408




408













  • I'm able to get the debug output on my CentOS 7 system. However, it seems to be printing to the stderr stream. Are you discarding stderr, by any chance?

    – Haxiel
    Mar 2 at 5:19











  • I have rechecked it, but still unavailable!

    – lylklb
    Mar 2 at 6:36



















  • I'm able to get the debug output on my CentOS 7 system. However, it seems to be printing to the stderr stream. Are you discarding stderr, by any chance?

    – Haxiel
    Mar 2 at 5:19











  • I have rechecked it, but still unavailable!

    – lylklb
    Mar 2 at 6:36

















I'm able to get the debug output on my CentOS 7 system. However, it seems to be printing to the stderr stream. Are you discarding stderr, by any chance?

– Haxiel
Mar 2 at 5:19





I'm able to get the debug output on my CentOS 7 system. However, it seems to be printing to the stderr stream. Are you discarding stderr, by any chance?

– Haxiel
Mar 2 at 5:19













I have rechecked it, but still unavailable!

– lylklb
Mar 2 at 6:36





I have rechecked it, but still unavailable!

– lylklb
Mar 2 at 6:36










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f503914%2fwhy-the-partx-cannot-output-the-debug-info-with-libblkid-debug-enabled%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f503914%2fwhy-the-partx-cannot-output-the-debug-info-with-libblkid-debug-enabled%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?