chenall / grub4dos

外部命令和工具源码:https://github.com/chenall/grubutils 下载:
http://grub4dos.chenall.net
GNU General Public License v2.0
646 stars 136 forks source link

command line TAB autocomplete uses lower case in filenames #240

Open steve6375 opened 4 years ago

steve6375 commented 4 years ago

When using TAB for autocomplete, the case of the filename is not correctly displayed after entering start of the filename (NTFS partition).

Note that I typed Por and then [TAB] and it completed as Porteus-kiosk.iso when it should have been Porteus-Kiosk.iso.

image

when entering filenames for linux kernel parameters, it is important to display the correct case. I know the users typed case is ignored, but I did not expect the rest of the filename to also be made all lowercase. Is this fixable?

yaya2007 commented 4 years ago

File names are case sensitive, Related to the file system. case sensitive: ext2fs, ffs, iso9660, jfs, minix, reiserfs, ufs2, vstafs, xfs. The rest of the file systems are not case sensitive.

steve6375 commented 4 years ago

Linux kernels are case sensitive for NTFS filesystems

kernel /boot/vmlinuz from_iso=/Linux/Porteus-Kiosk.iso the ISO filename is case-sensitive.

The problem I had was that I used Tab autocomplete to determine the filename and case of the ISO file, but when I pressed Tab key - it did not show the correct case of the filename - it shows Porteus-kiosk instead of Porteus-Kiosk, so I thought the filename was Porteus-kiosk.iso.

yaya2007 commented 4 years ago

Use Tab to list file names automatically. Case sensitivity is not the most important. After all, there are few people who operate like this.

Most importantly for linix, find the filename. Case sensitivity is necessary at this point. It seems that this is not the problem you reflect.