1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

abroot: add page (#9608)

* abroot: add page

Closes #9606

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* abroot: fix typo

The `--version` and `--help` flags don't require Superuser (sudo) privileges.

* Update abroot.md

* Update abroot.md

* Update pages/linux/abroot.md

* Change symbol to ⟺

I updated the same on docs since it has better visibility

* Update pages/linux/abroot.md

* Update pages/linux/abroot.md

* Update pages/linux/abroot.md

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
K.B.Dharun Krishna 2022-12-13 10:34:53 +05:30 committed by GitHub
parent ff14fd5fd5
commit f7fb8b8f0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

33
pages/linux/abroot.md Normal file
View file

@ -0,0 +1,33 @@
# abroot
> ABRoot utility provides full immutability and atomicity by transacting between 2 root partition states (A⟺B).
> It also allows on-demand transactions via a transactional shell.
> More information: <https://github.com/Vanilla-OS/ABRoot>.
- Output the current or future root partition state:
`sudo abroot get {{present|future}}`
- Enter the transactional shell in the future root partition and switch root on the next boot:
`sudo abroot shell`
- Execute a specific command in the transactional shell in the future root partition and switch to it on the next boot:
`sudo abroot exec "{{command}}"`
- Install specific packages in the host inside the transactional shell in the future root partition and switch to it on the next boot:
`sudo abroot exec apt install {{package1 package2 ...}}`
- Update the boot partition (for advanced users only):
`sudo abroot _update-boot`
- Display help:
`abroot --help`
- Display version:
`abroot --version`