maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   [Under consideration] More efficient and flexible use of internal flash (https://talk.maemo.org/showthread.php?t=37869)

Rob1n 2010-01-18 09:10

Re: [Under consideration] More efficient and flexible use of internal flash
 
664? It's a directory, so surely 775 would be more appropriate. And why the -R if it's unable to create any files in there?

mikhmv 2010-01-19 16:31

Re: [Under consideration] More efficient and flexible use of internal flash
 
Quote:

Originally Posted by Rob1n (Post 479439)
664? It's a directory, so surely 775 would be more appropriate. And why the -R if it's unable to create any files in there?

You right 775 will be better. I really used ug+rw. About -R because it is doesn't matter with or without this....

soeiro 2010-01-22 15:33

Re: [Under consideration] More efficient and flexible use of internal flash
 
I'm getting a microSDHC card. Is it exported as USB mass storage? Can I format it as, say ext3 and mount it anywhere?

titan 2010-01-23 08:56

Re: [Under consideration] More efficient and flexible use of internal flash
 
Quote:

Originally Posted by soeiro (Post 488852)
I'm getting a microSDHC card. Is it exported as USB mass storage? Can I format it as, say ext3 and mount it anywhere?

yes, should be possible. Without modifications, the N900 does even export my
mounted large ext3 /home partition!

soeiro 2010-01-23 13:21

Re: [Under consideration] More efficient and flexible use of internal flash
 
Quote:

Originally Posted by titan (Post 490166)
yes, should be possible. Without modifications, the N900 does even export my
mounted large ext3 /home partition!

Thanks. But an additional question:

Without modifications? I'm assuming you have repartitioned your device to have a large ext3 /home that occupies all of the eMMC. On top of that, you've have created a mount -loop file to use as MyDocs. What did you do to have you home partition experted? And do you mean NFS (or others, such as sshf)s or USB mass storage?

javispedro 2010-01-23 16:20

Re: [Under consideration] More efficient and flexible use of internal flash
 
Fremantle exports the full SD card, like Diablo (not single partition like Fremantle does on eMMC).

titan 2010-01-23 16:31

Re: [Under consideration] More efficient and flexible use of internal flash
 
Quote:

Originally Posted by soeiro (Post 490424)
Thanks. But an additional question:
Without modifications? I'm assuming you have repartitioned your device to have a large ext3 /home that occupies all of the eMMC.

For now I'm keeping a 27GB ext3 and 2GB vfat for easier reflashing (don't need to apply modifications every time) and for testing parted (as soon as the compiler problems are resolved).

ke-recv apparently hardcodes /dev/mmcblk0p1 as the partition which it exports via USB.
in my case that's the ext3 partition.
so basically I did nothing but reformat the vfat partition as ext3 and
ext3 as vfat.

mikhmv 2010-01-24 05:25

Re: [Under consideration] More efficient and flexible use of internal flash
 
Titan:
When your partition exported to computer it is not unmounted from n900.
I used your repartition script before.
Is ext3 working well for parallel access from n900 and computer?
I had once corrupted files by simultaneous access from n900 and computer. I could be wrong and it could be other reasons...

j.s 2010-01-24 06:50

Re: [Under consideration] More efficient and flexible use of internal flash
 
Quote:

Originally Posted by mikhmv (Post 479171)
I resolve CAMERA's problem!!!!
Now my camera can took pictures on ext3 and vfat!!!!

I resolved it by modification ke-recv (I will try too put patch somewhere...).
But camera has bug too.....

Bug is:
When camera start it is checking on presence folder DCIM on target partition. If it doesn't exist camera create folder DCIM. Here is a bug!
DCIM created with root:root (group and user) but should be user:users.

That is great news! My Sd card is ext2. I did chown on the DCIM directory and I can have the camera send pictures there.

Why do you need to modify ke-recv?

titan 2010-01-24 07:29

Re: [Under consideration] More efficient and flexible use of internal flash
 
Hi

please don't mount ext3 simultaneously from N900 and computer!
it will definitely lead to a corrupted fs.
The simplest workaround should be the modifications to
/usr/sbin/osso-usb-mass-storage-enable.sh I described in
http://talk.maemo.org/showpost.php?p...9&postcount=68
assuming that your ext3 /home is /dev/mmcblk0p1
and your vfat MyDocs is /dev/mmcblk0p2
simply set DEV=/dev/mmcblk0p2

Quote:

Originally Posted by mikhmv (Post 491473)
When your partition exported to computer it is not unmounted from n900.
Is ext3 working well for parallel access from n900 and computer?



All times are GMT. The time now is 00:03.

vBulletin® Version 3.8.8