* [gentoo-dev] union fs support
@ 2005-07-28 12:32 Rafael Espíndola
2005-07-28 12:46 ` Mike Frysinger
0 siblings, 1 reply; 5+ messages in thread
From: Rafael Espíndola @ 2005-07-28 12:32 UTC (permalink / raw
To: gentoo-dev
I am building a small system based on gentoo. The system is installed
in a squashfs and has a ext2 added via unionfs. The ext2 is in hda1
and the squashfs is in hda2.
I was very pleased to find out that very little tweaking was necessary
in the linuxrc and initrd.scripts of genkernel 3.3. In initrd.scripts:
setup_unionfs(){
- if [ "${USE_UNIONFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '1' ]
+ if [ "${USE_UNIONFS_NORMAL}" -eq '1' ]
and in linuxrc:
@@ -544,6 +544,10 @@
export CDBOOT
CDBOOT=1
else
+ if [ "${USE_UNIONFS_NORMAL}" -eq '1' ]
+ then
+ union_insert_dir $UNION /${NEW_ROOT}
+ fi
mkdir -p ${NEW_ROOT}/tmp/.initrd
fi
This simple changes make the use of a unionfs more a less independent
of the use of CDBOOT. Is there any interest in them?
The only problem I am having now is during shutdown. init.d/halt.sh
doesn't appears to have any support for unionfs. Is there a
development version that has? I am trying to add support for it and
will report if I succeed.
Thanks,
Rafael
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] union fs support
2005-07-28 12:32 [gentoo-dev] union fs support Rafael Espíndola
@ 2005-07-28 12:46 ` Mike Frysinger
2005-07-28 13:30 ` Chris Gianelloni
2005-07-28 16:31 ` Rafael Espíndola
0 siblings, 2 replies; 5+ messages in thread
From: Mike Frysinger @ 2005-07-28 12:46 UTC (permalink / raw
To: gentoo-dev
On Thursday 28 July 2005 08:32 am, Rafael Espíndola wrote:
> I am building a small system based on gentoo. The system is installed
> in a squashfs and has a ext2 added via unionfs. The ext2 is in hda1
> and the squashfs is in hda2.
this is already added/being added for 2005.1
join #gentoo-releng for more info
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] union fs support
2005-07-28 12:46 ` Mike Frysinger
@ 2005-07-28 13:30 ` Chris Gianelloni
2005-07-28 16:43 ` [gentoo-dev] " Rafael Espíndola
2005-07-28 16:31 ` Rafael Espíndola
1 sibling, 1 reply; 5+ messages in thread
From: Chris Gianelloni @ 2005-07-28 13:30 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]
On Thu, 2005-07-28 at 08:46 -0400, Mike Frysinger wrote:
> On Thursday 28 July 2005 08:32 am, Rafael Espíndola wrote:
> > I am building a small system based on gentoo. The system is installed
> > in a squashfs and has a ext2 added via unionfs. The ext2 is in hda1
> > and the squashfs is in hda2.
>
> this is already added/being added for 2005.1
>
> join #gentoo-releng for more info
No. It isn't. We've added unionfs support for CD boots, not for normal
installations.
Rafael, please check http://bugs.gentoo.org/show_bug.cgi?id=99682 for
the initial patch we came up with.
As for non-CD unionfs support, I don't have a clue whether we would want
that in genkernel or not. Currently, we don't advertise the unionfs
support in genkernel because it is still under heavy development and
isn't guaranteed to work.
A good place to discuss this is actually on the gentoo-catalyst mailing
list.
--
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-dev] Re: union fs support
2005-07-28 12:46 ` Mike Frysinger
2005-07-28 13:30 ` Chris Gianelloni
@ 2005-07-28 16:31 ` Rafael Espíndola
1 sibling, 0 replies; 5+ messages in thread
From: Rafael Espíndola @ 2005-07-28 16:31 UTC (permalink / raw
To: gentoo-dev
On 7/28/05, Mike Frysinger <vapier@gentoo.org> wrote:
> this is already added/being added for 2005.1
One problem that I have found: how to unmount /memory when using
initramfs? Since the /dev is not moved umount says that /dev/hda1 is
not mounted...
> join #gentoo-releng for more info
I don't have voice...( espindola is my nick)
> -mike
Thanks,
Rafael
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-dev] Re: union fs support
2005-07-28 13:30 ` Chris Gianelloni
@ 2005-07-28 16:43 ` Rafael Espíndola
0 siblings, 0 replies; 5+ messages in thread
From: Rafael Espíndola @ 2005-07-28 16:43 UTC (permalink / raw
To: gentoo-dev
On 7/28/05, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> No. It isn't. We've added unionfs support for CD boots, not for normal
> installations.
>
> Rafael, please check http://bugs.gentoo.org/show_bug.cgi?id=99682 for
> the initial patch we came up with.
I have just tested it with baselayout-1.11.13. I think that there is a
check missing after
ebegin "Unmounting filesystems"
fuser is killing everyone with
/bin/fuser -k -m -9 /newroot
(or giving a error if /newroot doesn't exist)
> As for non-CD unionfs support, I don't have a clue whether we would want
> that in genkernel or not. Currently, we don't advertise the unionfs
> support in genkernel because it is still under heavy development and
> isn't guaranteed to work.
>
> A good place to discuss this is actually on the gentoo-catalyst mailing
> list.
Will join it soon.
Thanks,
Rafael
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-28 16:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-28 12:32 [gentoo-dev] union fs support Rafael Espíndola
2005-07-28 12:46 ` Mike Frysinger
2005-07-28 13:30 ` Chris Gianelloni
2005-07-28 16:43 ` [gentoo-dev] " Rafael Espíndola
2005-07-28 16:31 ` Rafael Espíndola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox