1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/utils/unmount.8
Nicholas De Nova d217621649 Correct manpage spacing per roff(7) convention.
roff(7) dictates that "Each sentence should terminate at the end of an
input line." Instead of doing this, Sortix manpages (incorrectly) used
double-spaces to separate sentences.

Additionally, fix a few small typos.
2017-02-16 14:42:28 -06:00

36 lines
909 B
Groff

.Dd October 11, 2016
.Dt UNMOUNT 8
.Os
.Sh NAME
.Nm unmount
.Nd unmount filesystems
.Sh SYNOPSIS
.Nm
.Op Fl fl
.Ar directory ...
.Sh DESCRIPTION
.Nm
unmounts the specified paths.
The mountpoint is removed so that it cannot be opened further, and
.Nm
waits until no files on the filesystem are open, after which the filesystem is
shut off cleanly.
.Pp
The options are as follows:
.Bl -tag -width "12345678"
.It Fl f, Fl \-force
Shut off the filesystem immediately, further operations to any open files will
fail.
The filesystem will be consistent, but processes may be stopped in the middle of
file operations.
.It Fl l, Fl \-lazy
Do not wait for the filesystem to be unused, and shut off the filesystem in the
background.
It is not safe to shut down the computer directly after using this option.
.El
.Sh EXIT STATUS
.Nm
will exit 0 on success and non-zero otherwise.
.Sh SEE ALSO
.Xr unmount 2 ,
.Xr extfs 8