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