Location of some executables

Alexey Shvetsov alexxy at gentoo.org
Tue May 10 05:11:28 EDT 2011


There is another problem =) spl.ko needs hostid during module loading.
and hostid executable located on /usr/bin/hostid. So there is 2
possible solutions:
1. Rewrite spl.ko module so it will get hostid in another way
2. Move hostid to /bin (it will brake compatibility with some legacy
software with hardcoded hostid path

On 9 май, 08:21, Marcin Mirosław <mar... at mejor.pl> wrote:
> Hi again,
> i've noticed all executables and libraries are placed under /usr dir.
> This can be problematic in situation /usr is placed on diffrent
> partition than / . In early boot /usr isn't mounted, udev daemon is
> looking for zpool_id in /usr/ and throws "no such". Imho zpool_id (and
> zvol_id) shoud be located in /bin.
> Similar situation is with libspl, libzfs and binaries: zpool and zfs.
> They are placed in /usr hierarchy, it prevents from creating /usr on the
> zfs filesystem. Could be them moved to /sbin by upstream?:)
> Marcin.



More information about the zfs-discuss mailing list