Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Many ''/boot'' folders

  1. #1

    Default Many ''/boot'' folders

    Hi users,

    i have just installed the new SUSE linux 11.0 distribution on my PC. After all the configuration was completed, I've opened the Konqueror to see the file-structure. By clicking the + /boot in this folder I have about 40 /boot subfolders, all with the same content (see attached).
    Did I made something wrong and how can I fix it? Thanks in advance!!

  2. #2

    Default Re: Many ''/boot'' folders

    Do you mean there are lots of symbolic links, from /boot/boot to /boot?

    ie you can type /boot/boot/boot/boot/ into your address bar and the contents of /boot are displayed.

    If so, this is normal, that is how YaST deals with multiple images.

  3. #3

    Default Re: Many ''/boot'' folders

    Thats correct,-but all the boot folders have the same files and content as well the same creation date and time.Is it possible to delete all these folders apart from the first one?

  4. #4
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: Many ''/boot'' folders

    It's a symlink which "loops" you back to /boot, it's like one of those doors that lead to the same room as you were. If you delete the files inside it you will render your system unbootable.

    So, don't

  5. #5

    Default Re: Many ''/boot'' folders

    Does it mean that all these folders(42 with the same content)are necessary to keep or are these files created at startup and become more and more? What is the idea behind this behavior?

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,130

    Default Re: Many ''/boot'' folders

    I doubt if it stops at 42 , it is eternal.

    When you are in /boot and do an ls:
    Code:
    boven:~ # cd /boot
    boven:/boot # l
    total 9680
    drwxr-xr-x  3 root root    4096 Jun 20 11:25 ./
    drwxr-xr-x 22 root root    4096 Jun 23 08:29 ../
       ...
    lrwxrwxrwx  1 root root       1 Jan 12 16:47 boot -> ./
       ...
    you can see that boot points to ./ which is /boot again!
    You can now do cd boot, but you will end up in /boot (despite the fact that your prompt may show /boot/boot).
    Because you are again at /boot, you will see the same when you type ls and this is a sort of perpetuum mobile.

    But there is only one /boot, and inside it there is one symbolic link with the name boot and the contents . (one character).
    Henk van Velden

  7. #7

    Default Re: Many ''/boot'' folders

    thanks but the reason is not clear.

  8. #8
    Tilman Schmidt NNTP User

    Default Re: Many ''/boot'' folders

    Rexikis schrieb:
    > After all the configuration was completed, I've opened the Konqueror to
    > see the file-structure. By clicking the + /boot in this folder I have
    > about 40 /boot subfolders, all with the same content (see attached).
    > Did I made something wrong and how can I fix it?


    Nothing is wrong. There is only one /boot folder. It's just a bug in
    Konqueror which shows it to you again and again as if it existed many
    times.

    You can reassure yourself of this by looking inside the folders. You'll
    notice they all have exactly the same content. If you create a new file
    in one of them (which requires administrator privilege) you'll see it
    appear in all of them, and if you delete it again it'll disappear from
    all of them at once, which proves it is really the same folder, just
    shown multiple times by Konqueror as in a pair of parallel mirrors.

    HTH
    T.

    --
    Tilman Schmidt t.schmidt@phoenixsoftware.de
    Phoenix Software GmbH www.phoenixsoftware.de
    Adolf-Hombitzer-Str. 12 Amtsgericht Bonn HRB 2934
    53227 Bonn, Germany Geschftsfhrer: W. Griel

  9. #9

    Default Re: Many ''/boot'' folders

    OK, Thanks.
    It might get fixed with a patch or the next release.

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,130

    Default Re: Many ''/boot'' folders

    I doubt if this will be 'fixed'. Tilman Schmidt seees it as a bug, but it may also be seen as a feature. And Konquror is not alone. Bash follows suite:
    Code:
    boven:~ # cd /boot/
    boven:/boot # cd boot
    boven:/boot/boot # cd boot
    boven:/boot/boot/boot # pwd
    /boot/boot/boot
    boven:/boot/boot/boot #
    as does pwd as you see. After all it shows how you came there. One can discuss if 'the path how we came there' or 'the path with all symbolic links resolved' must be shown. The loop we have in our case is certainly not normal and in a more normal case you would be very confused when you, by clicking on a subdirectory, you ends up in a complete different place.

    Example:
    In the home directory of user test there is a directory /home/test/music, which is a symbolic link to /multimedia/audio. Then as a user test you start at your Home (/home/test/) and click music. Now the address shows /multimedia/audio. When you do not look carefully and now click the up arrow you will land at /multimedia/. Surprise!

    So the behaviour as we see it is not too strange after all.

    All this brings us a bit away from the question: why is this looped symbolic link made? IMHO it may have something to do with different partners (maybe GRUB and/or LILO among them) think where several files are and that this was solved onece and for all by this link.
    Henk van Velden

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •