Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#61
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?
 
Posts: 207 | Thanked: 119 times | Joined on Nov 2009 @ Pittsburgh, PA, USA
#62
Originally Posted by Rob1n View Post
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....
 
Posts: 292 | Thanked: 131 times | Joined on Dec 2009
#63
I'm getting a microSDHC card. Is it exported as USB mass storage? Can I format it as, say ext3 and mount it anywhere?
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#64
Originally Posted by soeiro View Post
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!
 
Posts: 292 | Thanked: 131 times | Joined on Dec 2009
#65
Originally Posted by titan View Post
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's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#66
Fremantle exports the full SD card, like Diablo (not single partition like Fremantle does on eMMC).
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#67
Originally Posted by soeiro View Post
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.
 
Posts: 207 | Thanked: 119 times | Joined on Nov 2009 @ Pittsburgh, PA, USA
#68
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...
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#69
Originally Posted by mikhmv View Post
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?
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#70
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

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


 
Forum Jump


All times are GMT. The time now is 04:24.