The syntax for cache_dir nowdays is
cache_dir type maxobjectsize path fs-options
I agree that the location of the maxobjectsize option is perhaps
unfortunate, and probably could be better done as a type-option. Not
many people will use this, except for filesystems where it is a
requirement.
Please note that "size L1 L2" is arguments specific to the ufs store.
Other stores have other options.
/Henrik
Andres Kroonmaa wrote:
>
> with 2.4 we change cache_dir syntax:
>
> OLD: cache_dir ufs /var/cache 100 16 256
> NEW: cache_dir ufs -1 /var/cache 100 16 256
>
> maybe it would be a good idea to not do that, and instead introduce
> another option, that more precisely "tunes" a given FS?
>
> say:
> cache_dir ufs /var/cache1 100 16 256
> cache_dir fifofs /var/cache2 100 16 256
>
> cache_dir_conf /var/cache1 maxfile: -1 minfile: -1
> cache_dir_conf /var/cache2 maxfile: 16K minfile: 512 acl: some_regex ..
>
> this would also allow us more possibilities in the future.
> for eg. for some FS'es L1/L2 setup don't have any meaning
>
> ------------------------------------
> Andres Kroonmaa <andre@online.ee>
> Delfi Online
> Tel: 6501 731, Fax: 6501 708
> Pärnu mnt. 158, Tallinn,
> 11317 Estonia
Received on Thu Feb 01 2001 - 12:59:01 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:28 MST