Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Sometimes when I run blkid --match-token TYPE=crypto_LUKS --output device /dev/mmcblk2p1 it fails with error 512. I can't find in the manual or source code what this means. Any idea?

# blkid --version                      
blkid from util-linux 2.37.4  (libblkid 2.37.4, 14-Feb-2022)
You must be logged in to vote

Replies: 2 comments

Comment options

The best is to use strace or LIBBLKID_DEBUG=all to get more details.

You must be logged in to vote
0 replies
Comment options

Unfortunately this is from logs of embedded devices in the field so I don't have that option. Can someone point me to where in the code error 512 can be returned?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.