Any method to list the APFS volumes with their labels
Closed this issue · 7 comments
I have an APFS container with many volumes. Is there any command I can use to list the volumes with their names?
Or is there any way I can mount a volume by its LABEL instead of volume number
Neither are implemented so far. The second would probably be much easier. I'll look into it as soon as I have the time.
I'm looking into this now, and mounting by label is actually impossible because apple allows multiple volumes to share the same label. I guess I could write a tool to list the labels.
I'm looking into this now, and mounting by label is actually impossible because apple allows multiple volumes to share the same label. I guess I could write a tool to list the labels.
LGTM. Maybe we could also make the file managers display the label being mounted as well.
Hey I just pushed a tool to list labels, when you can please try it out and let me know if it helps. As for the file managers, I'm not completely sure how they get the label information, but I think it requires filesystem-specific plugins for udisks.
Hey I just pushed a tool to list labels, when you can please try it out and let me know if it helps. As for the file managers, I'm not completely sure how they get the label information, but I think it requires filesystem-specific plugins for udisks.
I'll check it out when I get free.
Thanks!
I made a release for apfsprogs a few days ago that has this tool you requested. I guess I'll close this now, feel free to reopen if it doesn't work for you.