View previous topic :: View next topic |
Author |
Message |
Marcin81 Tux's lil' helper
Joined: 04 Nov 2005 Posts: 136 Location: Siemianowice Śl.
|
Posted: Tue Jan 24, 2006 8:19 am Post subject: [SOLVED]Kasowanie symlinka |
|
|
Mam taki prozaiczny problem. Mam źródła kernela linux-2.6.14-gentoo-r5 a uzywam starszych, próbuję zmienic symlinka poleceniem:
Code: | sudo ln -sf /usr/src/linux-2.6.14-gentoo-r5 /usr/src/linux
ls -l
razem 2
lrwxrwxrwx 1 root root 22 gru 3 16:07 linux -> linux-2.6.14-gentoo-r4
drwxr-xr-x 19 root root 1376 sty 24 08:56 linux-2.6.14-gentoo-r4
drwxr-xr-x 18 root root 688 gru 17 15:40 linux-2.6.14-gentoo-r5
drwxr-xr-x 7 root root 192 gru 10 22:23 pc
drwxr-xr-x 7 root root 168 gru 10 22:23 redhat
|
Jak usunąć poprzeniego symlinka, aby ustawić nowy ?
Last edited by Marcin81 on Tue Jan 24, 2006 9:29 am; edited 1 time in total |
|
Back to top |
|
|
Insenic Guru
Joined: 25 Jan 2005 Posts: 329 Location: Poland, Bialystok
|
Posted: Tue Jan 24, 2006 8:35 am Post subject: |
|
|
Code: | rm /usr/src/linux
ln -sf /usr/src/linux-2.6.14-gentoo-r5 /usr/src/linux |
|
|
Back to top |
|
|
Xax Guru
Joined: 24 Jul 2003 Posts: 417 Location: Poland, Gliwice, Trynek
|
Posted: Tue Jan 24, 2006 9:03 am Post subject: |
|
|
Lub tez bardziej elegancko:
Code: | eselect kernel list |
i potem:
Code: | eselect kernel set NUMER_Z_LISTY_POWYZEJ |
PS eselect trzeba miec zainstalowany, pozwala zarzadzac nie tylko linkami do kernela |
|
Back to top |
|
|
Marcin81 Tux's lil' helper
Joined: 04 Nov 2005 Posts: 136 Location: Siemianowice Śl.
|
Posted: Tue Jan 24, 2006 9:28 am Post subject: [solved] |
|
|
Dzieki. Cudownie. |
|
Back to top |
|
|
|