| SETUP-FILESYSTEM(8) | System Manager's Manual | SETUP-FILESYSTEM(8) |
setup-filesystem —
create the rawnix file system skeleton
setup-filesystem |
[destination] |
setup-filesystem creates the directory
hierarchy and the base configuration files of a rawnix system under
destination, by default /mnt,
and an empty package database. Packages are installed into it afterwards
with install(8).
It writes, among others, /etc/passwd, /etc/shadow, /etc/group, /etc/profile, /etc/hosts, /etc/resolv.conf, /etc/securetty, /etc/os-release and /etc/sysctl.conf. Existing files of those names are overwritten, so run it once, on a fresh target.
root has no password until passwd root is
run inside the new system.
The groups in /etc/group have fixed IDs,
the same on every rawnix system, and belong to the base system: no package
creates or removes them. Among them are wheel,
audio, video,
input, netdev and
plugdev.
| September 27, 2026 | setup 1.0 |