Hi,

here is what i still get :-/

[EMAIL PROTECTED]:~/syncefs-0.3/src$ ./mount.cefs none /mnt/synce
SynCE FS using "/dev/cfs0" (CODA v2)
[EMAIL PROTECTED]:~/syncefs-0.3/src$ ls /mnt/synce
Application Data            /mnt/synce/mxip_system.vol
ConnMgr                     /mnt/synce/pim.vol
Documents and Settings      My Documents
/mnt/synce/cemail.vol       Programme
/mnt/synce/dssrc.txt        Storage Card
/mnt/synce/mxip_initdb.vol  Temp
/mnt/synce/mxip_lang.vol    Windows
/mnt/synce/mxip_notify.vol
[EMAIL PROTECTED]:~/syncefs-0.3/src$ ls /mnt/synce
ls: /mnt/synce: No such device or address
[EMAIL PROTECTED]:~/syncefs-0.3/src$ 

the second "ls" didn't work.

And as next - here a small patch to make it compile for me.

---------------------------------
diff -r -u syncefs-0.3/src/local.c syncefs-0.3.patched/src/local.c
--- syncefs-0.3/src/local.c     2006-05-02 16:41:08.000000000 +0200
+++ syncefs-0.3.patched/src/local.c     2006-05-05 22:54:04.000000000 +0200
@@ -166,7 +166,7 @@
        int fd;
        char *cache;
        int ret;
-       int count;
+       unsigned int count;
        char buf[1024];

        cache = strdup("/tmp/syncefs_file-XXXXXX");
diff -r -u syncefs-0.3/src/node.h syncefs-0.3.patched/src/node.h
--- syncefs-0.3/src/node.h      2006-05-02 15:02:00.000000000 +0200
+++ syncefs-0.3.patched/src/node.h      2006-05-05 22:58:42.000000000 +0200
@@ -15,6 +15,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
+#include <synce.h>

 struct node
 {
@@ -24,7 +25,7 @@
        short usage;
        unsigned char is_dir: 1;
        int flags;
-       int handle;
+       HANDLE handle;
 };

 extern struct node *seek_node(const char *name);
---------------------------------

How can i help to debug syncefs?

best regards
voc

