xref: /csrg-svn/old/mount_lofs/mount_lofs.8 (revision 66472)
154697Sbostic.\"
2*66472Sbostic.\" Copyright (c) 1992, 1993, 1994
362949Sbostic.\"	The Regents of the University of California.  All rights reserved.
454697Sbostic.\" All rights reserved.
554697Sbostic.\"
654697Sbostic.\" This code is derived from software donated to Berkeley by
754697Sbostic.\" Jan-Simon Pendry.
854697Sbostic.\"
954697Sbostic.\" %sccs.include.redist.roff%
1054697Sbostic.\"
11*66472Sbostic.\"	@(#)mount_lofs.8	8.2 (Berkeley) 03/27/94
1254697Sbostic.\"
1354697Sbostic.\"
1454697Sbostic.Dd
1554697Sbostic.Dt MOUNT_LOFS 8
1654697Sbostic.Os BSD 4.4
1754697Sbostic.Sh NAME
1854697Sbostic.Nm mount_lofs
1954697Sbostic.Nd mount a virtual copy of an existing filesystem sub-tree
2054697Sbostic.Sh SYNOPSIS
2154697Sbostic.Nm mount_lofs
22*66472Sbostic.Op Fl o Ar options
23*66472Sbostic.Ar target
24*66472Sbostic.Ar mount-point
2554697Sbostic.Sh DESCRIPTION
2654697SbosticThe
2754697Sbostic.Nm mount_lofs
2854697Sbosticcommand makes a sub-tree of an existing filesystem visible
2954697Sbosticin another part of the global filesystem namespace.
3054697SbosticThis allows existing files and directories to be accessed
3154697Sbosticusing a different pathname.
3254697Sbostic.Pp
3354697SbosticThe primary differences between a virtual copy of the filesystem
3454697Sbosticand a symbolic link are that
3554697Sbostic.Xr getcwd 3
3654697Sbosticfunctions correctly in the virtual copy, and that other filesystems
3754697Sbosticmay be mounted on the virtual copy without affecting the original.
3854697SbosticA different device number for the virtual copy is returned by
3954697Sbostic.Xr stat 2 ,
4054697Sbosticbut in other respects it is indistinguishable from the original.
41*66472Sbostic.Pp
42*66472SbosticThe options are as follows:
43*66472Sbostic.Bl -tag -width indent
44*66472Sbostic.It Fl o
45*66472SbosticOptions are specified with a
46*66472Sbostic.Fl o
47*66472Sbosticflag followed by a comma separated string of options.
48*66472SbosticSee the
49*66472Sbostic.Xr mount 8
50*66472Sbosticman page for possible options and their meanings.
51*66472Sbostic.Sh SEE ALSO
52*66472Sbostic.Xr mount 8
5354697Sbostic.Sh HISTORY
5454697SbosticThe
5562948Sbostic.Nm mount_lofs
5662948Sbosticutility first appeared in 4.4BSD.
57