Summary: | sys-kernel/genkernel-3.4.9: unionctl to be deprecated, will break genkernel unionfs support in the future | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Stefan Nickl <snickl> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Stefan Nickl
2008-03-01 15:06:00 UTC
In 3.4.10_pre, unionfs support has been removed completely, since the only current versions require kernel patching and the tools no longer work. I see. About the tools, that was exactly what I was trying to help fix. The unionfs support in genkernel was useful for read-only root situations. As far as I understand, the LiveCD also has to solve this somehow. So, is there a new way in gentoo to handle a read-only root? The "old method" from http://gentoo-wiki.com/HOWTO_Read-only_root_filesystem doesn't look very attractive to me... Ok, I did RTFS. The volatile stuff is copied to newroot and the rest is symlinked in. But it's only done if CDROOT=1, couldn't this be made more generic? Like with an extra boot parameter RO or such? The real root would need to be mounted into something like /newroot/rw-root though since in the general case there is no loop device involved... I've reimplemented unionfs support in genkernel with unionfs-fuse. There's currently no control mechanism (unionfs_insert_dir() is gone), since unionfs-fuse doesn't currently support it. However, the remount method *might* work. I don't currently see a need for it, though. You can test the new implementation by emerging genkernel-9999 enabling support for FUSE (built-in or module) in your kernel, and running genkernel with --unionfs or setting UNIONFS=1 in your genkernel.conf. The experimental fuse unionfs support didn't work properly (none of the implementations support unionfs as / properly). We'll revisit this once there's proper unionfs/aufs/etc. support in the upstream kernel (or at least gentoo-sources) |