163565Sbostic.\" Copyright (c) 1993 263565Sbostic.\" The Regents of the University of California. All rights reserved. 363565Sbostic.\" 463565Sbostic.\" %sccs.include.redist.man% 563565Sbostic.\" 6*63566Sbostic.\" @(#)newlfs.8 8.1 (Berkeley) 06/19/93 763565Sbostic.\" 863565Sbostic.Dd 963565Sbostic.Dt NEWLFS 8 1063565Sbostic.Os BSD 4.4 1163565Sbostic.Sh NAME 1263565Sbostic.Nm newlfs 1363565Sbostic.Nd construct a new LFS file system 1463565Sbostic.Sh SYNOPSIS 1563565Sbostic.Nm newlfs 1663565Sbostic.Fl L 1763565Sbostic.Op Ar newlfs-options 1863565Sbostic.Ar special 1963565Sbostic.Sh DESCRIPTION 2063565Sbostic.Nm Newlfs 2163565Sbosticbuilds a log-structured file system on the specified special 2263565Sbosticdevice basing its defaults on the information in the disk label. 2363565Sbostic(Before running 2463565Sbostic.Nm newlfs 2563565Sbosticthe disk must be labeled using 2663565Sbostic.Xr disklabel 8 .) 2763565Sbostic.Pp 2863565SbosticThe following options define the general layout policies. 2963565Sbostic.Bl -tag -width Fl 3063565Sbostic.It Fl B 3163565SbosticThe logical segment size of the file system in bytes. 3263565Sbostic.It Fl b Ar block-size 3363565SbosticThe block size of the file system in bytes. 3463565Sbostic.It Fl L 3563565SbosticCreate a log-structured file system (LFS). 3663565SbosticThis flag is currently required. 3763565Sbostic.It Fl m Ar free space \&% 3863565SbosticThe percentage of space reserved from normal users; the minimum 3963565Sbosticfree space threshold. The default value used is 10%. 4063565SbosticSee 4163565Sbostic.Xr tunefs 8 4263565Sbosticfor more details on how to set this option. 4363565Sbostic.It Fl s Ar size 4463565SbosticThe size of the file system in sectors. 4563565Sbostic.El 4663565Sbostic.Sh SEE ALSO 4763565Sbostic.Xr disktab 5 , 4863565Sbostic.Xr fs 5 , 4963565Sbostic.Xr dumplfs 8 , 5063565Sbostic.Xr disklabel 8 , 5163565Sbostic.Xr diskpart 8 , 5263565Sbostic.Xr tunefs 8 5363565Sbostic.Rs 5463565Sbostic.%A M. McKusick 5563565Sbostic.%A W. Joy 5663565Sbostic.%A S. Leffler 5763565Sbostic.%A R. Fabry 5863565Sbostic.%T A Fast File System for UNIX , 5963565Sbostic.%J ACM Transactions on Computer Systems 2 6063565Sbostic.%V 3 6163565Sbostic.%P pp 181-197 6263565Sbostic.%D August 1984 6363565Sbostic.%O (reprinted in the BSD System Manager's Manual) 6463565Sbostic.Re 6563565Sbostic.Sh HISTORY 6663565SbosticThe 6763565Sbostic.Nm 6863565Sbosticcommand appeared in 6963565Sbostic.Bx 4.4 . 70