Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Gregg Eshelman
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


Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Gregg Eshelman
With a GUI, that is what right clicking then clicking eject or safely remove 
etc *should do*.1. Check for open files. No open files, skip to 5.2. Check to 
see if the programs with the open file handle *are actually running*.3a. If 
programs with 'open' files are NOT actually running, CLOSE THE @#%@#% FILES and 
flush all pending writes to the storage media.3b. If there really are programs 
running with files open on the storage to be ejected, bring up a list of the 
open files and the programs that have them open, so the user may quit the 
programs or close the files.4. Flush all pending writes.
5. "You may now remove the device."
What actually happens (For Windows, this began in 95 OSR2 and 10 still does it.)
1. Check for open files. No open files, skip to 4.
2. If there are open files, *do not tell the user what the OS thinks they are, 
or what programs it incorrectly thinks are running and have 'open' files*.3. 
"I'm sorry, Dave, I'm afraid I can't do that."3a. Repeat 3 until the user says 
"Screw this! Stupid operating system. THERE ARE NO OPEN FILES ON IT!" and yanks 
the USB stick out.
4. "You may now remove the device."
How hard is it to write the code for an operating system to do the logical 
steps to properly respond to a user request to disconnect a storage device 
while ensuring that no data loss will happen due to pulling the plug while an 
open file has unwritten data pending?



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

I could give that a shot. I was not using a terminal to eject the media 
I was simply right clicking on the 8GB filesys icon on the desktop and 
clicking the eject media option. There is no unmount option in the right 
click context menu.

I was under the assumption that the eject medial context menu option did 
the unmount command for that mounted drive.

I will give it a try in a terminal to see.

   
 
--
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


Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Dave Cole
This is all new.   I've never seen that before.

Dave

On 5/12/2016 2:49 PM, sam sokolik wrote:
> I am seeing the same behavior in 2.7.4 on jessie.  If you open a file
> from a usb drive - Axis seems to hold on to it even though you opened a
> different file (not on the usb drive)
>
> sam
>
> On 5/12/2016 1:19 PM, Dave Cole wrote:
>> What version of LinuxCNC are you using ?
>>
>> Dave
>>
>> On 5/12/2016 1:51 PM, Jim Craig wrote:
>>> 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.
>>>
>>> Thanks,
>>>
>>> Jim
>>>
>>> On 5/12/2016 10:25 AM, Jim Craig wrote:
 Peter,

 I could give that a shot. I was not using a terminal to eject the media
 I was simply right clicking on the 8GB filesys icon on the desktop and
 clicking the eject media option. There is no unmount option in the right
 click context menu.

 I was under the assumption that the eject medial context menu option did
 the unmount command for that mounted drive.

 I will give it a try in a terminal to see.

 Thanks,

 Jim

 On 5/12/2016 10:13 AM, Peter Blodow wrote:
> How about unmounting the stick first before ejecting?
> Peter
>
> Am 12.05.2016 16:50, schrieb Jim Craig:
>> All,
>>
>> I found an issue that I think is a bug but would like feedback before I
>> post it on the GitHub issue list.
>>
>> I was using a USB flash drive to transfer files from my CAD/CAM pc to
>> the LinuxCNC box. To do this I would plug the flash drive into the Linux
>> box and would mount the volume. The files are then available at 
>> /media/usb/
>>
>> If I accessed a file from LinuxCNC in the Axis GUI at the location of
>> /media/usb/ the file would open fine and would run perfectly.
>>
>> The issue is when I wanted to eject the volume so I could take it back
>> to the CAD/CAM box. To do this I would open a file that is on the local
>> hard drive in LinuxCNC so that it should release the /media/usb/
>> resource. I would then attempt to eject the volume and it would throw up
>> an error message stating that it was still busy.
>>
>> The only way I could eject the media was to completely close the
>> LinuxCNC application so it would release the /media/usb/resource so it
>> could be ejected.
>>
>> I am running Debian Wheezy with 2.7.4.
>>
>> Let me know if this is a bug or if there is something else that I should
>> be doing. I know I could copy the file to the local drive and not open
>> it from the USB flash drive.
>>
>> Thanks,
>>
>> Jim
>>
>>
>>
>> --
>> 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
>>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> http://www.avast.com
>
>
> --
> 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
>
 --
 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 

Re: [Emc-users] USB flash drive issue

