Re: A problem with a simbolic link
- From: Nicosia Gaetano <nicosia.gaetano@xxxxxxxxxxx>
- Date: Sun, 04 Jul 2010 08:35:41 +0200
Thank You
Gaetano
Il 02/07/2010 19:38, Joshua Gimer ha scritto:
On Fri, Jul 2, 2010 at 10:03 AM, Nicosia Gaetano<
nicosia.gaetano@xxxxxxxxxxx> wrote:
Hi to All,This is due to udev recreating everything in /dev at system boot. You can
In RHEL5, I use ttyS0 for modem and I have create this simbolic link:
ln -s /dev/ttyS0 /dev/modem
The link is correctly created eand work fine; but if I restart the server
the link is deleted.
How can to create this link permanently ?
Thank You and best regards
Gaetano
<https://www.redhat.com/mailman/listinfo/redhat-list>
create a udev rule to create the symlink at boot.
Edit your /etc/udev/rules.d/50-udev.rules and somewhere after the line that
has 'KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]"' add a line that
contains the following:
KERNEL=="ttyS0", SYMLINK+="modem"
This should cause the symlink to be created at boot. Be careful to maintain
permissions and structure on all udev rules files as you can cause some real
headaches for yourself if they become corrupted.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- A problem with a simbolic link
- From: Nicosia Gaetano
- Re: A problem with a simbolic link
- From: Joshua Gimer
- A problem with a simbolic link
- Prev by Date: Re: A problem with a simbolic link
- Next by Date: Re: gfs2 and san
- Previous by thread: Re: A problem with a simbolic link
- Next by thread: Re: gfs2 and san
- Index(es):
Relevant Pages
|