|
2010-01-13
, 08:41
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#52
|
it doesn't work. that was one of the first things I tried on my N900 when I found out about
the stupid MyDocs constraint.
|
2010-01-13
, 08:52
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#53
|
|
2010-01-13
, 21:37
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#54
|
really? that would be great!
What I tried was to bind-mount DCIM and .sounds etc t
o directories in /home/user.
I could open media files if the media player was called from the GPE file manager
but not from the media player itself. The camera app did not work at all.
|
2010-01-13
, 22:27
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#55
|
I hadn't looked at the DCIM folder, but that (half) works for me as well. The camera app seems happy enough storing pictures on ext3, but the Photos app doesn't seem happy indexing them (at least it doesn't do so immediately).
|
2010-01-14
, 15:54
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#56
|
OK, I think this should be solved by modifying /home/user/.config/tracker/tracker.cfg to add the new folders to WatchDirectoryRoots. Haven't tried yet though. Will report again when I do.
Cheers,
Jan
tracker-processes -r
cd /user/home mkdir ext3MyDocs mkdir MyDocs/mnt #move the current contents of the "special" folders in MyDocs to ext3. Need to be root for most of the following. sudo gainroot mv MyDocs/.documents ext3MyDocs mv MyDocs/.sounds ext3MyDocs mv MyDocs/.images ext3MyDocs mv MyDocs/.videos ext3MyDocs mv MyDocs/DCIM ext3MyDocs #bind mount the ext3 location to a directory in MyDocs - n.b. you can't do this directly to MyDocs because that would unmount the vfat partition first. mount --bind ext3MyDocs MyDocs/mnt #Change the locations that hildon-fm looks for these "special" folders - edit .config/user-dirs.dirs and change $HOME/MyDocs/.documents to $HOME/MyDocs/mnt/.documents etc. #make a bind mount to /home from within MyDocs to enable saving to and opening from the ext3 partition from the file manager: mkdir MyDocs/filesystem mount --bind /home MyDocs/filesystem #Edit /home/user/.config/tracker/tracker.cfg to point to the ext3MyDocs directory instead of MyDocs for WatchDirectoryRoots.
|
2010-01-14
, 16:35
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#57
|
Well in case anyone is interested, I've now got this running almost as I want it. Here are some observations.
|
2010-01-14
, 17:29
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#58
|
thank you! that sounds very promising. I'll have to try it myself.
Can you confirm that you could not find any other way to get it working,
except for the VFAT MyDocs mount?
In that case we could implement the following solution for people
who want to keep a USB exported VFAT partition:
* create a minimal VFAT loopback file and mount it under MyDocs
* create a hidden (VFAT) directory in MyDocs, e.g. MyDocs/_home
* bind mount ~/ to MyDocs/_home
and fix .config/user-dirs.dirs accordingly
(would be nice if MyDocs/_home/Documents instead of .documents works)
* mount the real VFAT partition or image somewhere else,
e.g., /home/extern
* in ~/.documents/ (or Documents/) create a symlink to the external folder
ln -s /home/extern/Documents/ ~/.documents/extern
and the same for the other media folders.
This way one can work with the ext3 folder and also include
the external files if the external VFAT is mounted.
If symlinks don't work use bind mounts and fix the mounting scripts to bind/unbind the directories for USB mass storage mode.
I hope that it will work.
It's a ugly workaround for the bogus VFAT requirement in the Nokia apps
but it's much closer to what I want.
|
2010-01-15
, 01:02
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#59
|
|
2010-01-18
, 04:22
|
Posts: 207 |
Thanked: 119 times |
Joined on Nov 2009
@ Pittsburgh, PA, USA
|
#60
|
NTFS is common filesystem read by every OS.
In fact, the Linux kernel does only provide read support (limited write support)
and you would need FUSE for full access.
With loopback files the user can exported any filesystem she wants.