Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You cannot specify a folder path that is not relative to the current directory #64

Open
irixaligned opened this issue Jan 20, 2024 · 0 comments

Comments

@irixaligned
Copy link

[irix@shodan fatxfs]$ mkdir mount
[irix@shodan fatxfs]$ mkdir mount/c
[irix@shodan fatxfs]$ mkdir mount/e
[irix@shodan fatxfs]$ mkdir mount/x
[irix@shodan fatxfs]$ mkdir mount/y
[irix@shodan fatxfs]$ mkdir mount/z
[irix@shodan fatxfs]$ ./fatxfs /dev/nbd0 mount/c --drive=c
[irix@shodan fatxfs]$ ls mount/c
[irix@shodan fatxfs]$ cd mount/c
[irix@shodan c]$ ls
[irix@shodan c]$ cd ..
[irix@shodan mount]$ ls
c  e  x  y  z
[irix@shodan mount]$ umount c
[irix@shodan mount]$ ../fatxfs /dev/nbd0 c --drive=c
[irix@shodan mount]$ ls c
 Audio   'Xbox Book.xtf'   data    images   sounds         xboxdashdata.185EAD00   xshell.xbe
 XODASH   Xbox.xtf         fonts   media    xboxdash.xbe   xlaunch.ini

When attempting to mount with a folder path that is not relative to the current directory by solely name, the partition specified will be "mounted".
It will be shown with the proper permissions, no errors will be thrown. It will be considered properly mounted, and umount will let you unmount it, but the folder will remain empty.

The location of the fatxfs executable is irrelevant, but you have to be in the containing folder of your mount point, otherwise the command will simply not populate the folder with anything. Nothing out of the ordinary is shown in the logs.

I believe this functionality is somewhat crucial. Thanks in advance. Please let me know if I need to provide further information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant