Closed eXotech-code closed 1 year ago
Sending a screenshot with Dbg_Info
enabled:
UPDATE: I have changed the value of g_vol_id
from 0 to 1 in the ApfsFuse.cpp file and for some reason it worked! I have full access to all the volumes. I don't know why it worked but it worked.
I have a SSD with two partitions: sdc2 - APFS - TimeMachine sdc3 - APFS - Just documents
I compiled the original code (with g_vol_id = 0) and I was not able to mount the sdc2(Unable to get volume!), only sdc3. When I change the g_vol_id to 1, I can mount sdc2 but not sdc3(Unable to get volume!)
Commands used:
sudo ./apfs-fuse -o allow_other /dev/sdc2 /media/user/tm
sudo ./apfs-fuse -o allow_other /dev/sdc2 /media/user/docs
Maybe there is some argument missing to inform on the command.
@brunohenriquy I faced with the same issue. I solved it without recompilation.
apfs-fuse -o vol=0 /dev/sdb3 ~/disks/data
apfs-fuse -o vol=1 /dev/sdb2 ~/disks/backup
@brunohenriquy I faced with the same issue. I solved it without recompilation.
apfs-fuse -o vol=0 /dev/sdb3 ~/disks/data apfs-fuse -o vol=1 /dev/sdb2 ~/disks/backup
So there it is, the missing arg, hehehe. Thanks dude!!
You can use apfsutil to check what volumes are available ... and there is also a -v parameter, which is the same as -o vol.
Hey @eXotech-code, @sgan81 since this is not an issue, it was a missing argument on the command line, I think we could close it.
Agreed. Closing this.
Hello, I have made a Time Machine backup on an external SSD and currently I'm trying to access its contents from a Pop_OS! installation. While running the apfs-fuse command to mount the drive it exited with error message "Unable to get volume!". I have tried to debug it with gdb and so far I have found out that
GetVolume()
returns false becauseoid
is equal to 0. I would appreciate any help with this issue. Thanks in advance!