• Post Reply Bookmark Topic Watch Topic
  • New Topic

softlink flashing in red!?  RSS feed

 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a script called test in /etc/init.d. and I made a link by using
# ln –s test /etc/rc3.d S99test
when I display the contents in /etc/rc3.d, my link S99test is flashing in red! Other links are all in green. What’s going on?
Thanks.
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found out red means broken link. I should have used this command:
# ln –s /etc/init.d/test /etc/rc3.d S99test
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed, busted symlink. The flashing red is a good eyecatcher for spotting problems with symlinks.
G.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!