Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ISOFS Files Too Big?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Sun Jul 30, 2006 10:22 pm    Post subject: ISOFS Files Too Big? Reply with quote

Hi,
I have a (relatively) small directory that I want to burn to DVD:
Code:

localhost home # du -hs /home/justin/
2.7G    /home/justin/

When I use mkisofs to create an image, it ends up being 11 gigs!

Here's the command I used:
Code:

localhost home # mkisofs -o /tmp/justin.iso -R -J  /home/justin/


Does anyone know what's going on here? It seems like it shouldn't get that much bigger!

If this is what's supposed to happen, any suggestions for bakcing up my home dir to DVD? I guess I could tar it and burn the tarball. Is there a better way?

Thanks,
Justin
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Mon Jul 31, 2006 1:07 am    Post subject: Reply with quote

For what it's worth, I get an 11 gig file when I tar the directory too. This seems really counter-intuitive to me. I would think that tarring would create a smaller file since it would get rid of any space wasted by partially used blocks...
Back to top
View user's profile Send private message
madams
n00b
n00b


Joined: 31 Jul 2006
Posts: 30
Location: Charlotte, NC, USA

PostPosted: Mon Jul 31, 2006 6:23 pm    Post subject: Reply with quote

do you have any 'symlinks' pointing somewhere else??

Either:
A) try using du -hsL /path/to/files (this will include filesizes of the file the symlink points to)

or

B) ensure that 'tar' does not to follow the symlinks, just include the symlink pointer itself i.e. don't use the 'tar -h or --dereference flags.
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Mon Jul 31, 2006 6:51 pm    Post subject: [solved] Reply with quote

Doh! That seems to be it.
My .wine directory has a big symlink
pointing right back to the root!

Thanks for the suggestion!
Back to top
View user's profile Send private message
madams
n00b
n00b


Joined: 31 Jul 2006
Posts: 30
Location: Charlotte, NC, USA

PostPosted: Mon Jul 31, 2006 7:04 pm    Post subject: Reply with quote

I had a symlink to /proc in my home directory that got me.. all of a sudden my backups where twice as big. Chased it that one for a couple of hours.. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum