Location of some executables

Alexey Shvetsov alexxy at gentoo.org
Wed May 11 04:51:51 EDT 2011


On Wed, 11 May 2011 15:43:17 +0700, Fajar A. Nugraha wrote:
> On Wed, May 11, 2011 at 3:07 PM, briaeros007 <briaeros007 at gmail.com> 
> wrote:
>> the "good way" of doing this sort of choice in an , is to use a 
>> PREFIX
>> variable with configure and let the user change it if they want.
>> In this way, if the user want to create an user "zfs" which wil 
>> manage
>> all binaries and lib of zfs in it's home: it's easy and possible.
>
>> After all that saying, i'm not a developper and I don't know if it's
>> difficult to modify autogen (or equivalent) scripts to add the 
>> PREFIX
>> thing.
>
> There's already plenty of location-related option to configure 
> script,
> including: exec_prefix prefix bindir sbindir, with prefix defaults to
> /usr/local
>
> You get executables on /usr if:
> - you use packages, either self-compiled (e.g. "make rpm") or from a
> distro-specific repository (e.g. ppa)
> - you specifically use --prefix=/usr (or equivalent directive)

Yep there many options. But since libs designed to be placed to 
/usr/lib64 and /usr/libexec you still cannot have /usr on zfs.
Also as I mentioned above spl need hostid from /usr, udev scripts uses 
something from /usr
-- 
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum at gmail.com
mailto:alexxy at gentoo.org
mailto:alexxy at omrb.pnpi.spb.ru



More information about the zfs-discuss mailing list