From b3328b68ed43a60b2e80b54fc38382de5dcaaf24 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 24 Sep 2013 15:22:08 +0400 Subject: [PATCH] * docs/grub.texi (File name syntax): Document ZFS filenames (/volume@snapshot/...). --- ChangeLog | 5 +++++ docs/grub.texi | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index d0f1c5535..a8903f0f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-09-24 Andrey Borzenkov + + * docs/grub.texi (File name syntax): Document ZFS filenames + (/volume@snapshot/...). + 2013-09-23 Vladimir Serbinenko * grub-core/kern/emu/hostdisk_windows.c (grub_util_get_windows_path): diff --git a/docs/grub.texi b/docs/grub.texi index 574f60292..575cae02e 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -2564,6 +2564,13 @@ GRUB's @dfn{root device} implicitly. So if you set the root device to, say, @samp{(hd1,1)} by the command @samp{set root=(hd1,1)} (@pxref{set}), then @code{/boot/kernel} is the same as @code{(hd1,1)/boot/kernel}. +On ZFS filesystem the first path component must be +@var{volume}@samp{@@}[@var{snapshot}]. +So @samp{/rootvol@@snap-129/boot/grub/grub.cfg} refers to file +@samp{/boot/grub/grub.cfg} in snapshot of volume @samp{rootvol} with name +@samp{snap-129}. Trailing @samp{@@} after volume name is mandatory even if +snapshot name is omitted. + @node Block list syntax @section How to specify block lists