mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
35 lines
912 B
Groff
35 lines
912 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
|