Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How much free space to compile X windows?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wildman
n00b
n00b


Joined: 22 Apr 2002
Posts: 14
Location: Gresham, OR

PostPosted: Tue Apr 30, 2002 5:21 pm    Post subject: How much free space to compile X windows? Reply with quote

I've got about 650MB free on my gentoo partition and it runs out of space when compiling X windows. Anybody know how much free space is required? I made symlinks from /usr/tmp and /var/tmp over to a vfat partition with about 1.5GB free but tar complains that it can't write to those directories.

How do I do this? Help!

Also, it seems that emerge wanted to use /usr/tmp first. Then when I symlinked that over to the vfat partition it tries to use /var/tmp. Why?
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Tue Apr 30, 2002 5:25 pm    Post subject: Reply with quote

vfat doesn't track ownership and status bits on files.

A loopback partition might do the trick. You could dd a chunk of space on the vfat partition into a large empty file, then mke2fs that file and mount it for use.
Back to top
View user's profile Send private message
wildman
n00b
n00b


Joined: 22 Apr 2002
Posts: 14
Location: Gresham, OR

PostPosted: Tue Apr 30, 2002 5:31 pm    Post subject: Reply with quote

Can you show me the requisite dd command? I'm a bit of a newbie w/ dd. I'm assuming I'll have to recompile my kernal for loopback support (don't remember if I included it).

Thanks for the help!
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Tue Apr 30, 2002 6:30 pm    Post subject: Reply with quote

You may need to compile with that option, yes.

A sample DD command:
Code:
dd if=/dev/zero of=/mnt/windows/tmp_partition bs=1M count=N

Where the path to your vfat partition may vary, the temporary partition can be whatever name you want, and the size of the partition is bs*count bytes. I like using bs=1M so that count just gives me megabytes directly.

Then you:
Code:
mke2fs /mnt/windows/tmp_partition

It'll inform you that this is not a block special device (eg: not a hard drive) and ask if you you want to proceed anyway. Do so.

Finally:
Code:
mount -o loop /mnt/windows/tmp_partition /usr/tmp

or /var/tmp... whatever works.

Don't forget to unmount it when you're done and delete the file if you want to reclaim that space on the vfat drive.
Back to top
View user's profile Send private message
wildman
n00b
n00b


Joined: 22 Apr 2002
Posts: 14
Location: Gresham, OR

PostPosted: Wed May 01, 2002 3:24 pm    Post subject: Reply with quote

Thanks Target, that worked like a charm! 1.2GB seemed to be enough space to compile X.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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