chiark / gitweb /
Increase UTIL_LINE_SIZE from 2048 to 16384
authorDavid Zeuthen <davidz@redhat.com>
Tue, 2 Mar 2010 22:10:02 +0000 (17:10 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 2 Mar 2010 22:11:10 +0000 (17:11 -0500)
commite32d5237ea045045c621edba7341631abd602d74
tree443f5ba63fdb684a5fc6d69f52a321e7c4425446
parent3a19299202b5d34b89d5910fde25e8a4cfa2b31a
Increase UTIL_LINE_SIZE from 2048 to 16384

Recent udisks versions, for LVM2 integration, ships with probers that
produce very long lines such as

UDISKS_LVM2_PV_VG_PV_LIST=
  uuid=98lyZl-Ya7U-p26Z-Ia7b-xf8u-xZqP-jc4njb;size=2000397795328;allocated_size=2000397795328
  uuid=iFs0cM-sxCF-ceQK-hZl1-kbwo-ZTjq-gSewQR;size=2000397795328;allocated_size=2000397795328
  [...]

e.g. roughly 100 bytes per LVM2 physical volume for each LVM2
PV encountered.

Signed-off-by: David Zeuthen <davidz@redhat.com>
libudev/libudev-private.h