summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs/makefs.8
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2021-04-03 14:10:56 +0000
committersimonb <simonb@NetBSD.org>2021-04-03 14:10:56 +0000
commit5bebfbb81022bc920b79ef670852e83ee415f84d (patch)
treede9a0e2ebb6d558b4c315a39b31313c2cc61af1e /usr.sbin/makefs/makefs.8
parent7307bbc58d562c02c09af9dbbcf61f632d1cb832 (diff)
Add a -L option to follow all symbolic links. Useful if you have symlinks
in a makefs directory tree but want to refer to the actual file.
Diffstat (limited to 'usr.sbin/makefs/makefs.8')
-rw-r--r--usr.sbin/makefs/makefs.88
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/makefs/makefs.8 b/usr.sbin/makefs/makefs.8
index a9ffbff1a75..77dc46f7c0a 100644
--- a/usr.sbin/makefs/makefs.8
+++ b/usr.sbin/makefs/makefs.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: makefs.8,v 1.66 2020/11/15 00:18:48 jmcneill Exp $
+.\" $NetBSD: makefs.8,v 1.67 2021/04/03 14:10:56 simonb Exp $
.\"
.\" Copyright (c) 2001-2003 Wasabi Systems, Inc.
.\" All rights reserved.
@@ -33,7 +33,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd November 14, 2020
+.Dd April 4, 2021
.Dt MAKEFS 8
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nd create a file system image from a directory tree
.Sh SYNOPSIS
.Nm
-.Op Fl rxZ
+.Op Fl LrxZ
.Op Fl B Ar endian
.Op Fl b Ar free-blocks
.Op Fl d Ar debug-mask
@@ -158,6 +158,8 @@ An optional
suffix may be provided to indicate that
.Ar free-files
indicates a percentage of the calculated image size.
+.It Fl L
+All symbolic links are followed.
.It Fl M Ar minimum-size
Set the minimum size of the file system image to
.Ar minimum-size .