aboutsummaryrefslogtreecommitdiff
path: root/stand/man/loader.8
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-07-20 05:17:49 +0000
committerWarner Losh <imp@FreeBSD.org>2018-07-20 05:17:49 +0000
commit1a14a0bfb71d935583ca1a3f3ce7e3c6648c10f9 (patch)
tree8bdc6a73806aeb9270a5aa502f6ca533d4356d9c /stand/man/loader.8
parent060679ef9ccfb5a7e86dd36f89fe0a57ffc9b150 (diff)
downloadsrc-1a14a0bfb71d935583ca1a3f3ce7e3c6648c10f9.tar.gz
src-1a14a0bfb71d935583ca1a3f3ce7e3c6648c10f9.zip
Eliminate zfsloader man page.
Remove all cross references to zfsloader.8 and /boot/zfsloader. Move ZFS specific info into loader.8. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D16361
Notes
Notes: svn path=/head/; revision=336533
Diffstat (limited to 'stand/man/loader.8')
-rw-r--r--stand/man/loader.846
1 files changed, 46 insertions, 0 deletions
diff --git a/stand/man/loader.8 b/stand/man/loader.8
index 34dadb4c7b29..467e5c1ae116 100644
--- a/stand/man/loader.8
+++ b/stand/man/loader.8
@@ -1038,6 +1038,52 @@ executed.
.It -259
Unspecified error.
.El
+.Sh ZFS FEATURES
+.Nm
+supports the following format for specifying ZFS filesystems which
+can be used wherever
+.Xr loader 8
+refers to a device specification:
+.Pp
+.Ar zfs:pool/filesystem:
+.Pp
+where
+.Pa pool/filesystem
+is a ZFS filesystem name as described in
+.Xr zfs 8 .
+.Pp
+If
+.Pa /etc/fstab
+does not have an entry for the root filesystem and
+.Va vfs.root.mountfrom
+is not set, but
+.Va currdev
+refers to a ZFS filesystem, then
+.Nm
+will instruct kernel to use that filesystem as the root filesystem.
+.Sh ZFS COMMAND EXTENSIONS
+.Bl -tag -width Ds -compact
+.It Ic lsdev Op Fl v
+Lists ZFS pools in addition to disks and partitions.
+Adding
+.Fl v
+shows more ZFS pool details in a format that resembles
+.Nm zpool Cm status
+output.
+.Pp
+.It Ic lszfs Ar filesystem
+A ZFS extended command that can be used to explore the ZFS filesystem
+hierarchy in a pool.
+Lists the immediate children of the
+.Ar filesystem .
+The filesystem hierarchy is rooted at a filesystem with the same name
+as the pool.
+.El
+.Sh EXAMPLES
+Set the default device used for loading a kernel from a ZFS filesystem:
+.Bd -literal -offset indent
+set currdev=zfs:tank/ROOT/knowngood:
+.Ed
.Sh SEE ALSO
.Xr libstand 3 ,
.Xr loader.conf 5 ,