On Sat, Mar 01, 2008 at 10:47:06AM +1100, Mark Goodwin wrote:
> Russell Cattelan wrote:
>> Eric Sandeen wrote:
>>> Russell Cattelan wrote:
>>>>> Hmm, that still seems pretty soon to me. I'd have thought you'd at
>>>>> least want to wait until most of the distributions (esp. SUSE for you
>>>>> guys) have released versions that have kernels sufficiently recent
>>>>> that the default mkfs will work. Otherwise this will be a recurring
>>>> I don't suppose there is an easy way to query xfs and find out if it
>>>> can support
>>>> the lazy SB option?
>>> I thought about that; xfs *could* stick someting in /proc/fs/xfs with
>>> supported features or somesuch.
> how about /proc/fs/xfs/features
> .. any format suggestions?
I'd say strings like:
Something that'd match the mkfs option strings closely.
This would make iterating over the features supported easy in a shell
cat /proc/fs/xfs/features | while read feat ; do something $feat ; done
I get the feeling that this might be useful even if mkfs doesn't check it.
>>> But, the kernel you mkfs under isn't necessarily the one you're going to
>>> need to fall back to tomorrow, though...
> nor the one you just installed but haven't rebooted into yet
Right, if you know what you are doing, you can specify whatever options you
want by hand...this is about the default values.
Another issue is with portable media - I use XFS on external disks, and
until recently I couldn't redo them with lazy-count if I wanted to use it on
Josef 'Jeff' Sipek.
A CRAY is the only computer that runs an endless loop in just 4 hours...