OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: 10BaseT on April 17, 2007, 11:07:14 pm

Title: Gui File Viewer
Post by: 10BaseT on April 17, 2007, 11:07:14 pm
hey,

 I've been hacking at this for a while now trying to relink the /home/zaurus/Documents dir to also inculed something like

ln -s /mnt/smb /home/zaurus/Documents/
ln -s /mnt/usbstorage /home/zaurus/Documents/

Of course I rebuilt the Documents dir so that it exists as dir instead of a sys-link relinking everything underneath it...

This allows me to navigate into my USB drive and my smbmount from the file viewer in the Music Player and in Kino2 and play music. But rebooting is a bad idea… the rc.rofilrsys scrip moves everything around and relinks it all. (sometimes I feel that the Z is just about the right size for a hockey puck)

I tried hacking rc.rofilrsys file but I seem to end up with an unbootable Z
I tried using Meanie’s rc.rofilrsys file (because I hate the damn thing so much) reformatting the drive and all. This also ends with and unbootable Z.

I think to myself there has got to be a clever way of fixing the problem of not being able to navigate to my other mount points with the Z’s file browser.

I have a 12gb USB hard drive that I power off my truck and would like to use it to have a bigger music selection while on the road… and a network share on a windows server 2003 that has the same music I can use while roaming around the house.

Any help is welcome

-C.Halen
Title: Gui File Viewer
Post by: njefferies on April 18, 2007, 07:08:35 am
What's wrong with just putting the links IN the Documents directory?
Title: Gui File Viewer
Post by: tanjian2 on April 18, 2007, 08:06:32 am
Quote
What's wrong with just putting the links IN the Documents directory?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159159\"][{POST_SNAPBACK}][/a][/div]
I second that - something like:

ln -s /mnt/usbstorage  /home/zaurus/Documents/usb     and
ln -s /mnt/smb /home/zaurus/Documents/smb    

should do the trick......
Title: Gui File Viewer
Post by: Jon_J on April 18, 2007, 12:32:08 pm
This looked like a good idea for me to get my cdrom to be browseable in the GUI file manager.
on a C3100 /home/zaurus/Documents is already a symlink to /hdd3/Documents
Since /hdd3 is FAT formatted, when I do
ln -s /mnt/cdrom /home/zaurus/Documents/cdrom
I get this error
ln: /mnt/cdrom /home/zaurus/Documents/cdrom: Operation not permitted
Title: Gui File Viewer
Post by: tanjian2 on April 18, 2007, 07:22:58 pm
Quote
This looked like a good idea for me to get my cdrom to be browseable in the GUI file manager.
on a C3100 /home/zaurus/Documents is already a symlink to /hdd3/Documents
Since /hdd3 is FAT formatted, when I do
ln -s /mnt/cdrom /home/zaurus/Documents/cdrom
I get this error
ln: /mnt/cdrom /home/zaurus/Documents/cdrom: Operation not permitted
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159195\"][{POST_SNAPBACK}][/a][/div]
Oops - forgot all the Sharp issues - links won't work on FAT formatted drives - I ended up creating an ext2 partition for /home/zaurus when I last used a Sharp rom....

Gotta love a full blown Linux distro like pdaxrom for solving all those sorts of issues.
(and maybe providing a few different problems..)
Title: Gui File Viewer
Post by: 10BaseT on April 19, 2007, 03:23:21 am
yeah... that dir is fat 32 and it's on hdd3...

unless i'm out of my mind...

and I do think the way the hdd3 is formated is dumb... and the way it's mounted in the rc.rofilrsys. but thats what we got to work with here...

thx

-C.Halen
Title: Gui File Viewer
Post by: njefferies on April 19, 2007, 07:11:53 am
Warning!!! **untested speculation**

I'm wondering whether the "easiest" solution may be to install the "akita" version of Cacko since it ignores the hard drive (but has the cf drivers in for the slot that IS there on the 1K). Then the hdd can be ext2 formatted and symlinked in manually where required.

I guess the FAT format is so the USB drive emulation can work.
Title: Gui File Viewer
Post by: 10BaseT on April 20, 2007, 02:11:13 am
Quote
I guess the FAT format is so the USB drive emulation can work.


yeah... I use that though. I'm thinking that maybe i should take an other look at Meanie’s  hacked rc.rofilrsys file... a swap would be nice...

as I'm looking at the rc.rofilrsys file it looks like it might take care of my problem...

any suggestions?