1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
.Dd September 27, 2026
.Dt SETUP-FILESYSTEM 8
.Os
.Sh NAME
.Nm setup-filesystem
.Nd create the rawnix file system skeleton
.Sh SYNOPSIS
.Nm
.Op Ar destination
.Sh DESCRIPTION
.Nm
creates the directory hierarchy and the base configuration files of a
rawnix system under
.Ar destination ,
by default
.Pa /mnt ,
and an empty package database.
Packages are installed into it afterwards with
.Xr install 8 .
.Pp
It writes, among others,
.Pa /etc/passwd ,
.Pa /etc/shadow ,
.Pa /etc/group ,
.Pa /etc/profile ,
.Pa /etc/hosts ,
.Pa /etc/resolv.conf ,
.Pa /etc/securetty ,
.Pa /etc/os-release
and
.Pa /etc/sysctl.conf .
Existing files of those names are overwritten, so run it once, on a
fresh target.
.Pp
root has no password until
.Ic passwd root
is run inside the new system.
.Pp
The groups in
.Pa /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
.Li wheel ,
.Li audio ,
.Li video ,
.Li input ,
.Li netdev
and
.Li plugdev .
.Sh SEE ALSO
.Xr installation 7 ,
.Xr install 8
|