Re: Disabling MMAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 14, 2006 at 02:39:16PM -0600, Albert Chin wrote:
> How do I disable MMAP'ing of RPM database files? I've tried creating
> DB_CONFIG in the RPM database directory with:
>   set_flags DB_NOMMAP
> and modified the RPM macros file with:
>   %__dbi_cdb create cdb mpool mp_size=1Mb nommap
> 
> Neither work.
> 
> This is needed to get YUM working on HP-UX because HP-UX doesn't allow
> the same file to be mmap()'ed to multiple address spaces.

Ok, DB_NOMMAP wasn't what I was after. DB_PRIVATE was. That seems to
work.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux