[lkml]   [2001]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Q] pivot_root and initrd
Followup to:  <>
By author: Eric <>
In newsgroup:
> 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.

<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot." <>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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