Re: [gentoo-user] LVM dependencies?
Am 15.04.2012 01:38, schrieb Pandu Poluan: On Apr 15, 2012 2:10 AM, Florian Philipp li...@binarywings.net mailto:li...@binarywings.net wrote: Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info mailto:pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp Kewl! Based on the names, I assume they're the actual files (i.e. symlinks already dereferenced)? Rgds, No: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d' ' -f 2 | sort -u | xargs ls -l | awk '{print $9 $10 $11}' /lib64/libc.so.6-libc-2.13.so /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2-libdl-2.13.so /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5-libncurses.so.5.9 /lib64/libpthread.so.0-libpthread-2.13.so /lib64/libreadline.so.6-libreadline.so.6.2 /lib64/librt.so.1-librt-2.13.so /lib64/libudev.so.0-libudev.so.0.11.5 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] LVM dependencies?
On Sun, 15 Apr 2012 06:38:18 +0700 Pandu Poluan pa...@poluan.info wrote: On Apr 15, 2012 2:10 AM, Florian Philipp li...@binarywings.net wrote: Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp Kewl! Based on the names, I assume they're the actual files (i.e. symlinks already dereferenced)? The reference to symlinks is not related to the libs. It's the names of several executables installed by lvm2 which are symlinks to /sbin/lvm. I was too lazy to remove them from the output. Pandu was less lazy. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] LVM dependencies?
On Apr 15, 2012 7:10 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 15 Apr 2012 06:38:18 +0700 Pandu Poluan pa...@poluan.info wrote: On Apr 15, 2012 2:10 AM, Florian Philipp li...@binarywings.net wrote: Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp Kewl! Based on the names, I assume they're the actual files (i.e. symlinks already dereferenced)? The reference to symlinks is not related to the libs. It's the names of several executables installed by lvm2 which are symlinks to /sbin/lvm. I was too lazy to remove them from the output. Pandu was less lazy. You mean, Florian :-P Rgds,
Re: [gentoo-user] LVM dependencies?
On Sun, 15 Apr 2012 19:26:42 +0700 Pandu Poluan pa...@poluan.info wrote: On Apr 15, 2012 7:10 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 15 Apr 2012 06:38:18 +0700 Pandu Poluan pa...@poluan.info wrote: On Apr 15, 2012 2:10 AM, Florian Philipp li...@binarywings.net wrote: Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp Kewl! Based on the names, I assume they're the actual files (i.e. symlinks already dereferenced)? The reference to symlinks is not related to the libs. It's the names of several executables installed by lvm2 which are symlinks to /sbin/lvm. I was too lazy to remove them from the output. Pandu was less lazy. You mean, Florian :-P Why yes, that is exactly what I meant! How did you guess? -- Alan McKinnnon alan.mckin...@gmail.com
[gentoo-user] LVM dependencies?
I just want to know, what dependencies LVM rely on? I tried searching, but my Google-fu only managed to return threads about people having some problems with LVM (*not* that LVM is problematic, just some people having some problems and being guided to troubleshoot). Rgds,
Re: [gentoo-user] LVM dependencies?
Am 14.04.2012 14:48, schrieb Pandu Poluan: I just want to know, what dependencies LVM rely on? I tried searching, but my Google-fu only managed to return threads about people having some problems with LVM (*not* that LVM is problematic, just some people having some problems and being guided to troubleshoot). Rgds, You mean package dependencies? DEPEND_COMMON=!!sys-fs/device-mapper readline? ( sys-libs/readline ) clvm? ( =sys-cluster/dlm-2* cman? ( =sys-cluster/cman-2* ) ) =sys-fs/udev-151-r4 RDEPEND=${DEPEND_COMMON} !sys-apps/openrc-0.4 !!sys-fs/lvm-user !!sys-fs/clvm =sys-apps/util-linux-2.16 # Upgrading to this LVM will break older cryptsetup RDEPEND=${RDEPEND} !sys-fs/cryptsetup-1.1.2 DEPEND=${DEPEND_COMMON} dev-util/pkgconfig =sys-devel/binutils-2.20.1-r1 Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] LVM dependencies?
On Apr 14, 2012 8:59 PM, Florian Philipp li...@binarywings.net wrote: Am 14.04.2012 14:48, schrieb Pandu Poluan: I just want to know, what dependencies LVM rely on? I tried searching, but my Google-fu only managed to return threads about people having some problems with LVM (*not* that LVM is problematic, just some people having some problems and being guided to troubleshoot). Rgds, You mean package dependencies? DEPEND_COMMON=!!sys-fs/device-mapper readline? ( sys-libs/readline ) clvm? ( =sys-cluster/dlm-2* cman? ( =sys-cluster/cman-2* ) ) =sys-fs/udev-151-r4 RDEPEND=${DEPEND_COMMON} !sys-apps/openrc-0.4 !!sys-fs/lvm-user !!sys-fs/clvm =sys-apps/util-linux-2.16 # Upgrading to this LVM will break older cryptsetup RDEPEND=${RDEPEND} !sys-fs/cryptsetup-1.1.2 DEPEND=${DEPEND_COMMON} dev-util/pkgconfig =sys-devel/binutils-2.20.1-r1 Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Rgds,
Re: [gentoo-user] LVM dependencies?
On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/dmeventd linux-vdso.so.1 = (0x7fffcd3ff000) libdl.so.2 = /lib64/libdl.so.2 (0x7eff17116000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7eff16f1) libpthread.so.0 = /lib64/libpthread.so.0 (0x7eff16cf2000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7eff16ab9000) libc.so.6 = /lib64/libc.so.6 (0x7eff1670d000) /lib64/ld-linux-x86-64.so.2 (0x7eff1731a000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7eff164ff000) librt.so.1 = /lib64/librt.so.1 (0x7eff162f6000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/dmsetup linux-vdso.so.1 = (0x7fff4b9ff000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7fd40c20b000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7fd40bffd000) libc.so.6 = /lib64/libc.so.6 (0x7fd40bc51000) librt.so.1 = /lib64/librt.so.1 (0x7fd40ba48000) /lib64/ld-linux-x86-64.so.2 (0x7fd40c444000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7fd40b82a000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/fsadm not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/lvmconf not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/lvmdump not a dynamic executable alanm@khamul ~ $ ldd /sbin/lvmetad linux-vdso.so.1 = (0x7fffd2d2d000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7f16f491f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7f16f4701000) libc.so.6 = /lib64/libc.so.6 (0x7f16f4355000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7f16f4147000) /lib64/ld-linux-x86-64.so.2 (0x7f16f4b58000) librt.so.1 = /lib64/librt.so.1 (0x7f16f3f3e000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /sbin/vgimportclone not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /usr/sbin/lvm2create_initrd not a dynamic executable alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /lib64/device-mapper/libdevmapper-event-lvm2mirror.so linux-vdso.so.1 = (0x7fff2818d000) libdevmapper-event-lvm2.so.2.02 = /lib64/libdevmapper-event-lvm2.so.2.02 (0x7f16b0669000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7f16b042f000) libc.so.6 = /lib64/libc.so.6 (0x7f16b0083000) liblvm2cmd.so.2.02 = /lib64/liblvm2cmd.so.2.02 (0x7f16afd8c000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7f16afb6e000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7f16af95f000) /lib64/ld-linux-x86-64.so.2 (0x7f16b0aac000) libdl.so.2 = /lib64/libdl.so.2 (0x7f16af75b000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7f16af555000) librt.so.1 = /lib64/librt.so.1 (0x7f16af34b000) alanm@khamul ~ $ alanm@khamul ~ $ alanm@khamul ~ $ ldd /lib64/device-mapper/libdevmapper-event-lvm2raid.so linux-vdso.so.1 = (0x7fff559ff000) libdevmapper-event-lvm2.so.2.02 = /lib64/libdevmapper-event-lvm2.so.2.02 (0x7fc7c4c78000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7fc7c4a3e000) libc.so.6 = /lib64/libc.so.6 (0x7fc7c4692000) liblvm2cmd.so.2.02 = /lib64/liblvm2cmd.so.2.02 (0x7fc7c439b000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7fc7c417d000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7fc7c3f6e000) /lib64/ld-linux-x86-64.so.2
Re: [gentoo-user] LVM dependencies?
Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] LVM dependencies?
On Apr 14, 2012 11:40 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): 8 snip Thanks! That's mighty detailed :-) Rgds,
Re: [gentoo-user] LVM dependencies?
On Apr 15, 2012 2:10 AM, Florian Philipp li...@binarywings.net wrote: Am 14.04.2012 18:34, schrieb Alan McKinnon: On Sat, 14 Apr 2012 23:10:30 +0700 Pandu Poluan pa...@poluan.info wrote: Or direct dynamically linked libraries? equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null Or kernel features? The libraries, actually. Sadly I currently don't have access to a Gentoo box, so I would really appreciate it if I can get the output of the ldd. Here you go. I blindly ran ldd on anything that looked binary or executable but not a symlink (so there's several false positives): alanm@khamul ~ $ ldd /sbin/lvm linux-vdso.so.1 = (0x7fffca444000) libudev.so.0 = /usr/lib64/libudev.so.0 (0x7ff92e7a3000) libdl.so.2 = /lib64/libdl.so.2 (0x7ff92e59f000) libdevmapper-event.so.1.02 = /lib64/libdevmapper-event.so.1.02 (0x7ff92e399000) libdevmapper.so.1.02 = /lib64/libdevmapper.so.1.02 (0x7ff92e16) libreadline.so.6 = /lib64/libreadline.so.6 (0x7ff92df19000) libc.so.6 = /lib64/libc.so.6 (0x7ff92db6d000) librt.so.1 = /lib64/librt.so.1 (0x7ff92d964000) /lib64/ld-linux-x86-64.so.2 (0x7ff92e9b1000) libncurses.so.5 = /lib64/libncurses.so.5 (0x7ff92d70f000) libpthread.so.0 = /lib64/libpthread.so.0 (0x7ff92d4f1000) [...] As I was slightly bored and thought it might help, I took the liberty to clean that up a bit: equery files -f obj sys-fs/lvm2 | xargs ldd 2/dev/null | grep -E -o '= [^ ]+' | cut -d ' ' -f 2 | sort -u /lib64/libc.so.6 /lib64/libdevmapper-event-lvm2.so.2.02 /lib64/libdevmapper-event.so.1.02 /lib64/libdevmapper.so.1.02 /lib64/libdl.so.2 /lib64/liblvm2cmd.so.2.02 /lib64/libncurses.so.5 /lib64/libpthread.so.0 /lib64/libreadline.so.6 /lib64/librt.so.1 /lib64/libudev.so.0 Hope this helps, Florian Philipp Kewl! Based on the names, I assume they're the actual files (i.e. symlinks already dereferenced)? Rgds,