[PATCH] geli: command to set the boot flag
Matthias Lederhofer
matled at gmx.net
Sun Sep 10 10:49:14 PDT 2006
Matthias Lederhofer <matled at gmx.net> wrote:
> diff --git a/geom_eli.c b/geom_eli.c
This is for src/sbin/geam/class/eli.
And here is another patch for a comment I found while reading the
source, probably this was copied 'n' pasted. :)
---
geom_eli.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/geom_eli.c b/geom_eli.c
index f90e974..489e212 100644
--- a/geom_eli.c
+++ b/geom_eli.c
@@ -1058,7 +1058,7 @@ eli_restore(struct gctl_req *req)
gctl_error(req, "MD5 hash mismatch: not a geli backup file?");
goto out;
}
- /* Read metadata from the provider. */
+ /* Write metadata to the provider. */
if (pwrite(provfd, sector, secsize, mediasize - secsize) !=
(ssize_t)secsize) {
gctl_error(req, "Cannot write metadata: %s.", strerror(errno));
--
1.4.1
More information about the freebsd-geom
mailing list