OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: bam on February 03, 2006, 10:48:54 pm
-
tried adding the swapon /hdd3/Documents/.swapfile line to /sbin/hddmount, and no-joy, any ideas? cant add it to rc scripts, the hdd isnt mounted yet....so thats out.
-
I use the Sharp ROM. You could try and create:
/etc/rc.d/rc5.d/S99local
and make it executable with
chmod 755 /etc/rc.d/rc5.d/S99local
and add whatever initialization commands that you want to the S99local file. I use the S99local file to mount loop files.
-
forgot to add it to /etc/fstab, oops.
-
I thought I might as well reply to this one rather than create a new thread.
Is it OK to leave a swapfile on that is on the internal hard drive while you plug it into a computer for usb storage? I'm just curious because it seems that the whole drive becomes unavailable to the zaurus while in this mode and if that's the case wouldn't the swapfile be unavailable as well? And then easily become corrupted?
-
Using the internal flash memory of a Zaurus for a swap file is not a good idea. If the swap file becomes corrupted, it will most likely be because the flash memory burned out.
When the Zaurus is attached to a PC as a storage device, the Zaurus is basically interfacing with the PC through software called Samba. Samba is an open source project which replicates the functionality of Windows networking code. The name Samba is derived from the abbreviation for the protocol that Windows computers use to network with one another, SMB. When the Zaurus SL-5500 interfaces with a PC as a storage device, it seems to use a special user name and password to log into the Windows PC which identifies the Zaurus as a storage device. The Zaurus's other processes should continue to run.
-
I'm confused. I thought he was talking about hdd3 (hard drive) and not the internal flash.
I'm also confused as to why PC storage is using samba. PC storage shows up as a usb device and samba uses network shares.
-
I'm confused. I thought he was talking about hdd3 (hard drive) and not the internal flash.
I'm also confused as to why PC storage is using samba. PC storage shows up as a usb device and samba uses network shares.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114566\"][{POST_SNAPBACK}][/a][/div]
You are right bluedevils, that is what I am talking about.
-
You can search for the smb.conf file on your computer and look at its contents to see if it is using USB or something else as its network connection.
-
You can search for the smb.conf file on your computer and look at its contents to see if it is using USB or something else as its network connection.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114604\"][{POST_SNAPBACK}][/a][/div]
???
-
I was responding to the previous comment questioning why Samba would be used to interface the Zaurus with a PC through a USB port. Whether or not that is true can be verified by searching the Zaurus for the smb.conf file and looking at the contents of the smb.conf file.
-
qx773
I wasn't questioning samba on a USB connection (many people do it)
I think you are confusing samba with pc storage on the Z. PC Storage is when the Z can be seen as a flash card reader. On the older Zs it would be the sd slot or the cf slot. Windows see this as a device or local drive and *not as a network share*. The newer Zs also map to the internal hard drives if they have one.
xamindar,
It is a good question, but since I rarely use PC storage I can't really answer that one yet. My guess is that it *would* be a good idea to detach the swap when using pc storage.
Bam,
I assume you meant fstab solved it for you?
-
yea...
-
My impression from looking at the smb.conf file of my SL-5500 before it burned out was that it interfaced with a PC via the USB interface with a special user name and password in order to make the Zaurus file system accessible from the PC. If I changed the interface specified in the smb.conf file to eth0, then I was able to use a wireless network card to make the Zaurus file system accessible from the PC.
-
AFAIK (unless someone was able to port it over) the 5500 does not have the pc storage feature. PC storage started with the clamshell zauruii.
-
AFAIK (unless someone was able to port it over) the 5500 does not have the pc storage feature. PC storage started with the clamshell zauruii.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114706\"][{POST_SNAPBACK}][/a][/div]
Ah, but Cacko backported this app to the 5500, and it works well with the 3.13 ROM as well as with his. I know, I use it myself. Much faster transferring files than going through the Zaurus File Transfer interface.
-
http://my-zaurus.narod.ru/usbstorage.html (http://my-zaurus.narod.ru/usbstorage.html)