Re: Access compact flash, in ipaq sleeve, from opie?

From: Thomas <spiralman_at_softhome.net>
Date: Fri, 14 Jun 2002 21:28:21 -0500

point 1: if your cf card comes unformated (**very** unlikely), then you need
to use fdisk or cfdisk to create at least one partition, and then mkext2, or
mkvfat (those might have slightly different names) to format the partition.

point 2: for this, you need to use the -dest option of ipkg. in your
ipkg.conf file, you create a line something like:

dest cf /mnt/hda

and then ipkg install package --dest cf to install the package as if /mnt/hda
was "/". unfortunately, opie will not see any programs you install there,
and the programs will probably not see their data there. to fix this, you
have to create a link for every file from where it should be to where it is
(in the above example, on link would be /opt/QtPalmtop/bin/app ->
/mnt/hda/opt/QtPalmtop/bin/app). obviously, this is rather tedious for ipkgs
that have lots of files, so oipkg (the new opie package manager) does all
this for you. unfortunately, that doesnt seem to be past the alpha stage at
the moment (correct me if im wrong about this), but when it is, this
operation will be very easy...

hope that helps a little
thomas
spiralman_at_softhome.net

On Friday 14 June 2002 07:27, Steve Howson wrote:
> Thanks!
> That worked like a charm!
>
> Two more questions if you don't mind:
> 1) what if it wasn't formatted?
> 2) can I install packages on a CF. Like if I wanted to load something on
> my system that I don't need all the time... like games?
>
> Thanks!
>
> On Fri, 14 Jun 2002, Matthew Hixson wrote:
> > If your CF card is already formatted, and that formatting is vfat you
> > should be able to do
> >
> > mount -t vfat /dev/hda1 /mnt/mount_point
> >
> > /mnt/mount_point needs to be a directory that already exists.
> > -M@
> >
> > On Friday, June 14, 2002, at 04:30 PM, Steve Howson wrote:
> > > Hi all!
> > > I have cardmon installed which detects when I insert a CF.
> > > I can use my 802.11 card to get on the network.
> > >
> > > What I don't know how to do is mount a CF once it's inserted and
> > > detected..
> > > If anyone has information on this it'd be appreciated!
> > >
> > > Thanks!
> > >
> > > _______________________________________________
> > > Open Source User Interface and Apps built on Qt Embedded
> > > Opie mailing list
> > > Opie_at_handhelds.org
> > > http://handhelds.org/mailman/listinfo/opie
>
> _______________________________________________
> Open Source User Interface and Apps built on Qt Embedded
> Opie mailing list
> Opie_at_handhelds.org
> http://handhelds.org/mailman/listinfo/opie
Received on Sat Jun 15 2002 - 02:28:45 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:30:55 EDT