Welcome to little lamb

Code » anopa » master » tree

[master] / doc / aa-umount.pod

=head1 NAME

aa-umount - Unmount a filesystem

=head1 SYNOPSIS

B<aa-umount> [B<-D>] [B<-O> I<FILE|FD>] [B<-f> | B<-l>] I<MOUNTPOINT>

=head1 OPTIONS

=over

=item B<-D, --double-output>

Enable double-output mode. Instead of using stdout for regular output, and
stderr for warnings and errors, everything is sent both to stdout and stderr.
This is intended to redirect stderr to a log file, so full output can be both
shown on console and logged.

B<Deprecation warning:> Note that this option has been deprecated and will be
removed in the next version; You should use B<--log-file> instead.

=item B<-f, --force>

Force unmount even if busy (only for NFS mounts). This can cause data loss.

=item B<-h, --help>

Show help screen and exit.

=item B<-l, --lazy>

Perform a lazy unmount: make the mount point unavailable for new accesses, and
actually perform the unmount when the mount point ceases to be busy.

=item B<-O, --log-file> I<FILE|FD>

Will duplicate all output (everything written to stdout or stderr) to the given
file or file descriptor. I<FILE|FD> can either be a (previously opened for
writing) file descriptor (must be > 2), or a file which will then be opened in
append mode.

=item B<-V, --version>

Show version information and exit.

=back

=head1 DESCRIPTION

B<aa-umount>(1) unmounts the specified mount point. It isn't possible to unmount
a filesystem if it is busy, e.g. there are still open files. This could even be
caused by B<aa-umount>(1) itself; It is possible to avoid this using the
B<--lazy> option.

=head1 RETURN CODES

Return codes are somewhat unified inside B<anopa>. Odd return codes represent
fatal errors, and are detailled in B<anopa-rc>(1)

B<aa-umount>(1) does not have even return codes.