lkml.org 
[lkml]   [2001]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Q] pivot_root and initrd
Date
Followup to:  <3BCCEA19.8080809@usa.net>
By author: Eric <ebrower@usa.net>
In newsgroup: linux.dev.kernel
>
> I've been doing some work to boot a 2.4.x linux system from onboard
> flash and then change_root to an attached disk.
>
> As the kernel documentation admonishes us to use pivot_root instead of
> relying on the change_root facility (Documentation/initrd.txt: "Current
> kernels still support it, but you should _not_ rely on its continued
> availability") I have given it a shot with less than stellar results--
> perhaps someone (Warner?) could enlighten me on a few points:
>
> 1) What is the current status of pivot_root from an initrd? Is anyone
> using it for this purpose, and is it being deprecated by the "union
> mounts" mentioned in the bootinglinux-current document by Warner?
>

Works great. I use it in my SuperRescue CD for example; you can there
check out a complete, working example.

ftp://ftp.kernel.org/pub/dist/superresuce/

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.043 / U:9.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site