Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21853 - tcsh mount autocomplete defaults fails
Summary: tcsh mount autocomplete defaults fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-28 16:52 UTC by Claudio Hidalgo
Modified: 2003-10-17 22:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudio Hidalgo 2003-05-28 16:52:01 UTC
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 Nick Hadaway 2003-10-17 22:40:34 UTC
tcsh-complete has been updated in portage.  Thanks for the heads-up.