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

zfs mount command enchancment tempory mount point option #16927

Open
kenthinson opened this issue Jan 4, 2025 · 0 comments
Open

zfs mount command enchancment tempory mount point option #16927

kenthinson opened this issue Jan 4, 2025 · 0 comments
Labels
Type: Feature Feature request or new feature

Comments

@kenthinson
Copy link

Describe the feature would like to see added to OpenZFS

Looking at the wiki for temporary mount options. I see a lot of options. However no way to set the path of the dataset. It would be nice to override the default mount path one time when specifying the mount point at mount time.

This would allow for easier grabbing of files or maintenance (chroot) without having to remember to switch the path back after you are done.

Example (this dataset usually has a path of root / but I would like to mount it somewhere else for maintenance )

zfs mount -o mountpoint=/mnt/arch tank/os/archLinux

How will this feature improve OpenZFS?

As it stands to access that dataset I have to

  1. Change the normal mount point then remember to change it back after I'm all done.
    or
  2. reboot the machine and boot off that os to access it's file.

Allows quick access to a dataset at a temporary path without having to remember to change it back after doing maintenance. It should revert back after being unmounted.

Additional context

I have multiple different Linux installs on my pool. I use ZFSBootMenu to switch between them. So they all have the path of root. Because all the datasets share the same path (root /) they of course can't be mounted at the same time. Being able to access them without having to juggle the mount points easier would be nice.

Feel free to ask any questions for clarification. Sorry if it's not clear I am dyslexic putting ideas down into words sometimes fails me.

@kenthinson kenthinson added the Type: Feature Feature request or new feature label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Feature request or new feature
Projects
None yet
Development

No branches or pull requests

1 participant