Commit Graph

12 Commits

Author SHA1 Message Date
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
perseant 8a3e9fdf9d Add "-A" option to autoconfigure the segment size based on measured
bandwidth and seek time of the disk, using the "4 * bandwidth * seek
time" formula from Neefe-Matthews' 1997 paper.  An RZ25 disk with this
option gets 200K segments.  Reference the paper in the manual page.
2000-12-05 19:51:14 +00:00
hubertf 1320b80b0e xref lfs_cleanerd(8) in SEE ALSO 2000-11-08 19:43:16 +00:00
hubertf 4fdbe215a1 In SEE ALSO:
* it's dump_lfs(8), not dumplfs(8)
 * xref mount_lfs(8)
2000-11-08 19:37:46 +00:00
perseant 48d7c317e8 Tweak how lfs_avail is initialized, corresponding to changes in the
kernel.

Don't make more superblock segments than we have a record of in
the superblock; and print these out as we go, like newfs.

Add am "-M" flag to specify the number of reserved segments, with a note
in the man page not to use it.
2000-07-04 22:35:04 +00:00
perseant 42bce177e0 Add -F flag to override newfs_lfs' preference for 4.4LFS-labelled partitions. 2000-02-12 23:58:09 +00:00
enami 3fb18954ab - The -B flag should be followed by logical segment size.
- Remove unnecessary comma at the end of SEE ALSO list.
2000-02-05 11:57:30 +00:00
perseant 43a7fde6d9 newfs_lfs now recognizes a zero p_sgs field to mean "use the default segment
size" (for consistency with bsize/fsize, and since segment size == block
size is never a valid combination).

Updated the man page to include explicit reasonable values for fsize, bsize,
and sgs, at suggestion from Hubert Feyrer.
2000-01-18 21:57:59 +00:00
perseant f1dfdc6927 disklabel now understands the p_sgs partition field (shift to compute
segment size from block size).

newfs_lfs now reads the disklabel to find segment, block, and fragment
sizes.  Because reading this info from the wrong fs type could result in
very poor fs layout (e.g. ffs has "16" where the segshift would go,
resulting in 512-*megabyte* segments for 8K blocks), newfs_lfs refuses
to create a filesystem on a partition not labeled "4.4LFS".

Man pages for newfs_lfs updated to reflect this change.
2000-01-18 00:02:28 +00:00
hubertf 5471344299 Document the proper fstype for LFS. (If the "default" 4.2BSD is used,
newfs_lfs runs fine, but I get hangs when writing to the disk)
2000-01-16 00:44:59 +00:00
perseant 7fa6616468 Address PR 7412: fix newfs_lfs.8 to list all real options for newfs_lfs;
also fix newfs_lfs to get rid of all sorts of useless options that applied
only to newfs_ffs.  Corrected reference to the FFS paper to the reference
to the BSD-LFS paper.
1999-07-15 19:09:40 +00:00
perseant 0a849c918b Change name of newlfs to newfs_lfs. 1999-03-18 17:18:04 +00:00