[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.13, experimental and 2.6.14-rc ...



Le samedi 08 octobre 2005 à 09:48 +0200, Sven Luther a écrit :
On Fri, Oct 07, 2005 at 06:10:17PM -0400, Jeff Bailey wrote:
> Le jeudi 06 octobre 2005 à 18:07 +0200, Sven Luther a écrit :
> 
> > initrd-tool can do either ext2 or cramfs, but not really initramfs, altough i
> > believe you can override it with the right invocation to cpio used with the
> > right option of initrd-tools. it defaults to ext2 on 2.4 kernels and cramfs on
> > 2.6 ones, i believe.
> > 
> > initramfs-tools and yaird default to initramfs format, but could probably
> > generate cramfs or ext2 just as well.
> 
> 
> And initrd requires pivot_root to chain to the root system.  On an
> initramfs, a pivot_root will crash it.  You need to do a move mount

Oh didn't know. How do you do the move-mount thingy ? 

Should maybe pivot_root be adapted to know about the initramfs situation ?
No, pivot_root is the name of a syscall so it would be confusing if it had behaviour that was other than the syscall name.

It's easiest just to make a cut over to a new tool.

Tks,
Jeff Bailey

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: