Bug 15994 - findfs reports first match only
Summary: findfs reports first match only
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.36.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-13 19:17 UTC by bitfreak
Modified: 2024-03-13 19:17 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bitfreak 2024-03-13 19:17:33 UTC
when listing filesystems you can see in this example that "findfs" only lists the first match.

root@arm7l:~$ blkid
/dev/mmcblk1p1: LABEL="rootfs" UUID="4daf4461-edd1-4e20-9ca8-742ef64cfa05" TYPE="ext4" 
/dev/mmcblk1p3: LABEL="data" UUID="00fe39aa-8f68-425d-b225-062fa1e1e142" TYPE="ext4" 
/dev/mmcblk1p2: LABEL="rootfs" UUID="4daf4461-edd1-4e20-9ca8-742ef64cfa05" TYPE="ext4"
/dev/mmcblk0p1: LABEL="rootfs" UUID="199ca64f-bd96-4778-ad56-648ff19b66ef" TYPE="ext4"

root@arm7l:~$ findfs LABEL=rootfs
/dev/mmcblk1p1

root@arm7l:~$