2016-05-12 Thread sam sokolik
I am seeing the same behavior in 2.7.4 on jessie.  If you open a file 
from a usb drive - Axis seems to hold on to it even though you opened a 
different file (not on the usb drive)

sam

On 5/12/2016 1:19 PM, Dave Cole wrote:
> What version of LinuxCNC are you using ?
>
> Dave
>
> On 5/12/2016 1:51 PM, Jim Craig wrote:
>> 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.
>>
>> Thanks,
>>
>> Jim
>>
>> On 5/12/2016 10:25 AM, Jim Craig wrote:
>>> Peter,
>>>
>>> I could give that a shot. I was not using a terminal to eject the media
>>> I was simply right clicking on the 8GB filesys icon on the desktop and
>>> clicking the eject media option. There is no unmount option in the right
>>> click context menu.
>>>
>>> I was under the assumption that the eject medial context menu option did
>>> the unmount command for that mounted drive.
>>>
>>> I will give it a try in a terminal to see.
>>>
>>> Thanks,
>>>
>>> Jim
>>>
>>> On 5/12/2016 10:13 AM, Peter Blodow wrote:
 How about unmounting the stick first before ejecting?
 Peter

 Am 12.05.2016 16:50, schrieb Jim Craig:
> All,
>
> I found an issue that I think is a bug but would like feedback before I
> post it on the GitHub issue list.
>
> I was using a USB flash drive to transfer files from my CAD/CAM pc to
> the LinuxCNC box. To do this I would plug the flash drive into the Linux
> box and would mount the volume. The files are then available at 
> /media/usb/
>
> If I accessed a file from LinuxCNC in the Axis GUI at the location of
> /media/usb/ the file would open fine and would run perfectly.
>
> The issue is when I wanted to eject the volume so I could take it back
> to the CAD/CAM box. To do this I would open a file that is on the local
> hard drive in LinuxCNC so that it should release the /media/usb/
> resource. I would then attempt to eject the volume and it would throw up
> an error message stating that it was still busy.
>
> The only way I could eject the media was to completely close the
> LinuxCNC application so it would release the /media/usb/resource so it
> could be ejected.
>
> I am running Debian Wheezy with 2.7.4.
>
> Let me know if this is a bug or if there is something else that I should
> be doing. I know I could copy the file to the local drive and not open
> it from the USB flash drive.
>
> Thanks,
>
> Jim
>
>
>
> --
> 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
>
 ---
 Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
 http://www.avast.com


 --
 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

>>> --
>>> 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
>>> 

Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Jim Craig
2.7.4

On 5/12/2016 1:19 PM, Dave Cole wrote:
> What version of LinuxCNC are you using ?
>
> Dave
>
> On 5/12/2016 1:51 PM, Jim Craig wrote:
>> 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.
>>
>> Thanks,
>>
>> Jim
>>
>> On 5/12/2016 10:25 AM, Jim Craig wrote:
>>> Peter,
>>>
>>> I could give that a shot. I was not using a terminal to eject the media
>>> I was simply right clicking on the 8GB filesys icon on the desktop and
>>> clicking the eject media option. There is no unmount option in the right
>>> click context menu.
>>>
>>> I was under the assumption that the eject medial context menu option did
>>> the unmount command for that mounted drive.
>>>
>>> I will give it a try in a terminal to see.
>>>
>>> Thanks,
>>>
>>> Jim
>>>
>>> On 5/12/2016 10:13 AM, Peter Blodow wrote:
 How about unmounting the stick first before ejecting?
 Peter

 Am 12.05.2016 16:50, schrieb Jim Craig:
> All,
>
> I found an issue that I think is a bug but would like feedback before I
> post it on the GitHub issue list.
>
> I was using a USB flash drive to transfer files from my CAD/CAM pc to
> the LinuxCNC box. To do this I would plug the flash drive into the Linux
> box and would mount the volume. The files are then available at 
> /media/usb/
>
> If I accessed a file from LinuxCNC in the Axis GUI at the location of
> /media/usb/ the file would open fine and would run perfectly.
>
> The issue is when I wanted to eject the volume so I could take it back
> to the CAD/CAM box. To do this I would open a file that is on the local
> hard drive in LinuxCNC so that it should release the /media/usb/
> resource. I would then attempt to eject the volume and it would throw up
> an error message stating that it was still busy.
>
> The only way I could eject the media was to completely close the
> LinuxCNC application so it would release the /media/usb/resource so it
> could be ejected.
>
> I am running Debian Wheezy with 2.7.4.
>
> Let me know if this is a bug or if there is something else that I should
> be doing. I know I could copy the file to the local drive and not open
> it from the USB flash drive.
>
> Thanks,
>
> Jim
>
>
>
> --
> 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
>
 ---
 Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
 http://www.avast.com


 --
 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

