Re: Passing dhclient leases through switch_root

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

 



On Mon, 2009-06-01 at 18:02 -0400, 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 here.  We should do something along those lines for /tmp if we were
asked to debug the initrd.

> Warren Togami
> wtogami@xxxxxxxxxx
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux