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

[email protected]: Persistence of auto-mounted drives #14794

Open
farsil opened this issue Jan 26, 2025 · 0 comments
Open

[email protected]: Persistence of auto-mounted drives #14794

farsil opened this issue Jan 26, 2025 · 0 comments

Comments

@farsil
Copy link

farsil commented Jan 26, 2025

There are three possibles approaches concerning the persistence of auto-mounted drives:

  1. (current) Do not do anything. Let the user set up their filesystem structure the way they like.
  2. Persist drives. This works from any folder because dosbox-staging always looks in its own folder before checking in the current directory. I've tested running the dosbox-staging executable from a different drive via the command line and it detects the drives folder without issues. I haven't seen any mention in the documentation of this behavior (but I'm asking upstream devs).
  3. Persist resources/drives. I don't like this solution because the files in resources/drives may be updated later by upstream developers, but it does allow to exploit a documented feature, and allows customization of the default "ESSENTIALS" drive.

Documentation of the automount feature is present in the default configuration file:

#                   automount: Mount 'drives/[c]' directories as drives on startup, where [c] is a lower-case
#                              drive letter from 'a' to 'y' (enabled by default). The 'drives' folder can be
#                              provided relative to the current directory or via built-in resources.
#                              Mount settings can be optionally provided using a [c].conf file along-side
#                              the drive's directory, with content as follows:
#                                [drive]
#                                type    = dir, overlay, floppy, or cdrom
#                                label   = custom_label
#                                path    = path-specification, ie: path = %path%;c:\tools
#                                override_drive = mount the directory to this drive instead (default empty)
#                                verbose = true or false
#                                readonly = true or false

Personally, I would like to have 2 implemented.

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