look in /etc/sdcontrol for the sd card
and in /etc/pcmcia/ide and ide.opts for the cf.
OK I give. I've spent ages trying to get the pcmcia mechanism to automount the partitions on the microdrive to no avail.
My HDD is partitioned as follows:
Disk /dev/hda: 4095 MB, 4095737856 bytes
16 heads, 63 sectors/track, 7936 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 20 10048+ 83 Linux
/dev/hda2 21 40 10080 83 Linux
/dev/hda3 41 4885 2441880 c W95 FAT32 (LBA)
/dev/hda4 4886 7936 1537704 5 Extended
/dev/hda5 4886 7405 1270048+ 83 Linux
/dev/hda6 7406 7936 267592+ 82 Linux swap
My
/etc/pcmcia/ide.opts looks like:
case "$ADDRESS" in
*,0,*,1)
FATOPTS="-o noatime,quiet,umask=000,iocharset=utf8"
DO_MOUNT="y"
MOUNTPT="/mnt/cf"
;;
*,1,*,1)
DO_MOUNT="n"
MOUNTPT="/mnt/ide"
;;
*,1,*,2)
DO_MOUNT="n"
MOUNTPT="/mnt/ide2"
;;
*,1,*,3)
DO_MOUNT="y"
FATOPTS="-o noatime,quiet,umask=000,iocharset=utf8"
MOUNTPT="/mnt/ide3"
;;
*,1,*,5)
DO_MOUNT="y"
OPTS="-o noatime,umask=000"
FSTYPE="ext3"
MOUNTPT="/mnt/hd"
;;
*,1,*)
PARTS="3 5"
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac
My objective is to automount partition 3 (vfat), and partition 5 (ext3). Try as I might I cannot get
both partitions to mount. More specifically I cannot get partition 5 to mount with other partitions.
Eg:
PARTS="3 5"
Partition 3 is mountedPARTS="5 3"
Partition 5 is mountedPARTS="1 2 3 5"
Partitions 1, 2 & 3 are mountedNB in the last example I had used DO_MOUNT="n" for partitions 1 and 2.
Any help much appreciated
-- cheers