diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-06-21 05:28:26 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-06-21 05:28:26 +0000 |
commit | db194f1886bbb48d21d26e5b9867a66645342aac (patch) | |
tree | d8d4095f4cc02b34da7a9b562ed1e0c6f9a53470 /sbin/mount_tcfs/mount_tcfs.8 | |
parent | aa86178ab6ace616154b89c689b9262929eee170 (diff) |
- clean makefile
- add OpenBSD tags and copyright notice where missing.
- check the return value of mount(), like EOPTNOTSUPP, and the like.
- remove unused declarations and headers
- rearrange manpage a bit. Add history section
Diffstat (limited to 'sbin/mount_tcfs/mount_tcfs.8')
-rw-r--r-- | sbin/mount_tcfs/mount_tcfs.8 | 79 |
1 files changed, 58 insertions, 21 deletions
diff --git a/sbin/mount_tcfs/mount_tcfs.8 b/sbin/mount_tcfs/mount_tcfs.8 index 4be40984442..a39b9f80f3f 100644 --- a/sbin/mount_tcfs/mount_tcfs.8 +++ b/sbin/mount_tcfs/mount_tcfs.8 @@ -1,41 +1,78 @@ +.\" $OpenBSD: mount_tcfs.8,v 1.2 2000/06/21 05:28:25 fgsch Exp $ +.\" +.\" Copyright (c) 1980, 1989, 1991, 1993 +.\" The Regents of the University of California. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed by the University of +.\" California, Berkeley and its contributors. +.\" 4. Neither the name of the University nor the names of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" .Dd Nov 3, 1999 .Dt MOUNT_TCFS 8 .Os .Sh NAME .Nm mount_tcfs -.Nd mount a tcfs filesystem sub-tree; +.Nd mount a tcfs filesystem sub-tree .Sh SYNOPSIS .Nm .Op Fl o Ar options -.Ar target -.Ar mount-point +.Ar path node .Sh DESCRIPTION The .Nm -command creates a -Transparent Cryptographic File System (TCFS) layer, mapping a sub-tree of the file system -name space into another part of the global file system where -some cryptographic features are provided. +command creates a Transparent Cryptographic File System (TCFS) layer, mapping +a sub-tree of the file system name space (path) into another part of the +global file system (node) where some cryptographic features are provided. .Pp Access to objects existing on the new file system can be allowed only to users who own a proper key. .Sh EXAMPLES -The following example mounts the ffs -file system on mountpoint -.Ar /mnt2 -as TCFS file system using cipher 2. -.Bd -literal +The command +.Bd -literal -offset indent mount_tcfs -o cipher=2 /mnt2 /mnt/tcfs +.Ed .Pp -.Sh FILES -.Bl -tag -width /etc/fstab -compact -.It Pa /etc/fstab -file system information -.El +mount the ffs filesystem +.Ar /mnt2 +on mountpoint +.Ar /mnt/tcfs +as TCFS file system using cipher 2. +.Sh SEE ALSO +.Xr mount 2 , +.Xr unmount 2 , +.Xr fstab 5 , +.Xr mount 8 .Sh BUGS -This is a preliminary version, only for developers. Each other use is discouraged. +This is a preliminary version, only for developers. Each other use is +discouraged. .Pp Sorry, no docs. -.Sh SEE ALSO -.Xr mount 8 , -.Xr fstab 5 +.Sh HISTORY +A +.Nm +command appeared in +.Ox 2.7 . |