Bug 21853 - tcsh mount autocomplete defaults fails
Bug#: 21853 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: nick@capital-internet.net Reported By: chidalgo@nic.cl
Component: Applications
URL: 
Summary: tcsh mount autocomplete defaults fails
Keywords:  
Status Whiteboard: 
Opened: 2003-05-28 16:52 0000
Description:   Opened: 2003-05-28 16:52 0000
in the TCSH shell, there is a file (/etc/profile.d/tcsh-complete) which
contains 
aliases definitios for many commands. One of them is the "mount" command.
The problem is when tcsh tries to complete mount points, because the default 
"mount" aliases point to a SV4-like filesystems => /etc/vfstab is used to find 
the mount points, but Linux lacks of /etc/vfstab (/etc/fstab is the correct).

Reproducible: Always
Steps to Reproduce:
1.run /bin/tcsh
2.try to run mount and then press [tab] to autocomplete mount points
3.An error is reported on the console, saying that "/etc/vfstab" doesn't exist

Actual Results:  
mount /[tab]grep: /etc/vfstab: No such file or directory

Expected Results:  
use /etc/fstab (not /etc/vfstab) and autocomplete

the default in /etc/profile.d/tcsh-complete is to use a SV4-like filesystems. 
The default must be change to an BSD-like filesystems (uncomment the suitable 
aliases available in the same conf file), in order to use /etc/fstab

------- Comment #1 From Nick Hadaway 2003-10-17 22:40:34 0000 -------
tcsh-complete has been updated in portage.  Thanks for the heads-up.