[opensuse] Re: Unlocking a locked file
Stan Goodman wrote:
At 12:20:15 on Monday Monday 22 March 2010, Joachim Schrod <jschrod@acm.org> wrote:
Stan Goodman wrote:
I intend to run: ln -sf vboxvfs.ko /lib/modules/2.6.27.42-0.1-trace/updates/vboxvfs.co ln -sf vboxadd.ko /lib/modules/2.6.27.42-0.1-trace/updates/vboxadd.ko from the directory where the incorrect symlinks are located.
Almost. 1) The arguments must be the other way round; first the real files, then the place where the symlinks shall be created. 2) There's a typo in the first command, there ".co" must be ".ko".
The exact commands are, as root:
cd /lib/modules/`uname -r`/weak-updates/updates ln -sf /lib/modules/2.6.27.42-0.1-trace/updates/vbox*.ko . depmod -a
# cd /lib/modules/2.6.27.45-0.1-default/weak-updates
This is not the command cited above; it's the wrong directory. The symlinks are in a subdirectory updates. You have now created symlinks in /lib/modules/2.6.27.45-0.1-default/weak-updates, remove them before issuing my commands again. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 19:40:40 on Monday Monday 22 March 2010, Joachim Schrod <jschrod@acm.org> wrote:
Stan Goodman wrote:
At 12:20:15 on Monday Monday 22 March 2010, Joachim Schrod
<jschrod@acm.org> wrote:
Stan Goodman wrote:
I intend to run: ln -sf vboxvfs.ko /lib/modules/2.6.27.42-0.1-trace/updates/vboxvfs.co ln -sf vboxadd.ko /lib/modules/2.6.27.42-0.1-trace/updates/vboxadd.ko from the directory where the incorrect symlinks are located.
Almost. 1) The arguments must be the other way round; first the real files, then the place where the symlinks shall be created. 2) There's a typo in the first command, there ".co" must be ".ko".
The exact commands are, as root:
cd /lib/modules/`uname -r`/weak-updates/updates ln -sf /lib/modules/2.6.27.42-0.1-trace/updates/vbox*.ko . depmod -a
# cd /lib/modules/2.6.27.45-0.1-default/weak-updates
This is not the command cited above; it's the wrong directory. The symlinks are in a subdirectory updates.
Yes, that's correct, and it was clear at once what had happened, because I knew that the (real) files were where they should be. That happened because I was in a rush; I am trying to get done with all the things that must be done before I get on an airplane in the morning. I doubt that I will be able to do anything with the resulting mess until my return, after which I clean things up and do it right. In the meantime, thank you for your help and your patience. I am closing down the computer now.
You have now created symlinks in /lib/modules/2.6.27.45-0.1-default/weak-updates, remove them before issuing my commands again.
Joachim
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Joachim Schrod
-
Stan Goodman