Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129960 - unionfs-1.1.4r install paths? (regarding kernel-module and utils)
Summary: unionfs-1.1.4r install paths? (regarding kernel-module and utils)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High trivial
Assignee: Christian Andreetta (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 09:54 UTC by Daniel
Modified: 2006-05-09 15:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Unionfs kernel module installation ebuild patch (unionfs.patch,454 bytes, patch)
2006-05-08 16:40 UTC, Alex Klymov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2006-04-14 09:54:08 UTC
after "emerge unionfs-1.1.x" the unionfs.ko goes into:
/lib/modules/KERN_VER/fs/unionfs.ko

shouldn't its destination directory preferable be:
/lib/modules/KERN_VER/kernel/fs/unionfs/unionfs.ko ?

A "manuall" installation (e.g. 1.1.4, without ebuilds running "patch-kernel.sh" and "genkernel oder make modules" right after) causes unionfs.ko to be placed in: /lib/modules/KERN_VER/kernel/fs/unionfs/unionfs.ko
In my opinion the paths should be as "standardised/similar" as possible. This avoids perhabs strange effects, caused by having accidently two nearly the same unionfs.ko's lying around when using ebuild- and
from-source-installation-methode. ;-)

Similar question regarding the unionfs-utils' installation dierctory:
unionfs-utils' (e.g. unionctl) are installed into "/usr/sbin". Would'nt it be better to install them directly under /sbin. For example I'm using a unionfs'd initramfs that layers rootfs: so, right after mounting the "/" the directory (partition) /usr/sbin is not available --> managing unions without a mounted /usr-partition will fail...

Thanks a lot!
Comment 1 Alex Klymov 2006-05-08 16:40:49 UTC
Created attachment 86452 [details, diff]
Unionfs kernel module installation ebuild patch

Could be easily solved by MODULE_NAMES ebuild patch. See attachment
Comment 2 Christian Andreetta (RETIRED) gentoo-dev 2006-05-09 02:34:06 UTC
Goods points.
@alex: you should read ' MODULE_NAMES="unionfs(kernel/fs/${PN}:)" '. (thanks)
Binaries in ${ROOT}/sbin also (1.1.4-r2, just resync the tree)
Comment 3 Alex Klymov 2006-05-09 15:00:29 UTC
Chrisitan: Just looked into my /lib/modules/$KV_VER and found there video/nvidia.ko and net/wireless with iee80211.... May be "adding some intellect" to linux-mod.eclass as of to where put the 3rd party modules is not that bad an idea - I'm not sure if putting drivers outside of kernel/drivers/... subtree breaks autoload functionality, but even if not placing drivers where they belongs looks much more cleaner, what do you think?