Help - Search - Members - Calendar
Full Version: How To Make Sd 2nd Partition Auto-mount?
OESF Portables Forum > Everything Else > Archived Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > Sharp Zaurus > C1000/3x00 General discussions
Here's my scenario:

I fdisk'd my SD Card to make two partitions.
> Partition 1 - formatted as fat16 ( fdisk type 6 -- mkfs.msdos /dev/mmcda1 )
> Partition 2 - formatted as ext2 ( fdisk type 83 -- mkfs.ext2 /dev/mmcda2 )

I created /mnt/card2

In /etc/fstab I have these entries for the sd card:
(the first line is original, the second line I added)
/dev/mmcda1  /mnt/card  auto  noauto,owner 0 0
/dev/mmcda2  /mnt/card2  auto  noauto,owner 0 0

When the card is inserted, partition 1 auto-mounts fine, but partition 2 will not auto-mount.

But in console
# mount /dev/mmcda2 /mnt/card2
will mount partition 2.

So obviously there is something else I have to do to make partition 2 auto-mount.

Also when I remove the card, Partition 1 auto-unmounts, but I have to unmount partition 2 using the console.

If anyone can help with this, I would greatly appreciate it.

hmm... what if you specify that it is an ext2 ppartition.
This link might help you:
Thanks for the link... it's very informative.

I've tried some of the different combinations listed there, but nothing yet.
/etc/card/sd_mem_ctrl and /etc/card/sd.conf controls it
Thanks, Meanie.
I'll take a look at them and see what I can come up with.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.