1*63565Sbostic.\" Copyright (c) 1993 2*63565Sbostic.\" The Regents of the University of California. All rights reserved. 3*63565Sbostic.\" 4*63565Sbostic.\" %sccs.include.redist.man% 5*63565Sbostic.\" 6*63565Sbostic.\" @(#)newlfs.8 5.1 (Berkeley) 06/19/93 7*63565Sbostic.\" 8*63565Sbostic.Dd 9*63565Sbostic.Dt NEWLFS 8 10*63565Sbostic.Os BSD 4.4 11*63565Sbostic.Sh NAME 12*63565Sbostic.Nm newlfs 13*63565Sbostic.Nd construct a new LFS file system 14*63565Sbostic.Sh SYNOPSIS 15*63565Sbostic.Nm newlfs 16*63565Sbostic.Fl L 17*63565Sbostic.Op Ar newlfs-options 18*63565Sbostic.Ar special 19*63565Sbostic.Sh DESCRIPTION 20*63565Sbostic.Nm Newlfs 21*63565Sbosticbuilds a log-structured file system on the specified special 22*63565Sbosticdevice basing its defaults on the information in the disk label. 23*63565Sbostic(Before running 24*63565Sbostic.Nm newlfs 25*63565Sbosticthe disk must be labeled using 26*63565Sbostic.Xr disklabel 8 .) 27*63565Sbostic.Pp 28*63565SbosticThe following options define the general layout policies. 29*63565Sbostic.Bl -tag -width Fl 30*63565Sbostic.It Fl B 31*63565SbosticThe logical segment size of the file system in bytes. 32*63565Sbostic.It Fl b Ar block-size 33*63565SbosticThe block size of the file system in bytes. 34*63565Sbostic.It Fl L 35*63565SbosticCreate a log-structured file system (LFS). 36*63565SbosticThis flag is currently required. 37*63565Sbostic.It Fl m Ar free space \&% 38*63565SbosticThe percentage of space reserved from normal users; the minimum 39*63565Sbosticfree space threshold. The default value used is 10%. 40*63565SbosticSee 41*63565Sbostic.Xr tunefs 8 42*63565Sbosticfor more details on how to set this option. 43*63565Sbostic.It Fl s Ar size 44*63565SbosticThe size of the file system in sectors. 45*63565Sbostic.El 46*63565Sbostic.Sh SEE ALSO 47*63565Sbostic.Xr disktab 5 , 48*63565Sbostic.Xr fs 5 , 49*63565Sbostic.Xr dumplfs 8 , 50*63565Sbostic.Xr disklabel 8 , 51*63565Sbostic.Xr diskpart 8 , 52*63565Sbostic.Xr tunefs 8 53*63565Sbostic.Rs 54*63565Sbostic.%A M. McKusick 55*63565Sbostic.%A W. Joy 56*63565Sbostic.%A S. Leffler 57*63565Sbostic.%A R. Fabry 58*63565Sbostic.%T A Fast File System for UNIX , 59*63565Sbostic.%J ACM Transactions on Computer Systems 2 60*63565Sbostic.%V 3 61*63565Sbostic.%P pp 181-197 62*63565Sbostic.%D August 1984 63*63565Sbostic.%O (reprinted in the BSD System Manager's Manual) 64*63565Sbostic.Re 65*63565Sbostic.Sh HISTORY 66*63565SbosticThe 67*63565Sbostic.Nm 68*63565Sbosticcommand appeared in 69*63565Sbostic.Bx 4.4 . 70