Contents of "/" and "/etc"? Help needed!
Hello there, I am a bit tired and just made a horrible mistake.
Instead of doing: Code:
x:/etc/openvpn# mv * .. Code:
x:/etc/# mv * .. Thanks in advance for helping me. *holds breath* |
The contents can vary a bit from system to system, to be completely sure I think that the best option would be that you paste the output of "ls /" into pastebin.com, and then link it here so we can review it and give a more accurate response.
Things that you can find in / usually are: Code:
bin boot dev etc home lib lib32 lib64 media mnt opt proc root sbin sys tmp usr var |
Hello again,
I used this as reference and moved some stuff back to "/etc/". Here's what I left in "/": Code:
x:/# ls -la Code:
x:/etc# ls -la |
1 Attachment(s)
Quote:
Cheers, jdk |
FEL,
sensible question. the root of most GNU/Linux filesystems have only few folders with few "links", usually between 17 to 20 of them, the folders ought be memorized by the Linux user, they are: bin dev home lost+found mnt proc sbin sys usr boot etc lib media opt root srv tmp var initrd.img vmlinuz the last two are not folders but links to impt files somewhere inside one of those folders. Its time to memorize them, the rest of your files you may cp back to your /etc. hope it helps. |
I am 99% sure that these don't belong into your /etc, in fact, initrd.img and vmlinuz are symlink, and are probably broken since there shouldn't be a "boot/" directory under /etc/.
Code:
drwxr-xr-x 2 root root 4096 2008-12-22 02:25 initrd |
Looks about right, well done!
I don't know what /emul is - don't have it in / or /etc on my Fedora machine. Take a look inside it - if it contains config files, it should probably be in /etc/ .pwd.lock should probably be in /. Empty hidden files get put in / from time to time as a flag to do something (usually at boot or shutdown). Don't know what that one does, or if it's actually important. /etc/vmlinuz needs to be moved back to / - it's a symlink to /boot, but it's a relative rather than an absolute path so it's expecting to be in the same dir as boot (if you have colours switched on in your ls command, you'll see the link is broken atm). |
Since my last post I've moved initrd, initrd.img, .pwd.lock and vmlinuz according to i92guboj's and openSauce's directions.
Everything seems to be functioning as usual, although I haven't rebooted my system yet. Thanks everyone for all your help and suggestions! |
All times are GMT -5. The time now is 11:15 PM. |