/tmp additions

George Melikov 2018-09-26 11:26:41 +03:00
parent d7c50be52a
commit b40c743251
1 changed files with 14 additions and 0 deletions

@ -146,6 +146,20 @@ Now you can create datasets:
The `debootstrap` command leaves the new system in an unconfigured state. An alternative to using `debootstrap` is to copy the entirety of a working system into the new ZFS root. The `debootstrap` command leaves the new system in an unconfigured state. An alternative to using `debootstrap` is to copy the entirety of a working system into the new ZFS root.
3.5 create /tmp **(optional)**
There are 2 ways - use ondisk /tmp as a dataset, or as tmpfs:
- as dataset:
```
# zfs create -o com.sun:auto-snapshot=false -o exec=on rpool/var/tmp
```
- as TMPFS:
```
# cp /usr/share/systemd/tmp.mount /etc/systemd/system/
# systemctl enable tmp.mount
```
## Step 4: System Configuration ## Step 4: System Configuration
4.1 Configure the hostname (change `HOSTNAME` to the desired hostname). 4.1 Configure the hostname (change `HOSTNAME` to the desired hostname).