[PATCH] geli: command to set the boot flag
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Sep 16 03:47:45 PDT 2006
On Sun, Sep 10, 2006 at 07:49:08PM +0200, Matthias Lederhofer wrote:
> 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));
Committed, thanks.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060916/155f0240/attachment.pgp
More information about the freebsd-geom
mailing list