Thank you. That would work however, I want to make 30 instances for 30 machines. I need to generate the 70-persistent-net.rules file so each machine has fixed interface names. What I don't understand is that if its a symlink on read/write partition it consistently keeps adding to the file. If it's not a symlink but a real file, it doesn't regenerate and stays a fixed size. How does it know this? Thank againMike --- On Sun, 8/22/10, Tobias Gasser <[email protected]> wrote:
From: Tobias Gasser <[email protected]> Subject: Re: 70-persistent-net.rules To: "LFS Support List" <[email protected]> Date: Sunday, August 22, 2010, 3:37 AM Mike Johnston schrieb: > Hello,I have a LFS system with a read only file system. I have > /etc/udev/rules.d a symlink to a read/write partition. The > 70-persistent-net.rules file gets generated and keeps on growing for every > reboot. If i make the root filesystem read/write, this file does not get > re-generated and stays constant. > Any ideas as I need the root filesystem r/o and I/m imaging these systems in > our lab. > Mike look at /lib/udev/write_*_rules my solution is not very 'nice' but suites my needs: insert just an 'exit 0' after the '!/bin/sh -e' i had the problem with booting from an usb-stick which added all found network-cards and cd-drives to the persisten rules. i hope this helps tobias -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