>>> --
>>> 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
>>>
>> 

Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Dave Cole
What version of LinuxCNC are you using ?

Dave

On 5/12/2016 1:51 PM, Jim Craig wrote:
> 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.
>
> Thanks,
>
> Jim
>
> On 5/12/2016 10:25 AM, Jim Craig wrote:
>> Peter,
>>
>> I could give that a shot. I was not using a terminal to eject the media
>> I was simply right clicking on the 8GB filesys icon on the desktop and
>> clicking the eject media option. There is no unmount option in the right
>> click context menu.
>>
>> I was under the assumption that the eject medial context menu option did
>> the unmount command for that mounted drive.
>>
>> I will give it a try in a terminal to see.
>>
>> Thanks,
>>
>> Jim
>>
>> On 5/12/2016 10:13 AM, Peter Blodow wrote:
>>> How about unmounting the stick first before ejecting?
>>> Peter
>>>
>>> Am 12.05.2016 16:50, schrieb Jim Craig:
 All,

 I found an issue that I think is a bug but would like feedback before I
 post it on the GitHub issue list.

 I was using a USB flash drive to transfer files from my CAD/CAM pc to
 the LinuxCNC box. To do this I would plug the flash drive into the Linux
 box and would mount the volume. The files are then available at /media/usb/

 If I accessed a file from LinuxCNC in the Axis GUI at the location of
 /media/usb/ the file would open fine and would run perfectly.

 The issue is when I wanted to eject the volume so I could take it back
 to the CAD/CAM box. To do this I would open a file that is on the local
 hard drive in LinuxCNC so that it should release the /media/usb/
 resource. I would then attempt to eject the volume and it would throw up
 an error message stating that it was still busy.

 The only way I could eject the media was to completely close the
 LinuxCNC application so it would release the /media/usb/resource so it
 could be ejected.

 I am running Debian Wheezy with 2.7.4.

 Let me know if this is a bug or if there is something else that I should
 be doing. I know I could copy the file to the local drive and not open
 it from the USB flash drive.

 Thanks,

 Jim



 --
 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

>>> ---
>>> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
>>> http://www.avast.com
>>>
>>>
>>> --
>>> 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
>>>
>> --
>> 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
>>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the 

Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Jim Craig
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.

Thanks,

Jim

On 5/12/2016 10:25 AM, Jim Craig wrote:
> Peter,
>
> I could give that a shot. I was not using a terminal to eject the media
> I was simply right clicking on the 8GB filesys icon on the desktop and
> clicking the eject media option. There is no unmount option in the right
> click context menu.
>
> I was under the assumption that the eject medial context menu option did
> the unmount command for that mounted drive.
>
> I will give it a try in a terminal to see.
>
> Thanks,
>
> Jim
>
> On 5/12/2016 10:13 AM, Peter Blodow wrote:
>> How about unmounting the stick first before ejecting?
>> Peter
>>
>> Am 12.05.2016 16:50, schrieb Jim Craig:
>>> All,
>>>
>>> I found an issue that I think is a bug but would like feedback before I
>>> post it on the GitHub issue list.
>>>
>>> I was using a USB flash drive to transfer files from my CAD/CAM pc to
>>> the LinuxCNC box. To do this I would plug the flash drive into the Linux
>>> box and would mount the volume. The files are then available at /media/usb/
>>>
>>> If I accessed a file from LinuxCNC in the Axis GUI at the location of
>>> /media/usb/ the file would open fine and would run perfectly.
>>>
>>> The issue is when I wanted to eject the volume so I could take it back
>>> to the CAD/CAM box. To do this I would open a file that is on the local
>>> hard drive in LinuxCNC so that it should release the /media/usb/
>>> resource. I would then attempt to eject the volume and it would throw up
>>> an error message stating that it was still busy.
>>>
>>> The only way I could eject the media was to completely close the
>>> LinuxCNC application so it would release the /media/usb/resource so it
>>> could be ejected.
>>>
>>> I am running Debian Wheezy with 2.7.4.
>>>
>>> Let me know if this is a bug or if there is something else that I should
>>> be doing. I know I could copy the file to the local drive and not open
>>> it from the USB flash drive.
>>>
>>> Thanks,
>>>
>>> Jim
>>>
>>>
>>>
>>> --
>>> 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
>>>
>> ---
>> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
>> http://www.avast.com
>>
>>
>> --
>> 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
>>
>
> --
> 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
>


