17 Commits

Author SHA1 Message Date
Neville Gao
4632210154 Fix mount completion error "bash: [: too many arguments" (Alioth #312381). 2010-03-04 22:09:35 +02:00
Crestez Dan Leonard
f294219990 Merge branch 'mount-fix'
Fix mount handling of escapes (Alioth: #311410, Launchpad: #219971)

Conflicts:
	CHANGES
2010-02-15 15:36:58 +02:00
Crestez Dan Leonard
91f7e8274e (mount) Handle escapes in LABEL= lines from fstab. 2010-02-15 15:33:10 +02:00
Crestez Dan Leonard
6d44b8033a (umount) Parse /proc/mounts instead of mount output on Linux
This makes it possible to easily unmount paths with spaces. Those are common
when automatically mounting usb devices.
2010-02-15 14:20:37 +02:00
Crestez Dan Leonard
4375c4b94e (mount) Split __linux_fstab_unescape function. Deal with \ at the end of strings. 2010-02-09 15:28:28 +02:00
Crestez Dan Leonard
2f61acd068 (mount) Make mount work properly with ' in fstab 2010-02-09 15:28:28 +02:00
Crestez Dan Leonard
c0b77a03f5 (mount) Make it clear that $' strings are not supported 2010-02-09 15:28:28 +02:00
Crestez Dan Leonard
1c4b461882 (mount) Fix leaking fs_* vars to the environment. Explicitly save/restore IFS to be posix conformant. 2010-02-09 15:18:19 +02:00
Crestez Dan Leonard
b493869b8d _reply_compgen_array: Fix leaking to environment 2010-02-04 19:18:14 +02:00
Crestez Dan Leonard
1096dadc26 Separate _linux_fstab function 2010-02-04 16:47:44 +02:00
Crestez Dan Leonard
99b289474e Initial implementation of _reply_compgen_array 2010-02-04 16:31:51 +02:00
Crestez Dan Leonard
aac11de466 Fix nfs mount completion if the path to showmount contains a space. 2010-02-02 11:17:33 +02:00
Ville Skyttä
6328b108a2 Fix NFS completion if path to showmount contains spaces (Alioth: #312285). 2010-01-26 23:17:48 +02:00
Ville Skyttä
359db46260 Don't bother looking for showmount if not doing NFS completion. 2010-01-24 19:43:16 +02:00
Leonard Crestez
c5951118e9 Fix NFS mounts completion (Alioth: #312285). 2010-01-24 19:27:15 +02:00
Ville Skyttä
258736a47b Look for showmount in $PATH first for easier mockability (Alioth: #312285). 2010-01-24 16:54:14 +02:00
Ville Skyttä
563e4d355d Split mount and umount completion into contrib/mount. 2010-01-02 10:35:18 +02:00