On Wednesday 03 May 2006 00:19, Laurent Vivier wrote:
> New version at:
>
> http://www.lvivier.info/syncefs-0.3.tar.gz
>
> This version allows read/write.
>
> you can find a binary for linux powerpc at:
>
> http://www.lvivier.info/mount.cefs
> (don't forget to copy to /sbin, to change owner to root and to set
> suid bit)
>
> Regards,
> Laurent
>
> Le 28 avr. 06 à 00:35, Laurent Vivier a écrit :
> > Hi,
> >
> > could you try this one:
> >
> > http://www.lvivier.info/syncefs-0.2.tar.gz
> >
> > "make install" installs "mount.cefs" to "/sbin", so you can use
> > mount.cefs or fstab to mount filesystem.
> >
> > for instance:
> >
> > [EMAIL PROTECTED]:~$ /sbin/mount.cefs none /mnt/synce
> >
> > or if you put following line in /etc/fstab:
> >
> > none           /mnt/synce      cefs    ro,user,noauto,codadev=/dev/
> > cfs0       0                0
> >
> > you can just type:
> >
> > [EMAIL PROTECTED]:~$ mount /mnt/synce
> >
> > Regards,
> > Laurent
> >
> > Le 22 avr. 06 à 19:26, Volker Christian a écrit :
> >> Hi Laurent,
> >>
> >> Great work. I was able to get the directory listed! Unfortunately,
> >> a second
> >> access to the mounted filesystem ends up with an error
> >>
> >> [EMAIL PROTECTED]:~/syncefs-0.1/src$ ls /mnt/synce/
> >> Application Data        /mnt/synce/mxip_initdb.vol  My Documents
> >> ConnMgr                 /mnt/synce/mxip_lang.vol    Programme
> >> Documents and Settings  /mnt/synce/mxip_notify.vol  Storage Card
> >> /mnt/synce/cemail.vol   /mnt/synce/mxip_system.vol  Temp
> >> /mnt/synce/dssrc.txt    /mnt/synce/pim.vol          Windows
> >> [EMAIL PROTECTED]:~/syncefs-0.1/src$ ls /mnt/synce/
> >> ls: /mnt/synce/: No such device or address
> >> [EMAIL PROTECTED]:~/syncefs-0.1/src$
> >>
> >> Maybe thats due to my used kernel version (2.6.16.9), as with this
> >> version
> >> syncefs didn't compile cleanly, unfortunately. I have had to insert a
> >> "#undef __linux__" before every #include <linux/coda.h> to get a
> >> grid on some
> >> double defined time-structures.
> >> Furthermore, i will suggest to rename the file called synce.h in
> >> your package
> >> to some other name, as synce.h is a SynCE system include file located
> >> in /usr/src. This is a problem for the #include <rapi.h> preprocessor
> >> statement. rapi.h itself also includes synce.h but expects that
> >> this synce.h
> >> file is the SynCE system include. Unfortunately, the synce.h file
> >> of your
> >> package is included instead.
> >>
> >> Keep on coding!!! Great work. I think, you are able to fix those
> >> small issues
> >> without problems.
> >>
> >> best regards
> >> voc
> >>
> >> On Saturday 22 April 2006 02:45, Laurent Vivier wrote:
> >>> Hi everybody,
> >>>
> >>> I've just written a little application allowing to mount a CE device
> >>> like a remote filesystem.
> >>>
> >>> You can find sources at:
> >>>
> >>> http://www.lvivier.info/syncefs-0.1.tar.gz
> >>>
> >>> Before all, this application uses CODA venus interface, so your
> >>> kernel must support CODA.
> >>>
> >>> To be able to use it, you must set SUID bit:
> >>>
> >>> [EMAIL PROTECTED]:~/syncefs$ ./configure
> >>> [EMAIL PROTECTED]:~/syncefs$ make
> >>> [EMAIL PROTECTED]:~/syncefs$ sudo chown root src/mount.cefs
> >>> [EMAIL PROTECTED]:~/syncefs$ sudo chmod +s src/mount.cefs
> >>>
> >>>
> >>> Check you CE device is connected (synce-serial-start and dccm is
> >>> connected)
> >>> then you can mount your CE device:
> >>>
> >>> [EMAIL PROTECTED]:~/syncefs$ ./src/mount.cefs /mnt/synce/
> >>> SynCE FS using "/dev/cfs0" (CODA v3)
> >>> [EMAIL PROTECTED]:~/syncefs$ find /mnt/synce/
> >>> /mnt/synce/
> >>> /mnt/synce/Carte de stockage
> >>> /mnt/synce/Carte de stockage/My Documents
> >>> /mnt/synce/Carte de stockage/My Documents/Sauvegarde complète.dbe
> >>> /mnt/synce/Restart Synchronization Marker.1
> >>> /mnt/synce/Restart Synchronization Marker.2
> >>> /mnt/synce/Program Files
> >>> /mnt/synce/Program Files/WindowsCE
> >>> /mnt/synce/Program Files/WindowsCE/CAPTCE.EXE
> >>> /mnt/synce/Program Files/WindowsCE/FTPSRV.EXE
> >>> ...
> >>> [EMAIL PROTECTED]:~/syncefs$ df /mnt/synce
> >>> Sys. de fich.        1K-blocs       Occup? Disponible Capacit?
> >>> Mont? sur
> >>> synce                     8159      4200      3959  52% /mnt/synce/
> >>>
> >>> For the moment, there is no parameters, no checking and FS is
> >>> read-only.
> >>> If someone thinks it's an interesting tools, I can continue to work
> >>> on it to improve it.
> >>>
> >>> Regards,
> >>> Laurent
> >>>
> >>>
> >>> -------------------------------------------------------
> >>> Using Tomcat but need to do more? Need to support web services,
> >>> security?
> >>> Get stuff done quickly with pre-integrated technology to make
> >>> your job
> >>> easier Download IBM WebSphere Application Server v.1.0.1 based on
> >>> Apache
> >>> Geronimo http://sel.as-us.falkag.net/sel?
> >>> cmd=lnk&kid0709&bid&3057&dat1642
> >>> _______________________________________________
> >>> Synce-devel mailing list
> >>> Synce-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/synce-devel
> >>
> >> ---------------------------------------------------------------------
> >> ------------------
> >> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-
> >> virus mail.
> >> Aucun virus connu a ce jour par nos services n'a ete detecte.
> >
> > -------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
> > security?
> > Get stuff done quickly with pre-integrated technology to make your
> > job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> > _______________________________________________
> > Synce-devel mailing list
> > Synce-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/synce-devel


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Synce-devel mailing list
Synce-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to