LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   File system irregularity (https://www.linuxquestions.org/questions/suse-opensuse-60/file-system-irregularity-558896/)

chrisds 06-03-2007 05:22 PM

File system irregularity
 
Hi I'm quite new to Linux but not a complete ignoramus.
I seem to have a long, perhaps never ending path of /boot/boot/boot/boot/boot/... and so on, and each folder contains the same files as the /boot folder. Does anyone know why this is please?

syg00 06-03-2007 05:42 PM

Do "ls -al" and you'll see it's a symbolic link.
Here's the reason why, in the grub FAQ.

Edit: Just read it, you don't need to do any of that. Merely background.

burninGpi 06-03-2007 05:43 PM

the "boot" folder in /boot is a symlink (symbolic link) to the /boot folder. Thus, when you enter /boot/boot, you see the contents of the "boot" link target, which is /boot, including the symlink you just entered, ...

This layout is so the installer can use a generic bootloader (grub/lilo) configuration file which works with all cases, eg. having /boot on a separate partition.

jschiwal 06-03-2007 08:07 PM

If you aren't doing something like using vmware and working off an image, that doesn't sound right.
Do you have the /boot directory mounted in it's own partition? ( Look in /etc/fstab )

You might want to backup the other files and directories in the /boot directory, just in case, and then unlink this symlimk.

I have SuSE 10.2 and there isn't such a symlink.

You would have an indirect loop if you installed cygwin on windows. The cygwin directory is probably on the C: drive and is the root. The /cygdrive/c link links to the c: drive which contains the c:\cygwin\cygdrive\c link. In this case it is a link to a partition above the cygwin root directory.

chrisds 06-04-2007 03:50 AM

Perhaps I didn't notice it before.
I have all my opensuse 10.2 installed on 2 partitions mounted as /dev/hda1 / and /dev/hda2 swap, so /boot is on /.
I have installed vmware server also to run windows xp, and I also installed Xen.
I figured that it was a symbolic link but didn't know what its purpose was, it seemed pointless being there, but it's not doing any harm so best left alone.
Thank you everyone who posted help, much appreciated.


All times are GMT -5. The time now is 03:04 AM.