searchfs icon indicating copy to clipboard operation
searchfs copied to clipboard

Unable to search /System/Volumes/Data ?

Open luckman212 opened this issue 4 years ago • 3 comments

Catalina 10.15.3

searchfs seems unable to search the r/w mountpoint where all user data is stored. Tried v0.3 from https://sveinbjorn.org/files/software/searchfs.zip as well as compiling from master - same result:

$ ./searchfs -l
/dev/disk1s5 (apfs): /
/dev/disk1s1 (apfs): /System/Volumes/Data
/dev/disk1s4 (apfs): /private/var/vm
/dev/disk2s2 (hfs ): /Volumes/TimeMachine

$ ./searchfs -v / USBDriverKit.framework$
/System/DriverKit/System/Library/Frameworks/USBDriverKit.framework
/System/Library/Frameworks/USBDriverKit.framework

$ ./searchfs -v /System/Volumes/Data foo
Not a volume mount point: /System/Volumes/Data

$ ./searchfs -v /dev/disk1s1 foo
Not a volume mount point: /System/Volumes/Data

Not sure if it matters, but I also tried granting the binary Full Disk Access, which did not make any difference. Am I doing something wrong?

luckman212 avatar Mar 01 '20 19:03 luckman212

I'm still running on Mojave so I'm not sure about how Catalina may have broken things. Will take a look at this issue as soon as I upgrade.

sveinbjornt avatar Mar 02 '20 13:03 sveinbjornt

Same issue on Big Sur 11.1

decodism avatar Jan 17 '21 16:01 decodism

Manually allow-listing /System/Volumes/Data in is_mount_path() seems to do the trick.

jevinskie avatar Dec 02 '21 22:12 jevinskie