Thanks Mick, I had rebooted but when I saw the file /mnt/1wire I thought the
other files would still be there. When I checked all the subfolders  had
magically disappeared. This is good news but a little alarming that files
can disappear when you reboot. I guess pseudo directories have different
properties. Something else I have to learn!

Did you ever come across a owfs manual? I have found plenty of examples of
code like the one I used from  noveldivices but they don't give clues as to
what the code does or alternative strategies. I have also found the owfs.org
site which looks like it's written for professionals but I am slowly getting
the hang of it be trial and error.

 

Thanks for helping me over this hurdle   ----   on to the next one.

 

Regards

 

George

 

From: Mick Sulley [mailto:m...@sulley.info] 
Sent: 05 June 2015 17:16
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] deleting /mnt/1wire folders and files.

 

I use owfs on RasPi and I can remember struggling with 'already present'
problems, but cannot remember the details.  I think that I added --nozero to
the command starting owfs.

One thing you should understand is that /mnt/1wire is a real directories but
anything below that are pseudo directories or files created by 1wire using
fuse.  If you reboot the Pi then /mnt/1wire should be empty until you start
1-wire again.

Can you post back with a bit more info, how do you start owfs, which adapter
do you use?

Cheers
Mick

On 05/06/15 11:13, Reid wrote:

I have used i buttons and 1wire viewer on a windows machine for many years
but want to move onto system monitoring on a Raspberry Pi.

 

After many struggles I found "Notes on the Raspberry Pi" at
http://www.noveldevices.co.uk/rp-1-wire This worked with only one hitch at
Step 3 the download appeared in the folder as "download" and had to be
renamed "owfs-2.8p15" for the unzip to work. The programme then ran - -
once. On running a second time it reported that /mnt/1wire was already
present. So I had to create 1wire.1 then 1wire.2 etc. However I can't delete
remove or change these files. I have tried sudo and tried deleting from the
root. When I use -v (verbose) the deletion appears to proceed as normal but
does not remove the files a folders. This is all pretty heady stuff for a
newby.  It appears that large set of files and folders which owfs creates in
/mnt/1wire  have a range of 'permissions' including 'nobody'. I have tried
'chmod' and 'chown' with little effect. 

Can anyone advise how these files and folders can be deleted / removed.

 






----------------------------------------------------------------------------
--






_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to