Author Topic: Automounting Hdd3 At Boot  (Read 2119 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Automounting Hdd3 At Boot
« on: November 16, 2006, 10:29:39 am »
I've messed with my Z, so had to reinstall.

My hdd3 is ext3 formatted, I've changed the /root/etc/rc.d/rc.rofilesys so that it mounts it as ext3 not fat.

But it doesn't get automounted on boot. If I

sudo mount /dev/hda3 /hdd3

it works, but how to make it automount?

I'm sure I didn't have it in /etc/fstab before.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Automounting Hdd3 At Boot
« Reply #1 on: November 16, 2006, 11:05:12 am »
OK. Got it.

Edit /sbin/hddmount as well, forgot that.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Automounting Hdd3 At Boot
« Reply #2 on: November 19, 2006, 04:03:36 pm »
I changed the ownership of /hdd1, /hdd2 and /hdd3 to zaurus, group qpe, so that the files could inherit the ownership and thus the directories would be automatically writable by user zaurus

To do so, I had to remount / as rewritable ("mount -o remount,rw /"), "chown zaurus:qpe /hdd*", "mount -o remount,ro,noatime,ro /") or some such similar thing.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.