Ronald J. Hall wrote: > On Saturday 28 January 2006 11:04 pm, Mikkel L. Ellertson wrote: > > >>Just so you know that without creating a udev rule, the symlink will >>be gone the next time you reboot. >> >>Mikkel > > > Mikkel, is that something new in 2006? I mean, I've created quite a few > symlinks in v9.2 (last version I had before installing 2006) and I don't > remember ever losing one because I rebooted. > > Thanks! > I think it started with 10.1, but I am not sure. In any case, it is a function of udev. Once udev starts, it mounts a virtual file system on /dev, and all device entries are created on the fly. If you run "cat /proc/mounts", you should see this entry:
/dev /dev tmpfs rw 0 0 One of the nice things udev does is create device entries when a module is loaded. You can also tie a device name to a specific piece of hardware. For example, you could have /dev/z52 created when you plug in a Lexmark Z52 printer. With the right rules, you can get the same device name both when it is USB or parallel connected. (Actual device name, or a symlink, depending on how you write the rule.) With the way udev, hotplug and HAL all work together, you can realy fine-tune your devices now. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup! ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
