Passing dhclient leases through switch_root

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

 



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?

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

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

  Powered by Linux