Skip to content

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

@irixaligned

Description

@irixaligned
[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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions