Comments (1)
Thanks for bringing up these issues. I've wanted to improve the UX from the start, but I haven't found a way to cover all cases: in case the system is completely borked, it should be possible to boot from a liveCD/liveUSB and run the script from there.
On dev
config file entry:
Auto-detecting the right device is a lot harder in the liveCD scenario, so I think it's best to keep the dev
entry in the config file. There's no reason to not do some form of autodetect if rolling back the /
partition though.
On mountpoint
config file entry:
As you pointed out, /
might be mounted read-only, so the mountpoint
entry is to cover that scenario. Mounting on /mnt
might not be an option if the operator already mounted something there, and mounting directly on /tmp
is inadvisable as other processes might try to use it for their own purposes, but a directory under /tmp
could work.
On UX improvements in general:
I want to consider the tradeoff between ease of use and code complexity: this tool must work if the system is in a bad state, so it has to be robust and avoid "magic" if it can. The least magic approach is having the operator specify everything themselves through a config file or command-line parameters. That being said, adding support for the common usecase(s) is definitely something worthwhile.
I won't be implementing this in the near future unfortunately, my system is offline at the moment so I can't test anything. Contributions are always appreciated, but I'll get to it myself at one point.
from snapper-rollback.
Related Issues (14)
- [FEATURE] Rollback snapper default layout snapshots (e.g. `@home`) HOT 14
- [BUG] No module btrfsutil were found HOT 5
- Add support for snapshot auto-deletion HOT 3
- [BUG] still booting read only after roll back HOT 10
- The difference between `snapper-rollback`, and the default `snapper rollback`. HOT 4
- 'mountpoint' value when running from installed system HOT 1
- Error on rollback HOT 6
- mountpoint = /btrfsroot HOT 4
- Don't have subvolid 5 HOT 2
- I am left without network device after rollback HOT 1
- [BUG] HOT 4
- Usable with /@ root volume? HOT 6
- Snapshot not restored despite success message HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapper-rollback.