Re: [Owfs-developers] simultaneous changes

2005-04-12 Thread jack . s . smith
>>How about people using iButtons as identification cards etc... There >>are key-rings to attach the iButton and then it's just to hold up >>the button to the reader. This requires a loop searching for new >>devices all the time, and then when a device is found, read the >>memory or content and

[Owfs-developers] OWFS and FUSE Debugging with UML (User Mode Linux)

2005-04-14 Thread jack . s . smith
Has anyone had any experience debugging owfs modules ( and fuse ) by way of User Mode Linux. I have been having a look at UML, and it seems far preferable to printk calls. |-+---> | | "Gregg C Levine"| |

RE: [Owfs-developers] OWFS and FUSE Debugging with UML (User Mode Linux)

2005-04-15 Thread jack . s . smith
>>Haven't tried UML, I suspect the issue would be more with fuse and libusb. Actually, I guess I should have mentioned this specifically. owfs debugging isn't the problem, as you rightly state, when it is in the foreground. I find that I am trying to understand the relationship between owfs and

RE: [Owfs-developers] OWFS and FUSE Debugging with UML (User Mode Linux)

2005-04-15 Thread jack . s . smith
>>Try: find /var/1wire/ -noleaf >>and it will probably return what you want. (I think this is what you >>tried to solve.) >>/Christian I did in fact see the -noleaf option, but since it seems mostly intended for 'non-standard' Unix file system (and AFS), I thought perhaps I should make the ow

RE: [Owfs-developers] OWFS and FUSE Debugging with UML (UserMode Linux)

2005-04-19 Thread jack . s . smith
What is the expected value of st_nlink - should it include the number of dirs in sub-dirs as well. That doesn't sound right to me. Once a directory is enumerated, the number of sub-dirs is known and contained in a linked list. Iterating that list to count the sub-dirs should be trivial. I also n

RE: [Owfs-developers] OWFS and FUSE Debugging with UML (UserMode Linux)

2005-04-19 Thread jack . s . smith
I don't think it is so unusual to have a directory listing become out of date. This must happen frequently while one process is navigating the directory, another can change entries in it. The first process won't know anything about changes to the structure once it has traversed that particular n