LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-18-2003, 10:31 AM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
symbolic links in /boot


Are the symbolic links in /boot simply for abbreviations?

I assume that there are other 'functions' that need to know about 'System.map' without knowing that it is actually 'System.map-ide-2.4.20'

The reason I ask is that it just looks weird to have a symbolic link to a file that is the very next file in the listing. Examples:

lrwxrwxrwx 1 root root 21 May 12 11:41 System.map -> System.map-ide-2.4.20
-rw-r--r-- 1 root root 563791 Mar 18 00:03 System.map-ide-2.4.20


lrwxrwxrwx 1 root root 17 May 12 11:41 config -> config-ide-2.4.20
-rw-r--r-- 1 root root 36222 Mar 18 00:03 config-ide-2.4.20

lrwxrwxrwx 1 root root 18 May 12 11:41 vmlinuz -> vmlinuz-ide-2.4.20
-rw-r--r-- 1 root root 1170308 Mar 18 00:03 vmlinuz-ide-2.4.20

Thanks...
 
Old 05-18-2003, 10:32 AM   #2
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
Yes, they're only for abbreviations. Its only a symlink.

drwxr-xr-x 3 root root 1024 May 15 10:49 ./
drwxr-xr-x 20 root root 4096 May 18 15:00 ../
-rw-r--r-- 1 root root 529470 Apr 28 21:16 System.map
-rw-r--r-- 1 root root 512 Apr 28 20:03 boot.0300
-rw-r--r-- 1 root root 24 Apr 28 21:30 boot_message.txt
-rw-r--r-- 1 root root 19773 Apr 28 21:07 config
drwx------ 2 root root 12288 Apr 28 19:46 lost+found/
-rw------- 1 root root 24064 May 15 10:49 map
-rw-r--r-- 1 root root 982533 Apr 28 21:16 vmlinuz
 
Old 05-18-2003, 10:43 AM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
Interesting.

Your posting doesn't include any links.

So, did you just remove the links and do something like:

mv System.map-ide-2.4.20 System.map

Or, is this just something you end up with after doing some custom kernel compile or something? My /boot was automatically created during the initial install of Slackware 9.0 and included the links.

thanks...
 
Old 05-19-2003, 10:39 AM   #4
kater
Member
 
Registered: Feb 2003
Location: Switzerland, Berne
Distribution: Slackware 9.0
Posts: 186

Rep: Reputation: 30
Exactly, I just removed the symlinks. I'm using a custom kernel, but this has nothing to do with the symlinks. At least not in this case.

Last edited by kater; 05-19-2003 at 10:40 AM.
 
Old 05-19-2003, 01:29 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
System.map isn't just mysterious to the n00bs it's rather a mysterious file in general. There are some sites around that go into very technical detail in an attempt to "demystify" System.map but even those just confuse most users. Take a look on google.com/linux for System.map and you'll get an idea. I've found a total of 2 pages out of, well a lot, that explained it well enough for my curiousity. Even then (and now) I still wasn't really sure what purpose it served.



Cool
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
symbolic links durden2.0 Linux - Newbie 6 11-12-2008 03:06 AM
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
Symbolic Links Greg_courageous Linux - Newbie 1 05-10-2004 07:05 AM
Symbolic links Valerie Linux - Newbie 12 03-31-2002 01:49 AM
symbolic links NoahsMyBro Linux - Newbie 1 11-16-2001 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration