Disabling MMAP

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

 



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.

I'm using RPM 4.2.4. I could hack the Berkeley DB source but I'm
trying to get away from that.

-- 
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