xref: /original-bsd/sbin/mount_lfs/mount_lfs.8 (revision f51da917)
1.\" Copyright (c) 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)mount_lfs.8	8.2 (Berkeley) 12/11/93
7.\"
8.Dd ""
9.Dt MOUNT_LFS 8
10.Os BSD 4.4
11.Sh NAME
12.Nm mount_lfs
13.Nd mount a log-structured file system
14.Sh SYNOPSIS
15.Nm mount_lfs
16.Op Fl dns
17.Op Fl F fsoptions
18.Pa device
19.Pa mount_point
20.Sh DESCRIPTION
21The
22.Nm mount_lfs
23command attaches the log-structured file system
24residing on the device named by
25.Ar device
26to the global file system namespace.
27The file system is attached at the point
28specified by
29.Ar mount_point .
30This command is normally executed by
31.Xr mount 8
32at boot time.
33.Pp
34After the file system is mounted, if the
35.Fl n
36flag is not specified then the
37.Xr lfs_cleanerd 8
38program is invoked to clean the file system periodically.
39If the
40.Fl d
41or
42.Fl s
43flags are given to
44.Nm mount_lfs ,
45they are passed to the cleaner.
46.Sh SEE ALSO
47.Xr mount 2 ,
48.Xr unmount 2 ,
49.Xr fstab 5 ,
50.Xr lfs_cleanerd 8
51.Sh CAVEATS
52.Nm Mount_lfs
53can be run by hand if you wish to use
54the flags, and since the flags are useful
55mainly for debugging this doesn't make much
56of a difference in normal operation.
57.Sh HISTORY
58The
59.Nm mount_lfs
60function first appeared in 4.4BSD.
61