gjournal on 6.x wont build
Vince
jhary at unsane.co.uk
Fri Nov 17 06:22:58 PST 2006
Philippe Pegon wrote:
> Vince wrote:
>> Hi all,
>
> Hi,
>
>> I was intending on trying out gjournal on a new disk i've added in my
>> desktop. I had a look to see what the most recent patch provided by
>> Pawel and found
>> http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch
>> I created the directories as per Pawel's original post
>> (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html)
>> and the patch succeeded with no failed hunks, however adding
>> options GEOM_JOURNAL
>> options UFS_GJOURNAL
>>
>> to my kernel config
>> then doing a make buildkernel KERNCONF=MYKERNELCONF
>>
>> errors out with
>> /journal/g_journal.c
>> /usr/src/sys/geom/journal/g_journal.c: In function `g_journal_do_switch':
>> /usr/src/sys/geom/journal/g_journal.c:2872: error: structure has no
>> member named `mnt_gjprovider'
>> /usr/src/sys/geom/journal/g_journal.c:2885: error: structure has no
>> member named `mnt_gjprovider'
>> /usr/src/sys/geom/journal/g_journal.c:2890: error: structure has no
>> member named `mnt_gjprovider'
>> *** Error code 1
>>
>> This is on a recent 6-stable system
>> 6.2-PRERELEASE #1: Fri Nov 10 14:31:47 GMT 2006
>> any idea what ive done wrong ?
>
> the latest patch (gjournal6_20061024.patch) doesn't apply cleanly on
> fresh RELENG_6 due to the last commit on mount.h :
>
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/mount.h?only_with_tag=RELENG_6
>
>
> I have slightly modified the patch so that it works (see attach)
>
That works a treat. Thanks for the prompt response and patch. i'll start
playing with it when i get home.
Vince
> --
> Philippe Pegon
>
More information about the freebsd-stable
mailing list