Help - Search - Members - Calendar
Full Version: Hdd3 In Files Tab On Qtopia Desktop?
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
Jon_J
I searched for topics on "Files AND Tab" without the quotes. I got 8 pages of results.
I spent the last hour ½ reading these results.
What I want to do is to have my Hdd3 show up in the "Files Tab" on the Qtopia desktop.
C3100 & Cacko ROM here.
I've enclosed a mock-up screenshot.
Is this possible?
BTW "Internal Disk" is the "Documents" folder and you cannot go up from there to Hdd3.

I have my Hdd3 root directory set up just like my SD cards in both my Palm and my Zaurus. Now that I have Picsel Browser card inserted all the time, I want to be able to use my Hdd3 for data files, and NOT use the SD card anymore for writing/re-writing files. This is why I want to be able to access the root of Hdd3 from the Files Tab.
Thank you,
Jon
bam
actually if you could get it to goto root "/" this would be of great use, as the files tab shows thumbnails(I think), good for tweaking themes....
Jon_J
Is there a *.conf file for the "Files" tab?
Can one be created? or, What controls the drive/directory access from the "Files" tab?

Jon
EDIT: Here's some odd behavior, when I use PC Link in the settings, and switch from SD card to Internal HDD,
I get a notice that says this:
"Internal disk is Documents Directory"
(I'm using the "Storage" option).
When I connect thru USB on my desktop, (Win-xp),
I can access all of hdd3, not just "Documents", like the message had me assume.
bam
wonder if you can symlink a symlink....?
Jon_J
I tried a symlink, but hdd3 on my C3100 is Fat, and it didn't work.
Also tried a windoze shortcut. These don't work in Linux.
bam
there is Launcher.conf, it has a DocsTabConfig section but its empty...
bam
ok I found this, it may help in the search, I too now am searching for this as well

Thanks to XavierXeon for this info]
F irst, change the /etc/mtab file from being a symlink to /proc/mounts into being a regular file. Then edit the file and comment out those mounted filesystems you don't want the Documents tab to scan.

To change mtab from a symlink to an editable file:
# cd /etc
# cp mtab mtab.old
# rm mtab
# mv mtab.old mtab

Then just edit mtab, comment out /dev/hda1 (CF card) /dev/mmcda1 (SD card) if you want to remove all files on those two sources completely. Or just append /Documents to the end of each to only show files in the Documents directory on each inside the Documents tab. NOTE: This might break things like the ipkg manager.
derekp
Look at this topic:
http://www.oesf.org/forums/index.php?showtopic=11513

Apparently, the mappings are hard-coded into qtopia. That is, the devices are hard-coded, and it will look at where that device is currently mounted (via /etc/mtab) to figure out what to put in the files tab.
bam
yea but when a usbdrive is......wait, i think I have a solution...perhaps

hows about making a folder under /mnt, call it vroot, and have it mounted to root, that should work....of course after tweaking the rc.rofilesys or hddmount(for cacko)
Meanie
to force /hdd2 to be shown on the files tab

mount -o bind /hdd2 /mnt/ide

this will show /hdd2 with a CF icon


to force /hdd3 to be shown on the files tab

mount -o bind /hdd3 /hdd3

this will show /hdd3 as an Internal Disk, so you will now have two Internal Disk listed, one is /hdd3/Documents while the other is /hdd3

to force / to be shown on the files tab

ln -s /dev/mtdblock3 /dev/hdd
mkdir /mnt/root
mount /dev/hdd /mnt/root

this will show / as a Storage device on /dev/hdd

now be careful with this. the above can also be changed around to display the icons differently, but there is also a big chance of corrupting your filesystem if you overdo it.
bam
killer useful info's, definately adding it to the site, thanks meanie, thats the route I thought was going to work.
Jon_J
QUOTE(Meanie @ Mar 18 2006, 12:40 AM)
to force /hdd2 to be shown on the files tab

mount -o bind /hdd2 /mnt/ide

this will show /hdd2 with a CF icon


to force /hdd3 to be shown on the files tab

mount -o bind /hdd3 /hdd3

this will show /hdd3 as an Internal Disk, so you will now have two Internal Disk listed, one is /hdd3/Documents while the other is /hdd3

to force / to be shown on the files tab

ln -s /dev/mtdblock3 /dev/hdd
mkdir /mnt/root
mount /dev/hdd /mnt/root

this will show / as a Storage device on /dev/hdd

now be careful with this. the above can also be changed around to display the icons differently, but there is also a big chance of corrupting your filesystem if you overdo it.
*

Are these changes permanent? After a reboot, would the "New" drives/directories still be in Qtopia's Files tab?
Thank you,
Jon
EDIT: Thank you very much meanie! smile.gif
Now I can browse my hdd3 in the files tab and view all my images with one click.
This is very helpful if someone asks you if they can view a picture that you have.
It's a lot quicker than opening an imaging program/editor, then browsing for the file.
Also, "Thumbnails view" works perfectly! smile.gif
bam
question: what causes the external storage mounting to be "named" and not the "others", I would like to see a internal drive but with the name below it where its mounted, just an idea.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.