Wouldn't it be simpler to make the mountpt be /mnt/$DEVICE ? We can symlink /mnt/hda to /mnt/hda for backwards compatibility.
Jamey
> -----Original Message-----
> From: Thomas Lunde [mailto:tlunde@mac.com]
> Sent: Thursday, November 14, 2002 8:12 PM
> To: familiar-dev@handhelds.org
> Subject: [Familiar-dev] suggested change in /etc/pcmcia/ide.opts and
> inserting CF cards freezes box
>
>
> I have an Ipaq 3650 with a Pitech dual CF sleeve. The
> problem is that
> when I stick in 2 CF cards, they get mounted "on top" of each
> other, so
> that I can't access both at the same time. After a bit of poking
> around, may I suggest that /etc/pcmcia/ide.opts in the
> distribution be
> changed from:
>
> case "$ADDRESS" in
> *,*,*,1)
> INFO="Sample IDE setup"
> DO_FSTAB="n" ; DO_FSCK="y" ; DO_MOUNT="y"
> FSTYPE=""
> OPTS=""
> MOUNTPT="/mnt/hda"
> ;;
> *,*,*)
> PARTS="1"
> # Card eject policy options
> NO_CHECK=n
> NO_FUSER=n
> ;;
> esac
>
> to
>
> case "$ADDRESS" in
> *,0,*,1)
> INFO="Sample IDE setup"
> DO_FSTAB="n" ; DO_FSCK="y" ; DO_MOUNT="y"
> FSTYPE=""
> OPTS=""
> MOUNTPT="/mnt/hdc"
> ;;
> *,1,*,1)
> INFO="Sample IDE setup"
> DO_FSTAB="n" ; DO_FSCK="y" ; DO_MOUNT="y"
> FSTYPE=""
> OPTS=""
> MOUNTPT="/mnt/hda"
> ;;
> *,*,*,1)
> INFO="Sample IDE setup"
> DO_FSTAB="n" ; DO_FSCK="y" ; DO_MOUNT="y"
> FSTYPE=""
> OPTS=""
> MOUNTPT="/mnt/hdx"
> ;;
> *,*,*)
> PARTS="1"
> # Card eject policy options
> NO_CHECK=n
> NO_FUSER=n
> ;;
> esac
>
> The suggested /mnt/hda and /mnt/hdc indicate how the Ipaq
> "sees" these
> cards via this sleeve. The /mnt/hdx is just to cover any future
> sleeves with three slots. :-}
>
> Thanks
> thomas
>
> ps Now if I could just figure out why inserting a card causes the
> system to freeze ("shattered"/grey screen ) about half the time!
> What's worse, is that it seems to mess things up enough that
> the system
> won't see the cards after a reboot & I have to reload the
> distro. ugh.
>
> _______________________________________________
> Familiar-dev mailing list
> Familiar-dev@handhelds.org
> http://handhelds.org/mailman/listinfo/familiar-dev
>
Received on Fri Nov 15 14:12:58 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:37:20 EDT