Replace /lib on Linux with one command: "rename li lib lib li" (new was "li", old became "libb")
-
-
Replying to @solardiz
Still non-atomic and unsafe for concurrent activity on a live system.
1 reply 0 retweets 0 likes -
Replying to @RichFelker @solardiz
If you need atomicity, make lib a symlink and: mkdir lib_tmp ln -s lib_new lib_tmp/lib mv lib_tmp/lib . rmdir lib_tmp
2 replies 0 retweets 0 likes -
Replying to @RichFelker
Sure, but I needed this on a running system that already had /lib as a directory
1 reply 0 retweets 0 likes
Replying to @solardiz
Yeah, I usually just use a static-linked busybox for stuff like that, but rename is a nice trick.
12:45 PM - 10 Sep 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.