Am Donnerstag, 6. Juli 2006 09:33 schrieb Krzysztof:
> Paul Alfille wrote:
> > Here is an example of my bus:
> >
> > amd64:/home/paul # ls /mnt/1wire/
> > . .. 01.8660BE090000 06.8FD62D000000 bus.0 settings statistics
> > structure system uncached
>
> I can not see thermostat directory
>
> > And here I look at the "thermostat" directory:
> >
> > amd64:/home/paul # ls /mnt/1wire/thermostat
> > . .. polarity temperature temphigh templow type
>
> funny, you can not see the thermostat dir by simple `ls` its parent
> directory :|
> I thought that you can not `ls` directory that do not exists, FUSE should
> work as a virtual file system, I can not `cd' nor ls "ghost" directory (no
> such directory error) hmm, weird:(
> Maybe thermostat dir is somehow hidden? Can you hide directory in linux? I
> did not hear about that.
>
You can implement *anything* with Linux. So it's perfectly possible to build a
filesystem that implements hidden files or directories.
Regarding FUSE, it has full support for simulation of any system call a
"regular" file system would offer. The system call for "list directory
<path>" could report any data for any given path, even random data, leaving
you totally confused...
Just try "ls -l owfs/thermostat", and owfs/fuse will answer your calls and
return some useful information. If this doesn't work, the DS1821 was not
detected.
Kind regards
Jan
--
DOS: n., A small annoying boot virus that causes random spontaneous
system crashes, usually just before saving a massive project.
Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS.
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&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers