Author Topic: Mounting My 6gb Drive  (Read 3143 times)

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Mounting My 6gb Drive
« on: April 27, 2006, 06:32:26 am »
I must of spent a good 3 hours trying to find the commands to return my permissions so i can edit stuff through the file manager in the zaurus.

what happends is after using my bluetooth, i close the lid and suspends. when i open the lid and start it up, i loose my internal drive.

so i then
su
mount /dev/hda3 /hdd3

my drive is back but i can't write to it.

then i try
chown 700 /hdd3

and i dont get any write access.

i tried chown -R root:root /hdd3

but its not working at all.

any Ideas?  i need to enable access permission to user, group, others with show, write and enter under ownership of user and group to root to return the original state of the disk.  The only way i can fix this at the moment is by rebooting it.
« Last Edit: April 27, 2006, 06:33:50 am by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

DaemonsGR

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Mounting My 6gb Drive
« Reply #1 on: April 27, 2006, 01:29:19 pm »
Did you try just t reboot?
Tasos Varoudis (Tech)
Tasos Varoudis (Architecture)

Zaurus sl-c3100 + Wlan, Lan ,BT ,etc
NOW running... pdaXrom 1.1.0beta3 + OOo + custom apps/setup + debian +.. not yet installed OpenBSD snapshot

WAS:Cacko 1.23 + X/QT + debian

Home-Net
Debian WIFI Router ,OpenBSD Bridge Firewall ,Win 2k Domain Server , :) Sun Fire v120 , :) Gentoo Main Server: Dual PIII

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Mounting My 6gb Drive
« Reply #2 on: April 27, 2006, 01:47:49 pm »
yeah rebooting it works just fine but my commands fail at the terminal.  I'd rether type it in instead of waiting for a reboot.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Mounting My 6gb Drive
« Reply #3 on: April 27, 2006, 03:16:18 pm »
Quote
yeah rebooting it works just fine but my commands fail at the terminal.  I'd rether type it in instead of waiting for a reboot.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124819\"][{POST_SNAPBACK}][/a][/div]


Did you tried "mount -o remount,rw /hdd3" ?
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Mounting My 6gb Drive
« Reply #4 on: April 27, 2006, 07:53:05 pm »
doesnt work..

i su then do
mount -o remount,rw /hdd3
and nothing.  isnt in fstab

then i do
mount /dev/hda3 /hdd3
and then i do
mount -o remount,rw /hdd3

seems to work but then i can't do nothing with file manager.
« Last Edit: April 27, 2006, 07:54:42 pm by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Mounting My 6gb Drive
« Reply #5 on: April 28, 2006, 06:27:03 am »
Quote
doesnt work..

i su then do
mount -o remount,rw /hdd3
and nothing.  isnt in fstab

then i do
mount /dev/hda3 /hdd3
and then i do
mount -o remount,rw /hdd3

seems to work but then i can't do nothing with file manager.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124871\"][{POST_SNAPBACK}][/a][/div]

actually, you need to do the following:

mount -o rw,noatime,umask=000,iocharset=utf8 /dev/hda3 /hdd3

note the umask=000 option. that's the important one
also, you should fix your bluetooth scripts and find and replace

cardctl eject

with

cardctl eject 0

probably want to do the same thing for the all the instances of cardctl in the bluetooth scripts. on a c1000 where there is no internal microdrive unmounting everything or just the first cf device has the same result but on a c3x00, the microdrive suffers if cardctl is not more specific.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Mounting My 6gb Drive
« Reply #6 on: May 27, 2006, 06:14:39 pm »
thanks meanie!

I just got around screwing around with the zaurus again and made a patch ontop of the patch that was made.  Made an ipk for myself.  Anyway, it's working and my internal drive doesn not mysteriously dissapear anymore.

Do you have any idea why the cacko version of bluetooth network does not work for the sharprom?  I kinda want to get that to work on the sharprom.  Is it because of the tetsu kernel?

i did a few files just like this.
r45bluetooth
s90bluetooth
bluetooth
serial

i was having problems with cardctl 0 because i did not realize i had to place the 0 like "cardctl susp 0".  i was "cardctl 0 susp" and gaved me some problems.  Too funny!  
« Last Edit: May 27, 2006, 06:27:52 pm by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software