--
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

Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Jim Craig
Danny,

In Debian Wheezy (and I believe most other linux distributions) you have 
to mount the USB once you connect it to the computer. It does not 
automatically mount. When you bring up the file manager. It is mounting 
the drive.

That is what I think is happening anyway.

Jim

On 5/12/2016 11:42 AM, dan...@austin.rr.com wrote:
> I have trouble with the USB drive too, but different.
>
> If I plug into the drive and try to load, LinuxCNC doesn't see any files.  If 
> you browse File Manager to the drive even once, then there's no problem, all 
> the flash drive data is available.
>
> This is kind of annoying, the design stuff is on another computer and we 
> shuttle frequently.  So you've got to bring up a File Manager each time 
> before LinuxCNC can see the drive.  Any idea why?
>
> Danny
>
>
>  Jim Craig  wrote:
>> All,
>>
>> I found an issue that I think is a bug but would like feedback before I
>> post it on the GitHub issue list.
>>
>> I was using a USB flash drive to transfer files from my CAD/CAM pc to
>> the LinuxCNC box. To do this I would plug the flash drive into the Linux
>> box and would mount the volume. The files are then available at /media/usb/
>>
>> If I accessed a file from LinuxCNC in the Axis GUI at the location of
>> /media/usb/ the file would open fine and would run perfectly.
>>
>> The issue is when I wanted to eject the volume so I could take it back
>> to the CAD/CAM box. To do this I would open a file that is on the local
>> hard drive in LinuxCNC so that it should release the /media/usb/
>> resource. I would then attempt to eject the volume and it would throw up
>> an error message stating that it was still busy.
>>
>> The only way I could eject the media was to completely close the
>> LinuxCNC application so it would release the /media/usb/resource so it
>> could be ejected.
>>
>> I am running Debian Wheezy with 2.7.4.
>>
>> Let me know if this is a bug or if there is something else that I should
>> be doing. I know I could copy the file to the local drive and not open
>> it from the USB flash drive.
>>
>> Thanks,
>>
>> Jim
>>
>>
>>
>> --
>> 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
>
> --
> 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
>


--
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


Re: [Emc-users] USB flash drive issue

2016-05-12 Thread dannym
I have trouble with the USB drive too, but different.

If I plug into the drive and try to load, LinuxCNC doesn't see any files.  If 
you browse File Manager to the drive even once, then there's no problem, all 
the flash drive data is available.

This is kind of annoying, the design stuff is on another computer and we 
shuttle frequently.  So you've got to bring up a File Manager each time before 
LinuxCNC can see the drive.  Any idea why?

Danny


 Jim Craig  wrote: 
> All,
> 
> I found an issue that I think is a bug but would like feedback before I 
> post it on the GitHub issue list.
> 
> I was using a USB flash drive to transfer files from my CAD/CAM pc to 
> the LinuxCNC box. To do this I would plug the flash drive into the Linux 
> box and would mount the volume. The files are then available at /media/usb/
> 
> If I accessed a file from LinuxCNC in the Axis GUI at the location of 
> /media/usb/ the file would open fine and would run perfectly.
> 
> The issue is when I wanted to eject the volume so I could take it back 
> to the CAD/CAM box. To do this I would open a file that is on the local 
> hard drive in LinuxCNC so that it should release the /media/usb/ 
> resource. I would then attempt to eject the volume and it would throw up 
> an error message stating that it was still busy.
> 
> The only way I could eject the media was to completely close the 
> LinuxCNC application so it would release the /media/usb/resource so it 
> could be ejected.
> 
> I am running Debian Wheezy with 2.7.4.
> 
> Let me know if this is a bug or if there is something else that I should 
> be doing. I know I could copy the file to the local drive and not open 
> it from the USB flash drive.
> 
> Thanks,
> 
> Jim
> 
> 
> 
> --
> 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


--
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


Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Jim Craig
Peter,

I could give that a shot. I was not using a terminal to eject the media 
I was simply right clicking on the 8GB filesys icon on the desktop and 
clicking the eject media option. There is no unmount option in the right 
click context menu.

I was under the assumption that the eject medial context menu option did 
the unmount command for that mounted drive.

I will give it a try in a terminal to see.

Thanks,

Jim

On 5/12/2016 10:13 AM, Peter Blodow wrote:
> How about unmounting the stick first before ejecting?
> Peter
>
> Am 12.05.2016 16:50, schrieb Jim Craig:
>> All,
>>
>> I found an issue that I think is a bug but would like feedback before I
>> post it on the GitHub issue list.
>>
>> I was using a USB flash drive to transfer files from my CAD/CAM pc to
>> the LinuxCNC box. To do this I would plug the flash drive into the Linux
>> box and would mount the volume. The files are then available at /media/usb/
>>
>> If I accessed a file from LinuxCNC in the Axis GUI at the location of
>> /media/usb/ the file would open fine and would run perfectly.
>>
>> The issue is when I wanted to eject the volume so I could take it back
>> to the CAD/CAM box. To do this I would open a file that is on the local
>> hard drive in LinuxCNC so that it should release the /media/usb/
>> resource. I would then attempt to eject the volume and it would throw up
>> an error message stating that it was still busy.
>>
>> The only way I could eject the media was to completely close the
>> LinuxCNC application so it would release the /media/usb/resource so it
>> could be ejected.
>>
>> I am running Debian Wheezy with 2.7.4.
>>
>> Let me know if this is a bug or if there is something else that I should
>> be doing. I know I could copy the file to the local drive and not open
>> it from the USB flash drive.
>>
>> Thanks,
>>
>> Jim
>>
>>
>>
>> --
>> 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
>>
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> http://www.avast.com
>
>
> --
> 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
>


--
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


Re: [Emc-users] USB flash drive issue

2016-05-12 Thread Peter Blodow
How about unmounting the stick first before ejecting?
Peter

Am 12.05.2016 16:50, schrieb Jim Craig:
> All,
>
> I found an issue that I think is a bug but would like feedback before I
> post it on the GitHub issue list.
>
> I was using a USB flash drive to transfer files from my CAD/CAM pc to
> the LinuxCNC box. To do this I would plug the flash drive into the Linux
> box and would mount the volume. The files are then available at /media/usb/
>
> If I accessed a file from LinuxCNC in the Axis GUI at the location of
> /media/usb/ the file would open fine and would run perfectly.
>
> The issue is when I wanted to eject the volume so I could take it back
> to the CAD/CAM box. To do this I would open a file that is on the local
> hard drive in LinuxCNC so that it should release the /media/usb/
> resource. I would then attempt to eject the volume and it would throw up
> an error message stating that it was still busy.
>
> The only way I could eject the media was to completely close the
> LinuxCNC application so it would release the /media/usb/resource so it
> could be ejected.
>
> I am running Debian Wheezy with 2.7.4.
>
> Let me know if this is a bug or if there is something else that I should
> be doing. I know I could copy the file to the local drive and not open
> it from the USB flash drive.
>
> Thanks,
>
> Jim
>
>
>
> --
> 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
>


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
http://www.avast.com


--
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


[Emc-users] USB flash drive issue

2016-05-12 Thread Jim Craig
All,

I found an issue that I think is a bug but would like feedback before I 
post it on the GitHub issue list.

I was using a USB flash drive to transfer files from my CAD/CAM pc to 
the LinuxCNC box. To do this I would plug the flash drive into the Linux 
box and would mount the volume. The files are then available at /media/usb/

If I accessed a file from LinuxCNC in the Axis GUI at the location of 
/media/usb/ the file would open fine and would run perfectly.

The issue is when I wanted to eject the volume so I could take it back 
to the CAD/CAM box. To do this I would open a file that is on the local 
hard drive in LinuxCNC so that it should release the /media/usb/ 
resource. I would then attempt to eject the volume and it would throw up 
an error message stating that it was still busy.

The only way I could eject the media was to completely close the 
LinuxCNC application so it would release the /media/usb/resource so it 
could be ejected.

I am running Debian Wheezy with 2.7.4.

Let me know if this is a bug or if there is something else that I should 
be doing. I know I could copy the file to the local drive and not open 
it from the USB flash drive.

Thanks,

Jim



--
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