Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage dirs on vfat
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
DarkAngel777
n00b
n00b


Joined: 29 Aug 2003
Posts: 39

PostPosted: Fri Aug 29, 2003 6:03 pm    Post subject: portage dirs on vfat Reply with quote

I've found that when I put the portage and tmp dirs in the make.conf file on a fat32 partition I cannot get it to run, it has some kind of write error, I can read/write and do anything with it...I have it being mounted using:
/dev/hda7 /mnt/shared vfat user,rw,exec,umask=000,-odmask=0 0 0
it seems like there's some kind of problem with permissions vs fat32, but anyways I just wanted to say I've found this doesn't seem to be possible currently, although I'm very new to gentoo and linux in general, if someone knows of a way to make it work, that'd be wonderful, my reiserFS partition is too small to continue using, and I need my shared partition to be fat32.
Back to top
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Fri Aug 29, 2003 6:44 pm    Post subject: Reply with quote

Fat32 has no way of storing user/ group info and read/write/execute status, so effectively linux has to assume a "default" mode for all files.

Portage uses permissions in many places, I think a.t.m. it cannot be used on a fat32 partition.
(but *ahem* you could create a big file on fat32 and mount it through loopback as reiserfs :oops: )
Back to top
View user's profile Send private message
DarkAngel777
n00b
n00b


Joined: 29 Aug 2003
Posts: 39

PostPosted: Fri Aug 29, 2003 7:58 pm    Post subject: Reply with quote

Any idea where I can start looking for information on how to do that, it would be nice since the fat32 partition is 17gigs, and my reiserFS (root) partition is only 2.5 with 500mB free.
Back to top
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Sat Aug 30, 2003 1:35 am    Post subject: Reply with quote

howto use a file as a loopback device:

1) create a file of desired size
dd if=/dev/zero of=/file/you/want bs=(sie in bytes)

2) mkreiserfs /file/you/want

3) mount -o loop /file/you/want /mountpoint/somewhere

For this to work you need loopback device support. Syntax is untested.
Fat32 can cause trouble if files exceed 2GBytes.

So please be careful, don't do anything that might affect important files ... and always make backups before fooling around!
Back to top
View user's profile Send private message
DarkAngel777
n00b
n00b


Joined: 29 Aug 2003
Posts: 39

PostPosted: Sat Aug 30, 2003 1:07 pm    Post subject: Reply with quote

Thanks a ton!! hopefully one day I'll be helping people too =D Kinda funny going from windows and always being able to quickly solve a problem, going back to the guy who asks all the questions again hahaha...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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