Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: man: format and sort some private- items #6398

Merged
merged 1 commit into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/man/firejail-profile.5.in
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,11 @@ Set working directory inside jail to the home directory, and failing that, the r
Set working directory inside the jail. Full directory path is required. Symbolic links are not allowed.
.TP
\fBprivate-dev
Create a new /dev directory. Only disc, dri, dvb, hidraw, null, full, zero, tty, pts, ptmx,
random, snd, urandom, video, log, shm and usb devices are available.
Use the options no3d, nodvd, nosound, notv, nou2f and novideo for additional restrictions.
Create a new /dev directory.
Only disc, dri, dvb, full, hidraw, log, null, ptmx, pts, random, shm, snd, tty,
urandom, usb, video and zero devices are available.
Use the options no3d, nodvd, nosound, notv, nou2f and novideo for additional
restrictions.

.TP
\fBprivate-etc file,directory
Expand Down
11 changes: 7 additions & 4 deletions src/man/firejail.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ File globbing is supported, see \fBFILE GLOBBING\fR section for more details.
.br
Example:
.br
$ firejail \-\-private-bin=bash,sed,ls,cat
$ firejail \-\-private-bin=bash,cat,ls,sed
.br
Parent pid 20841, child pid 20842
.br
Expand Down Expand Up @@ -2172,8 +2172,11 @@ $ pwd

.TP
\fB\-\-private-dev
Create a new /dev directory. Only disc, dri, dvb, hidraw, null, full, zero, tty, pts, ptmx, random, snd, urandom, video, log, shm and usb devices are available.
Use the options --no3d, --nodvd, --nosound, --notv, --nou2f and --novideo for additional restrictions.
Create a new /dev directory.
Only disc, dri, dvb, full, hidraw, log, null, ptmx, pts, random, shm, snd, tty,
urandom, usb, video and zero devices are available.
Use the options \-\-no3d, \-\-nodvd, \-\-nosound, \-\-notv, \-\-nou2f and
\-\-novideo for additional restrictions.
.br

.br
Expand All @@ -2191,7 +2194,7 @@ cdrom cdrw dri dvd dvdrw full log null ptmx pts random shm snd sr0
.br
$
.TP
\fB\-\-private-etc, \-\-private-etc=file,directory,@group
\fB\-\-private-etc, \-\-private-etc=@group,file,directory
The files installed by \-\-private-etc are copies of the original system files from /etc directory.
By default, the command brings in a skeleton of files and directories used by most console tools:

Expand Down