1*cdc507f0Sandvar.\" $NetBSD: mount_nilfs.8,v 1.6 2022/05/24 20:50:17 andvar Exp $ 269a586f2Sreinoud.\" 369a586f2Sreinoud.\" Copyright (c) 2008, 2009 Reinoud Zandijk 469a586f2Sreinoud.\" All rights reserved. 569a586f2Sreinoud.\" 669a586f2Sreinoud.\" Redistribution and use in source and binary forms, with or without 769a586f2Sreinoud.\" modification, are permitted provided that the following conditions 869a586f2Sreinoud.\" are met: 969a586f2Sreinoud.\" 1. Redistributions of source code must retain the above copyright 1069a586f2Sreinoud.\" notice, this list of conditions and the following disclaimer. 1169a586f2Sreinoud.\" 2. Redistributions in binary form must reproduce the above copyright 1269a586f2Sreinoud.\" notice, this list of conditions and the following disclaimer in the 1369a586f2Sreinoud.\" documentation and/or other materials provided with the distribution. 1469a586f2Sreinoud.\" 1569a586f2Sreinoud.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1669a586f2Sreinoud.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1769a586f2Sreinoud.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1869a586f2Sreinoud.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1969a586f2Sreinoud.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2069a586f2Sreinoud.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2169a586f2Sreinoud.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2269a586f2Sreinoud.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2369a586f2Sreinoud.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2469a586f2Sreinoud.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2569a586f2Sreinoud.\" 2669a586f2Sreinoud.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> 2769a586f2Sreinoud.\" 2846d007f4Spgoyette.Dd June 1, 2016 2969a586f2Sreinoud.Dt MOUNT_NILFS 8 3069a586f2Sreinoud.Os 3169a586f2Sreinoud.Sh NAME 3269a586f2Sreinoud.Nm mount_nilfs 3369a586f2Sreinoud.Nd mount a NILFS file system 3469a586f2Sreinoud.Sh SYNOPSIS 3569a586f2Sreinoud.Nm 369f6042adSwiz.Op Fl c Ar checkpoint 3769a586f2Sreinoud.Op Fl o Ar options 3869a586f2Sreinoud.Op Fl t Ar gmtoff 3969a586f2Sreinoud.Ar special 4069a586f2Sreinoud.Ar node 4169a586f2Sreinoud.Sh DESCRIPTION 4246d007f4SpgoyetteNILFS is a log-structured file system designed to support fast 4346d007f4Spgoyettewriting, fast recovery times, live snapshots, concurrent read-only 4469750943Swizsnapshot mounts, and live file system resizing. 4569750943SwizIts inodes are managed using B-trees. 4646d007f4Spgoyette.Pp 4769a586f2SreinoudThe 4869a586f2Sreinoud.Nm 4969a586f2Sreinoudcommand attaches the NILFS file system residing on the specified 5069a586f2Sreinoud.Ar special 5169a586f2Sreinouddevice node on the location indicated with 5269a586f2Sreinoud.Ar node . 5369a586f2Sreinoud.Pp 5469a586f2Sreinoud.Bl -tag -width XXXoptions 559f6042adSwiz.It Fl c Ar checkpoint 569f6042adSwizSelect the checkpoint number 579f6042adSwiz.Ar checkpoint 589f6042adSwizto be mounted instead of the default last one. 5969a586f2Sreinoud.It Fl o Ar options 6069a586f2SreinoudUse the specified mount 6169a586f2Sreinoud.Ar options 6269a586f2Sreinoudas specified in 6369a586f2Sreinoud.Xr mount 8 . 6469a586f2Sreinoud.It Fl t Ar gmtoff 6569a586f2SreinoudSet the time zone offset (in seconds) from UTC to 6669a586f2Sreinoud.Ar gmtoff , 6769a586f2Sreinoudwith positive values indicating east of the Prime Meridian. 6869a586f2SreinoudIf not set, the user's current time zone will be used. 6969a586f2Sreinoud.El 7069a586f2Sreinoud.Sh SEE ALSO 7169a586f2Sreinoud.Xr mount 2 , 7269a586f2Sreinoud.Xr vnd 4 , 7369a586f2Sreinoud.Xr fstab 5 , 7469a586f2Sreinoud.Xr mount 8 , 7546d007f4Spgoyette.Xr mount_lfs 8 , 7669750943Swiz.Xr umount 8 , 7769a586f2Sreinoud.Xr vnconfig 8 7846d007f4Spgoyette.Sh HISTORY 79*cdc507f0SandvarNILFS is a file system developed by NTT and released in 2005 for 8069750943SwizLinux. 8169750943SwizVersion 2 is available since 2009. 8246d007f4SpgoyetteThis cleanroom implementation was written by 8346d007f4Spgoyette.An -nosplit 8446d007f4Spgoyette.An Reinoud Zandijk 8569750943Swizfor 8669750943Swiz.Nx 8769750943Swizin 2009, and has first been released as part of 8869750943Swiz.Nx 6 . 8946d007f4Spgoyette.Sh AUTHORS 9046d007f4SpgoyetteThis implementation of NILFS was written by 9146d007f4Spgoyette.An Reinoud Zandijk . 9246d007f4Spgoyette.Sh CAVEATS 9346d007f4SpgoyetteThis implementation currently only supports read-only operation. 9446d007f4SpgoyetteSee 9546d007f4Spgoyette.Xr mount_lfs 8 9669750943Swizfor an older log-structured file system with write support. 9769750943SwizAlso see 9846d007f4Spgoyette.Xr wapbl 4 9946d007f4Spgoyetteand 10046d007f4Spgoyette.Xr mount 8 10146d007f4Spgoyettefor fast journal-based recovery using FFS. 102