You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+22-18Lines changed: 22 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,25 @@
1
1
## Rwfus: Read-Write OverlayFS for your Steam Deck!
2
2
---
3
3
4
-
Like a vinyl couch cover for your filesystem, Rwfus covers your Deck's /usr/ directory (and some others) allowing you to initialize and use pacman (the Arch Linux package manager) on the Steam Deck without losing packages when the next update comes out.
4
+
Like a vinyl couch cover for your filesystem, Rwfus covers your Deck's /usr/ directory (and some others) allowing you to initialize and use* pacman (the Arch Linux package manager) on the Steam Deck without losing packages when the next update comes out.
5
5
6
6
Directories covered in a default installation:
7
-
Directory | Contents
8
-
---| ---
9
-
/etc/pacman.d | `pacman` configuration
10
-
/usr | Programs and libraries
11
-
/var/cache/pacman | Package cache
12
-
/var/lib/pacman | Package metadata
7
+
|Directory | Contents|
8
+
|----------------- | ---------------------- |
9
+
|/etc/pacman.d |`pacman` configuration|
10
+
|/usr | Programs and libraries|
11
+
|/var/cache/pacman | Package cache|
12
+
|/var/lib/pacman | Package metadata|
13
13
14
+
### * Jank warning
15
+
16
+
Due to the way Valve's firmware updates work, doing `pacman -S[y[y]]u` at any time will lead to complications when the next firmware update is installed. I highly advise avoiding `-Su`, `-Syu`, and `-Syyu` altogether on a Steam Deck with read-only rootfs. It may lead to bad behavior.
17
+
18
+
Rwfus is, right now, a proof of concept (hence the 0.x version number, and being written in Bash.)
19
+
I made it to install a couple user-mode packages (nano-syntax-highlighting and yakuake specifically.)
20
+
It is not production-ready software, and in using Rwfus, you accept that I am not liable if your Deck catches fire.
21
+
22
+
Rwfus will allow you to install *any* package, but not everything will let your Deck survive an update. In particular, `glibc` will crash your Deck after an update, requiring the SteamOS recovery image and some knowledge of Linux and/or Rwfus' internals to fix.
14
23
15
24
### Installation:
16
25
@@ -20,15 +29,14 @@ Directory | Contents
20
29
21
30
Then you're all set! Remember to periodically run `pacman -Sy` to update your repos
22
31
23
-
### Jank warning
24
-
25
-
Due to the way Valve's firmware updates work, doing `pacman -S[y[y]]u` at any time will lead to complications when the next firmware update is installed. I highly advise avoiding `-Su`, `-Syu`, and `-Syyu` altogether on a Steam Deck with read-only rootfs. It may lead to bad behavior.
26
-
27
32
### Usage:
28
33
29
34
```
35
+
Rwfus v0.4.1
36
+
Carry Pacman across SteamOS updates!
37
+
30
38
USAGE:
31
-
rwfus [FLAGS] [OPTIONS] [--] [DIRECTORY]...
39
+
./rwfus [FLAGS] [OPTIONS]
32
40
33
41
FLAGS:
34
42
-h, --help Show this help text, then exit
@@ -45,7 +53,7 @@ FLAGS:
45
53
--mount* Mount Rwfus's disk image
46
54
--umount* Unmount Rwfus's disk image
47
55
48
-
-I, --install-bin* Put /usr/local/bin/rwfus into a [...]/usr/local/bin folder
56
+
-I, --install-bin* Put ./rwfus into a [...]/usr/local/bin folder
49
57
-R, --remove-bin* Remove Rwfus from a [...]/usr/local/bin folder
50
58
51
59
-t, --test Use fake directory targets when performing operations
@@ -55,17 +63,13 @@ FLAGS:
55
63
56
64
OPTIONS:
57
65
-l, --logfile <path> Specify the location of Rwfus's log file
58
-
Default: /tmp/rwfus.XXXX.log (where X is random)
66
+
Default: /var/log/rwfus.log (where X is random)
59
67
-c, --config <path> Specify a configuration file to use
60
68
Default: /opt/rwfus/
61
69
--backup <dest>* Backup Rwfus's disk image to (file path) <dest>
62
70
--restore <src>* Restore Rwfus's disk image from (file path) <src>
63
71
64
72
* options marked with a star require root, unless the --test flag is set.
65
-
66
-
ARGS:
67
-
<DIRECTORY>... List of directories to create overlays for
0 commit comments