![]() |
2009-03-17
, 17:44
|
|
Posts: 31 |
Thanked: 6 times |
Joined on Feb 2008
|
#2
|
/dev/mmcblk0p1 on /media/mmc2 type ext3 (rw,data=ordered) /dev/mmcblk1p1 on /media/mmc1 type ext3 (rw,data=ordered)
![]() |
2009-03-17
, 17:50
|
|
Posts: 5,478 |
Thanked: 5,222 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#3
|
![]() |
2009-03-18
, 08:12
|
Posts: 542 |
Thanked: 117 times |
Joined on Sep 2008
@ 52 N, 6 E
|
#4
|
I have both the internal and external cards on my n810 formatted as ext3 and am perfectly happy. It may prevent me from using the cards as USB drives on a PC, but I've never done that anyway.
I'm not sure if there are any issues with moving a library there and symlinking it, but I can't think of any reason why there should be a problem. I do that sort of thing all the time on other systems (desktop and server).Code:/dev/mmcblk0p1 on /media/mmc2 type ext3 (rw,data=ordered) /dev/mmcblk1p1 on /media/mmc1 type ext3 (rw,data=ordered)
(For grins I just moved a random library to the card on my n810, symlinked it, ran ldconfig, and loaded it via LD_PRELOAD. Seems to work just fine.)
But, what's the problem when you try to put libraries on a FAT-formatted card? The file size limit on FAT is 2GB, and I doubt any libraries exceed that. If it's a problem with permissions you should be able to overcome it with appropriate mount options. If you connect to a PC via USB though, the card will be unmounted from the n810. Depending on the library that could cause some real problems.
![]() |
2009-03-18
, 08:14
|
Posts: 542 |
Thanked: 117 times |
Joined on Sep 2008
@ 52 N, 6 E
|
#5
|
Booting from a flash card is the recommended solution to the space problem. Anything else is generally less stable and less safe.
![]() |
2009-03-18
, 15:37
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#6
|
mkdir /media/mmc2/libs/
mv /usr/lib/[large library file] /media/mmc2/libs/
ln -s /media/mmc2/libs/[large library file] [large library file]
so the OS 'thinks' the file is still in /usr/lib but physically on mmc2.
But in most cases this does not work: the mmc2 is FAT formatted.
Can I reformat the mmc2 to native unix file system in order to make this work ?
Any experiences on this ?