[BusyBox 0005244]: Autocomplete (tab) doesn't work with symlinks crossing mountpoints

bugs at busybox.net bugs at busybox.net
Mon Oct 27 12:39:05 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=5244 
====================================================================== 
Reported By:                rx
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   5244
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-04-2008 09:04 PDT
Last Modified:              10-27-2008 05:39 PDT
====================================================================== 
Summary:                    Autocomplete (tab) doesn't work with symlinks
crossing mountpoints
Description: 
Pressing (tab) when attempting to select a file in a certain directory, I
get only the directory and not the files in it.

File System Structure:
/device is a mountpoint of /dev/hda1
this contains a subdirectory for configuration files "cnf"
additionally for easier access, there is a symlink to that directory:
/cnf -> /device/cnf

When I want to edit a file there, I want to type (logged in as root, and
in the root dir):
vi c (tab)
-> Autocomplete to:
vi cnf/
-> Type in cnf.f
vi cnf/cnf.f (return)
(and then edit the file)

What really happens:
vi c (tab)
-> Autocomplete to:
vi cnf(space)
Well, not that behaviour as I expect it. In other directories /etc,...
this works fine.
It seems to be a problem with mount + symlink, The symlink seems not to be
identified as a directory but as a file. But I do not want to edit the
directory, only the files in it.
It is not correlated with vi, also cp and all other programs show that.

Best regards,

RX
====================================================================== 

---------------------------------------------------------------------- 
 vda - 10-04-08 10:29  
---------------------------------------------------------------------- 
It is fixed. I just verified that in current busybox completion works and
it adds slash, not space, after link to directory.

21 March 2008 -- BusyBox 1.10.0 (unstable)
...
* libbb: filename completion matches dangling symlinks too
...

Revision 21814  - (view) (download) (as text) - [select for diffs]
Modified Wed Apr 23 21:42:52 2008 PDT (5 months, 1 week ago) by vda
File length: 44776 byte(s)
Diff to previous 21793 (colored)

lineedit: filename completion on symlinks-to-dirs should add / too 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-04-08 09:04  rx             New Issue                                    
10-04-08 09:04  rx             Status                   new => assigned     
10-04-08 09:04  rx             Assigned To               => BusyBox         
10-04-08 10:29  vda            Note Added: 0012774                          
10-27-08 05:39  vda            Status                   assigned => closed  
======================================================================




More information about the busybox-cvs mailing list