xfs
[Top] [All Lists]

Re: growfs and mount options

To: Adam Cioccarelli <alciocca@xxxxxxxxxx>
Subject: Re: growfs and mount options
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Sun, 15 Jul 2001 15:36:10 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <Pine.LNX.4.33.0107151256270.24689-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Adam Cioccarelli wrote:

> This confused me a bit until I noticed logbufs=4 on the end and thought,
> why is that there? To cut a long story short it would only work if I put
> logdev= last in the mount options.

Yep, I can duplicate this here.  It looks like the "hasmntopt" function
that growfs uses isn't parsing things correctly

138             if ((logdev = hasmntopt(mnt, "logdev="))) {
(gdb) print logdev
$10 = 0x807a7f3 "logdev=/dev/sda3,logbufs=4"

I'll take a look at this tomorrow, unless the Australians beat me to
it...

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


<Prev in Thread] Current Thread [Next in Thread>