xref: /netbsd-src/sbin/mount_nilfs/mount_nilfs.8 (revision 8450a7c42673d65e3b1f6560d3b6ecd317a6cbe8)
1.\" $NetBSD: mount_nilfs.8,v 1.4 2016/06/01 12:01:21 wiz Exp $
2.\"
3.\" Copyright (c) 2008, 2009 Reinoud Zandijk
4.\" 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 for the
17.\"          NetBSD Project.  See http://www.NetBSD.org/ for
18.\"          information about NetBSD.
19.\" 4. The name of the author may not be used to endorse or promote products
20.\"    derived from this software without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
26.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32.\"
33.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
34.\"
35.Dd June 1, 2016
36.Dt MOUNT_NILFS 8
37.Os
38.Sh NAME
39.Nm mount_nilfs
40.Nd mount a NILFS file system
41.Sh SYNOPSIS
42.Nm
43.Op Fl c Ar checkpoint
44.Op Fl o Ar options
45.Op Fl t Ar gmtoff
46.Ar special
47.Ar node
48.Sh DESCRIPTION
49NILFS is a log-structured file system designed to support fast
50writing, fast recovery times, live snapshots, concurrent read-only
51snapshot mounts, and live file system resizing.
52Its inodes are managed using B-trees.
53.Pp
54The
55.Nm
56command attaches the NILFS file system residing on the specified
57.Ar special
58device node on the location indicated with
59.Ar node .
60.Pp
61.Bl -tag -width XXXoptions
62.It Fl c Ar checkpoint
63Select the checkpoint number
64.Ar checkpoint
65to be mounted instead of the default last one.
66.It Fl o Ar options
67Use the specified mount
68.Ar options
69as specified in
70.Xr mount 8 .
71.It Fl t Ar gmtoff
72Set the time zone offset (in seconds) from UTC to
73.Ar gmtoff ,
74with positive values indicating east of the Prime Meridian.
75If not set, the user's current time zone will be used.
76.El
77.Sh SEE ALSO
78.Xr mount 2 ,
79.Xr vnd 4 ,
80.Xr fstab 5 ,
81.Xr mount 8 ,
82.Xr mount_lfs 8 ,
83.Xr umount 8 ,
84.Xr vnconfig 8
85.Sh HISTORY
86NILFS is a file system developped by NTT and released in 2005 for
87Linux.
88Version 2 is available since 2009.
89This cleanroom implementation was written by
90.An -nosplit
91.An Reinoud Zandijk
92for
93.Nx
94in 2009, and has first been released as part of
95.Nx 6 .
96.Sh AUTHORS
97This implementation of NILFS was written by
98.An Reinoud Zandijk .
99.Sh CAVEATS
100This implementation currently only supports read-only operation.
101See
102.Xr mount_lfs 8
103for an older log-structured file system with write support.
104Also see
105.Xr wapbl 4
106and
107.Xr mount 8
108for fast journal-based recovery using FFS.
109