Re: dev file goes missing after reboot

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

 



Mikkel L. Ellertson wrote:
Philip Walden wrote:
I have just started using jpilot to sync my Palm-top.

Jpilot expects to have /dev/pilot links to the device file connecting
the palmtop. In this case, I do a

ln /dev/ttyS0 /dev/pilot
chmod o+rw /dev/pilot

This work great. However, when I restart the computer the next day, the
link is gone. I have to recreate it.

This is the first I have noticed this behavior. Any idea as to why this
happens?

Phil

Because Fedora is using udev to control device entries, devices and
symlinks that you create yourself do not survive a reboot. This is
because /dev is a memory file system, not a real directory on the
hard drive, once udev is started. (Sort of like the /proc file
system. "/dev /dev tmpfs rw 0 0")

The way to get lasting symlinks is to create a udev rule for it. I
probably create a file in /etc/udev/rules.d/55-palm.rules for the rules.

Mikkel
Modifying the udev rules worked for me.

You learn something new every day.

Thanksyou


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux