More like a dumb generic operating system irritation that nobody has bothered 
to fix. When you run a program then open a file from within the program, the 
file is properly protected from being written to by other programs.
But when you close the file within the program, the operating system refuses to 
let go of it until the program used to open the file is exited, and sometimes 
even then the OS refuses to acknowledge that the file is closed.
One imagines the Babbage machine with a teleprinter rapping out "That cam is in 
use, please wait" while it is quite clearly NOT in use.



 
      From: Jim Craig <jimcraig5...@windstream.net>
 To: Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net> 
 Sent: Thursday, May 12, 2016 11:51 AM
 Subject: Re: [Emc-users] USB flash drive issue
   
More info.

So I did the same as before. Plugged in the usb to the linux box. Went 
to LinuxCNC using Axis GUI. Opened a file from the /media/usb0/ 
directory in Axis. Opened a file on the local hard drive in Axis. Axis 
is no longer showing the file from the usb on the graphical display or 
in the g-code text box.

Went to a terminal and tried: umount /media/usb0/ and received an error 
that the volume was busy.

Did lsof /media/usb0/ and it showed that AXIS was still using the file 
that I had opened.

When I closed LinuxCNC Axis the file and volume were released and I 
could umount them.

This seems like a bug.

   
 
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to