Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blkid -L shows wrong output #519

Open
firasuke opened this issue Sep 13, 2024 · 0 comments
Open

blkid -L shows wrong output #519

firasuke opened this issue Sep 13, 2024 · 0 comments

Comments

@firasuke
Copy link
Contributor

Hey there,

Thanks for your time and effort on toybox!

I am using a blkid -L CUSTOMLABEL in my custom initramfs scripts, I have an ISO with the following blkid:

/dev/loop0: BLOCK_SIZE="2048" UUID="2024-06-21-19-34-09-00" LABEL="CUSTOMLABEL" TYPE
="iso9660" PTUUID="8accdc61-d931-4b5a-bc3a-ba34d52a8caf" PTTYPE="gpt"

Running util-linux's blkid -L CUSTOMLABEL shows /dev/loop0 while running toybox's blkid shows:

SEC_TYPE="msdos"GLAUCUS

The output SEC_TYPE="msdos" does not belong here.

Running blkid -U "2024-06-21-19-34-09-00" works fine for both util-linux and toybox, so the issue is just with blkid -L.

Is this intended behavior?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant