LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2006, 05:19 PM   #1
pugsley
Member
 
Registered: May 2004
Location: Brisbane Australia
Distribution: SUSE10.1
Posts: 46

Rep: Reputation: 15
nested boot directories


I noticed that I had only 1.7G left of a 8.7G hard drive with a basic SUSE10 install on it. Home is on another drive. I could find no obvious large files but with a bit of drilling down found that /boot appears to nest recursively on and on - gave up drilling down after 20 levels. With about 8M per level this is what has chewed up the drive space.

Anyone seen this before - another box that I have does not have this "feature"?

Can I delete the lower level copies?

Cheers
 
Old 11-03-2006, 05:35 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Although it *appears* to be repeated almost infinitely, you can verify that it does not in fact repeat.

From a console, run the command 'du -c --max-depth 20 /boot', and you will see what I mean.

I have the same apparent repetition of /boot in SuSE 9.3. I don't know what it's all about.
 
Old 11-03-2006, 05:48 PM   #3
pugsley
Member
 
Registered: May 2004
Location: Brisbane Australia
Distribution: SUSE10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for the reply. I get

wise@linux:~> du -c --max-depth 20 /boot
312 /boot/grub
6272 /boot
6272 total
wise@linux:~> du -c /boot
312 /boot/grub
6272 /boot
6272 total

I am still at a loss as to where my lost HD space has gone - in the order of 5G!!

Dave
 
Old 11-03-2006, 05:49 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Probably you have a separate boot partition, and a symbolic in the grub directory back to "."
Do a "ls -al".

See the grub FAQ
 
Old 11-03-2006, 05:51 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
"du / -x | sort -nr | less"
 
Old 11-03-2006, 06:04 PM   #6
pugsley
Member
 
Registered: May 2004
Location: Brisbane Australia
Distribution: SUSE10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Again thanks for the responses - this is the main thing that I like about the linux community. Yes I do consider the advise given and always check the --help before launching a command.

With regard to /boot/grub - no symbolic links.

Thanks

Dave
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do recursive file delete using specifier (*.tmp) from nested directories? Arodef Linux - General 3 11-11-2009 07:49 AM
Nested Threads Dralnu LQ Suggestions & Feedback 5 06-12-2006 06:25 PM
Starting a nested X (or something like that :-D) oribd Linux - Newbie 2 10-21-2005 07:33 AM
C++ nested classes enemorales Programming 5 05-23-2005 03:40 PM
Nested structures :S? alitrix Programming 11 11-15-2003 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:21 PM.

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