! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
port exo-0.3.102 to x86-interix (SFU 3.5, SUA 5.2, SUA6.0)
Status:
RESOLVED: FIXED

Comments

Description Markus Duft 2009-10-06 10:01:40 CEST
Created attachment 2578 
patch for mount point list on interix

I ported exo to interix. most things work out of the box, but exo requires two
small fixes: an implementation of how to determine the list of mounted
filesystems (i'll attach a patch for that), and a little help for the configure
script, which detects getmntent (don't ask why - i don't know. however
getmntent is _not_ present on interix). i worked around this by setting
ac_cv_func_getmntent=no for now.

questions? :)
Comment 1 Nick Schermer editbugs 2009-10-08 15:32:41 CEST
Is there not difference between active and configured file systems on interix? Anything like an /etc/fstab and when you (un)mount the drive is it added/removed from /dev/fs/?
Comment 2 Nick Schermer editbugs 2009-10-08 15:33:57 CEST
Created attachment 2590 
Preferred layout

I also prefer more usage of glib, like in the patch attached.
Comment 3 Markus Duft 2009-10-09 07:44:23 CEST
(In reply to comment #1)
> Is there not difference between active and configured file systems on interix?
> Anything like an /etc/fstab and when you (un)mount the drive is it
> added/removed from /dev/fs/?

no, on windows there is no difference between mounted and configured devices. what is there, is there.

when a drive is unmounted, it is removed from /dev/fs, yes. and there is no way of retrieving any information about that drive at that moment then.

(In reply to comment #2)
> I also prefer more usage of glib, like in the patch attached.

ah, ok, thanks for doing the required work then ;) is there any more to do?
Comment 4 Nick Schermer editbugs 2009-10-09 09:23:46 CEST
Created attachment 2592 
Patch for mount point list on interix, v2

Ok well in that case we don't have to duplicate the code. Please try the new patch and check if everything works as expected, preferably compile with --enable-debug=full, to see if there are any errors in the code.

For your convenience I've put a tarball with the patch applied here:
http://foo-projects.org/~nick/packages/exo-0.3.102git-c7cf93e.tar.bz2
Comment 5 Nick Schermer editbugs 2009-10-18 21:11:17 CEST
Any news on this?
Comment 6 Markus Duft 2009-10-19 07:15:39 CEST
Hey - sorry for the long delay!

i now tested the patch on interix with 0.3.104. it applies, and builds fine. is there an easy way to verify, that it works as expected? all the exo-* executables at least seem to (at least) start without unresolved symbols or stuff ;)

if "no build failure" is enough info, please go ahead and commit ... :)

Cheers, Markus
Comment 7 Nick Schermer editbugs 2009-10-23 16:14:20 CEST
Exo-mount uses the code. But it is fixed this even better: we dropped the ExoMountPoint code in master and use GIO, which obviously also supports Interix.

So thanks for testing anyway. Marking as fixed since I assume the GIO code works fine.
Comment 8 Markus Duft 2009-10-27 07:39:57 CET
huu... hopefully :) i touched that one too some time ago ;) thanks for the work though!

Bug #5825

Reported by:
Markus Duft
Reported on: 2009-10-06
Last modified on: 2009-10-27

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
0.3.100

Attachments

patch for mount point list on interix (2.61 KB, patch)
2009-10-06 10:01 CEST , Markus Duft
no flags
Preferred layout (1.27 KB, patch)
2009-10-08 15:33 CEST , Nick Schermer
no flags
Patch for mount point list on interix, v2 (1.68 KB, patch)
2009-10-09 09:23 CEST , Nick Schermer
no flags

Additional information