xref: /netbsd-src/sbin/mount_lfs/mount_lfs.8 (revision fdecd6a253f999ae92b139670d9e15cc9df4497c)
1.\"	$NetBSD: mount_lfs.8,v 1.3 1997/05/29 01:48:36 cgd Exp $
2.\"
3.\" Copyright (c) 1993, 1994
4.\"	The Regents of the University of California.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by the University of
17.\"	California, Berkeley and its contributors.
18.\" 4. Neither the name of the University nor the names of its contributors
19.\"    may be used to endorse or promote products derived from this software
20.\"    without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\"	@(#)mount_lfs.8	8.5 (Berkeley) 3/30/94
35.\"
36.Dd March 30, 1994
37.Dt MOUNT_LFS 8
38.Os BSD 4.4
39.Sh NAME
40.Nm mount_lfs
41.Nd mount a log-structured file system
42.Sh SYNOPSIS
43.Nm mount_lfs
44.Op Fl dns
45.Op Fl o Ar options
46.Ar special
47.Ar node
48.Sh DESCRIPTION
49The
50.Nm mount_lfs
51command attaches a log-structured file system
52.Ar special
53device on to the file system tree at the point
54.Ar node .
55In addition, the
56.Xr lfs_cleanerd 8
57utility is invoked to clean the file system periodically.
58.Pp
59This command is normally executed by
60.Xr mount 8
61at boot time.
62.Pp
63The options are as follows:
64.Bl -tag -width Ds
65.It Fl d
66Run
67.Xr lfs_cleanerd 8
68in debug mode.
69.It Fl o
70Options are specified with a
71.Fl o
72flag followed by a comma separated string of options.
73See the
74.Xr mount 8
75man page for possible options and their meanings.
76.It Fl n
77Don't start
78.Xr lfs_cleanerd 8
79on the file system.
80.It Fl s
81Cause
82.Xr lfs_cleanerd 8
83to read data in small chunks when cleaning the file system.
84.El
85.Sh SEE ALSO
86.Xr mount 2 ,
87.Xr unmount 2 ,
88.Xr fstab 5 ,
89.Xr lfs_cleanerd 8 ,
90.Xr mount 8
91.sp
92.Rs
93.%A Ousterhout and Douglis
94.%D 1989
95.%T "Beating the I/O Bottleneck: A Case for Log-structured File Systems"
96.%J "Operating Systems Review"
97.%V Vol. 23
98.%N No. 1
99.%P pp. 11-27
100.%O "also available as Technical Report UCB/CSD 88/467"
101.Re
102.Rs
103.%A Rosenblum and Ousterhout
104.%D 1991
105.%T "The Design and Implementation of a Log-Structured File System"
106.%J "ACM SIGOPS Operating Systems Review"
107.%V Vol. 25
108.%N No. 5
109.Re
110.Rs
111.%A Seltzer
112.%D 1992
113.%T "File System Performance and Transaction Support"
114.%B "PhD Thesis, University of California, Berkeley"
115.%O "also available as Technical Report UCB/ERL M92"
116.Re
117.Rs
118.%A Seltzer, Bostic, McKusick and Staelin
119.%D 1993
120.%T "An Implementation of a Log-Structured File System for UNIX"
121.%J "Proc. of the Winter 1993 USENIX Conf."
122.%P pp. 315-331
123.Re
124.Sh HISTORY
125The
126.Nm mount_lfs
127function first appeared in 4.4BSD.
128