Re: [CentOS] Changing the symbolic link for /Centos/5

2008-06-25 Thread William L. Maltby

On Wed, 2008-06-25 at 03:48 -0500, Johnny Hughes wrote:
 Robert Moskowitz wrote:
  I do not know the command line for symbolic links.  I created the 
  symbolic link of /Centos/5 to /Centos/5.1 in Nautilus which does not 
  have a method of changing a symbolic link.  Only deleting it and 
  creating a new one.
  
 
 Not that I know of, I always just delete an recreate it using rm -f 
 and ln -s at the command line.

It used to be that the -f worked. Sometime in the past that disappeared.
Bad decision, IMHO.

 snip

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing the symbolic link for /Centos/5

2008-06-25 Thread Gavin Carr
On Wed, Jun 25, 2008 at 07:15:00AM -0400, William L. Maltby wrote:
 
 On Wed, 2008-06-25 at 03:48 -0500, Johnny Hughes wrote:
  Robert Moskowitz wrote:
   I do not know the command line for symbolic links.  I created the 
   symbolic link of /Centos/5 to /Centos/5.1 in Nautilus which does not 
   have a method of changing a symbolic link.  Only deleting it and 
   creating a new one.
   
  
  Not that I know of, I always just delete an recreate it using rm -f 
  and ln -s at the command line.
 
 It used to be that the -f worked. Sometime in the past that disappeared.
 Bad decision, IMHO.

It's still there:

  nox:~/tmp/ln$ touch foo
  nox:~/tmp/ln$ touch bar
  nox:~/tmp/ln$ ln -s foo baz
  nox:~/tmp/ln$ ll
  total 12
  -rw-r--r-- 1 gavin gavin 0 Jun 26 10:06 bar
  lrwxrwxrwx 1 gavin gavin 3 Jun 26 10:06 baz - foo
  -rw-r--r-- 1 gavin gavin 0 Jun 26 10:06 foo
  nox:~/tmp/ln$ ln -sf bar baz
  nox:~/tmp/ln$ ll
  total 12
  -rw-r--r-- 1 gavin gavin 0 Jun 26 10:06 bar
  lrwxrwxrwx 1 gavin gavin 3 Jun 26 10:06 baz - bar
  -rw-r--r-- 1 gavin gavin 0 Jun 26 10:06 foo


It does seem to be flaky though. I definitely have had times it hasn't
worked recently.

Cheers,
Gavin

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Changing the symbolic link for /Centos/5

2008-06-24 Thread Robert Moskowitz
I do not know the command line for symbolic links.  I created the 
symbolic link of /Centos/5 to /Centos/5.1 in Nautilus which does not 
have a method of changing a symbolic link.  Only deleting it and 
creating a new one.


Is there a command line to change /Centos/5 to link to /Centos/5.2   ?

IMNSHO, anyone that has more than 2 Centos boxes should maintain their 
own local repo.  Of course it only took me a few years until I got mine 
up and running!  Just had some challenges walking the talk :)




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos