Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 129960
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Andreetta (RETIRED) <satya@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel <deepee@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
unionfs.patch Unionfs kernel module installation ebuild patch patch Alex Klymov 2006-05-08 16:40 0000 454 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129960 depends on: Show dependency tree
Bug 129960 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-14 09:54 0000
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 From Alex Klymov 2006-05-08 16:40:49 0000 -------
Created an attachment (id=86452) [details]
Unionfs kernel module installation ebuild patch

Could be easily solved by MODULE_NAMES ebuild patch. See attachment

------- Comment #2 From Christian Andreetta (RETIRED) 2006-05-09 02:34:06 0000 -------
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 From Alex Klymov 2006-05-09 15:00:29 0000 -------
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? 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug