On 11-10-27 09:23 AM, doddm2001 wrote:
> In another application, I booted into TS-Linux and mounted everything
> read-only,, but I can't do this with the HVAC monitor -- it writes to
> files on the server.
On 11-10-27 10:28 AM, Mike Dodd wrote:
> João Trindade wrote:
>> Why not write to a USB pen the data, and leave the rest of the
>> filesystem in read-only mode.
>
> That might be worth pursuing. I need access to the files from Windows
> PCs, so I'd have to set up Samba to share them. First I need to see if I
> can format a USB thumb drive EXT2, and untar the Debian USB image on it.
You don't need to make it quite so complicated. I worked on a project for a
client that used the TS-7250 to collect data while external machinery was
operating. The software collected the data when the machinery was active. At
the end of the machines operating cycle the collected data was saved to a
USB memory stick. The USB memory stick was using standard FAT16 (or whatever
Windows compatible format it was set up for by the manufacturer).
A run/idle switch connected to the 7250 determined if it should collect data
from the machinery or not. When the switch was in the idle position the
memory stick was not mounted. When the switch was set to run, the memory
stick was mounted. This provided a safe means memory sticks to be swapped by
operators.
The other thing I did was to use the built-in Apache webserver to have
read-only access to the memory stick. When the memory stick was mounted
anyone with the URL, user ID, and password could access the memory stick
contents (saved data files) using a web browser.
Apart from using battery backup to allow the 7250 time to shutdown cleanly
in the event of a power failure, you can mount the memory stick so it
doesn't buffer files or flush data to the "disk" to minimize the chance that
a disk buffer would still be in memory in the event of an unexpected power
failure.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|