It is currently Thu Jun 29, 2017 5:45 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
 Post subject: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 14, 2016 10:20 am 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 137
Location: Berkshire, UK
(1) On both 32- and 64-bit, using rox-icewm, inserting a USB thumb drive generates an error message:

Code:
File doesn't exist or I can't access it: /media/USB


The media still mounts, and can be accessed from SpaceFM.

I don't believe this error happened in Beta releases. It doesn't happen when using space-icewm.

(2) On both 32- and 64-bit the external device widget on the panel gives unreliable results, often indicating the drive is being written to when that isn't the case. It is necessary to unmount the drive first, which limits the widgets usefulness.

I also saw this in Beta releases.

Chris


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 14, 2016 12:39 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5839
Location: Greece
What filetype is the USB formatted to?

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 14, 2016 12:45 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2149
Chris

Does your usb drive have a label with a space in it? Check /media in rox to see if it's mounted (I bet it is)

The various commands to open the file managers in automount-antix need changed so that the %d is quoted so the file names expand when they have spaces. I'm traveling at the moment and do not have net access on my pc. It's the OPTION_USB and OPTION_OPTICAL lines with exec commands that need the xhange.

I think the usb unmounter tool has the same issue.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Last edited by dolphin_oracle on Tue Jun 14, 2016 1:01 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 14, 2016 12:52 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 137
Location: Berkshire, UK
anticapitalista wrote:
What filetype is the USB formatted to?


FAT32


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 14, 2016 12:56 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 137
Location: Berkshire, UK
dolphin_oracle wrote:
Chris

Does your usb drive have a label with a space in it? Check /media in rox to see if it's mounted (I bet it is)


It does have a space in it. I altered a spare one to have no space, and mounting/unmounting then works as expected on ROX.

It was already mounting. (I did say so in my original post.)

Chris


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 14, 2016 1:11 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5839
Location: Greece
d_o you mean these 2 lines to look like this in /usr/local/bin/automount-antix

OPTION_USB='--exec-on-drive "desktop-defaults-run -fm "%d""'

OPTION_OPTICAL='--exec-on-disc "desktop-defaults-run -fm "%d""'

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 14, 2016 1:16 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2149
Those are the right lines. I've been messing with it this morning and I can't quite get it to work but I've always had problems with passing quotes.

I'be got to start driving again so I'll be offline. I might get home.tonight early enough to mess with it if you don't get it first.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Wed Jun 15, 2016 2:56 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2149
fix sent to anti for mount points with spaces. thanks chris!

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Wed Jun 15, 2016 8:30 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5839
Location: Greece
Should hit the repo soon

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Wed Jun 15, 2016 10:02 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2149
possible fix for the unplugdrive toolbar thingy are winging their way to anti for testing.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Thu Jun 16, 2016 8:40 am 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 137
Location: Berkshire, UK
anticapitalista wrote:
Should hit the repo soon


This morning's updates fixed the USB 'spaces in filename when using ROX' problem.

Chris


Top
 Profile  
 
 Post subject: Re: AntiX-16-RC1 bug report - USB insertion
PostPosted: Tue Jun 21, 2016 2:36 pm 
Offline
User avatar

Joined: Sat Apr 26, 2008 6:02 am
Posts: 1100
Location: Clinton Township, Michigan
BTW, I looked up a few references that may be helpful for those wanting to learn more about quoted strings, and also about considerably different default behaviors of various "sh"-based shells over the past 30 years:

1. Quoting Variables - The Linux Documentation Project
Quoting Variables. When referencing a ... This prevents reinterpretation of all special characters within the quoted string ... Within a script, though, ...
http://www.tldp.org/LDP/abs/html/quotingvar.html

2. String Operations in Shell
String Operations in Shell - Softpanorama
String Operations in Shell. News. ... juxtaposition and using double quoted strings. ... and you may be surprised at how many Bourne and C shell scripts there are ...
http://softpanorama.org/Scripting/Shell ... hell.shtml

3. UNIX SHELL Quote Tutorial
http://www.grymoire.com/Unix/Quote.html


This third tutorial may be the easiest to understand, but it should be applicable, even though it hails from "UNIX", rather than "Linux" roots. :-)

_________________
Brian Masinick
Favorite distros: antiX, MX, Debian Sid


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred