Author Topic: partitioning SD card  (Read 7107 times)

phillvs

  • Newbie
  • *
  • Posts: 38
    • View Profile
partitioning SD card
« Reply #15 on: July 26, 2005, 07:26:45 pm »
I am running the latest RC10 pdaxRom on a C860

I have just partitioned my SD card so that the 'part1' is a FAT32 partition (this is for W2K which only 'sees' the first partition on the card). The 'part2' is formatted as a ext2 partition as described previously in this thread.

I could not quite follow the rest of the instruction for automounting the card. I have tried modifying the /etc/fstab file it now has two mount instructios as:

/dev/mmcd/disc0/part1    /mnt/fat    auto  noauto,owner  0  0
/dev/mmcd/disc0/part2   /mnt/card   auto  noauto,owner  0  0

and I have modifyed sdcontrol like this:

DEVICE=/dev/mmcd/disc0/part1
MOUNT_POINT=/mnt/fat

Now, how do I get the the other partition to automatically mount?

Can I just add:
DEVICE=/dev/mmcd/disc0/part2
MOUNT_POINT=/mnt/card
?????

(Note: mount -a gives errors with mounting the card, don't know why yet)

Someone who knows these things please guide me. Many thanks.

Phill
Phill

Using:
C860 with pdaXrom
5600 with theKompany Rom

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
partitioning SD card
« Reply #16 on: July 27, 2005, 07:33:25 am »
Hi Phill,

Due to the way the standard /etc/sdcontrol works it's not trivial to get two partitions to mount automatically.  I've been meaning for a while to rewrite sdcontrol so that it supports things like this (as well as swap partitions and multiple SD cards with different partitioning schemes).

In the meantime you could try groq's modified version of sdcontrol.  It's based on the OZ version of sdcontrol so you might need to tweak it a bit to work on pdaXrom.  I haven't tried it so can't say whether it should work or not.

https://www.oesf.org/forums/index.php?showt...indpost&p=66353

I'll post my version of sdcontrol if or when I get around to finishing it!

Matt
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults