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 ------------------------------------------------------- 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