From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seewer Philippe Subject: Re: Passing dhclient leases through switch_root Date: Tue, 2 Jun 2009 08:29:42 +0200 Message-ID: <4A24C6D6.7030202@bfh.ch> References: <4A244FF4.9040905@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A244FF4.9040905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Warren Togami Cc: initramfs Warren Togami wrote: > cp /var/lib/dhclient/dhclient.leases /sysroot/dev/.dhclient-$dev.leases > > mkinitrd for a while has copied the leases file to /dev, because it is > the only directory that survives switch_root. The system then can have > the entire leases file for whatever needed purposes. > > Any objections to doing this in dracut? None at all. -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html