Closed lescx closed 2 months ago
this is the part that causes problem. This is in the function.go file, in the getFolder function. this function basically returns a list of all folders within a specified path. that specified path is "/run/media/YOUR_USER_NAME" because it tries to access a folder in /run/media and there is none on your system, it fails.
/run/media is commonly used on arch linux. it is used to mount media from external hdd and storage devices. Considering the amount of ricing MHNCat did to their arch linux distro, i can safely assume that they mounted their media to /run/media/ using a hdd. MHNCat's commit's also suggest something similar.
But I am using a macos and I don't have a /run/media folder too. I don't get such an error. my system: macos catalina 10.15.7
I think I need to find a better way to identify external hard drives
Seems like MacOs external disk is under /Volumes
?
I fixed this here
But I didn't test MacOs, so if you can, please test it for me and report back. Thanks!!
Seems like MacOs external disk is under /Volumes?
Yes
i will test it on macos, but idk how i will cuz that bug never happened to me
Hmmm maybe you can try does the external disk work on MacOs? I think it should not work on macos before.
i don't think I have any external disks. I need to search for them, if I need to test them
Oh that's okay! just wait for someone to test it.
I really appreciate your help!
@AnshumanNeon You could mkdir
+ mount
a directory in /Volumes
. No need to plug in a hard drive.
well the data disk wasn't appearing earlier but now it is. So I think it is working fine. I can go inside it and it doesn't crash.
Ok i think we can close this issue!
Each time I move the cursor, I get the following error in
superfile.log
:There is no
/run/media
folder on my system.OS: Debian 12 (bookworm) spf: v1.0.1