Bug#923610: mount: umount Bash tab completion does not escape spaces in mount points

2020-05-03 Thread Chris Hofstaedtler
Control: tags -1 + confirmed upstream

Hi Matthew Kraai,

* Matthew Kraai  [200503 19:39]:
> umount's Bash tab completion doesn't escape spaces in mount points, so
> I have to manually escape them.
> 
> For example, if the mount point is
> `/media/kraai/Seagate Backup Plus Drive` and I type `umount /media`
> and then press tab, it is expanded to
> 
> ```
> umount /media/kraai/Seagate Backup Plus Drive
> ```

Agreed, this fails to work then. As this is not a Debian-specific
problem, please raise this with upstream, as they're more likely to
be able to help you.

See
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/README
and https://github.com/karelzak/util-linux/issues

Thanks,
Chris



Bug#923610: mount: umount Bash tab completion does not escape spaces in mount points

2019-03-02 Thread Matthew Kraai
Package: mount
Version: 2.33.1-0.1
Severity: minor

Dear Maintainer,

umount's Bash tab completion doesn't escape spaces in mount points, so
I have to manually escape them.

For example, if the mount point is
`/media/kraai/Seagate Backup Plus Drive` and I type `umount /media`
and then press tab, it is expanded to

```
umount /media/kraai/Seagate Backup Plus Drive
```

I would like it to be expanded to

```
umount /media/kraai/Seagate\ Backup\ Plus\ Drive
```

This is how the tab completion for `cd` escapes the spaces.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mount depends on:
ii  libblkid1  2.33.1-0.1
ii  libc6  2.28-8
ii  libmount1  2.33.1-0.1
ii  libselinux12.8-1+b1
ii  libsmartcols1  2.33.1-0.1
ii  util-linux 2.33.1-0.1

mount recommends no packages.

Versions of packages mount suggests:
pn  nfs-common  

-- no debconf information