This website requires JavaScript.
Explore
Help
Sign In
c
/
mirror_zfs
Watch
1
Star
0
Fork
0
You've already forked mirror_zfs
mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced
2024-12-27 03:19:35 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f2f4ada240
mirror_zfs
/
contrib
/
bash_completion.d
/
.gitignore
3 lines
12 B
Plaintext
Raw
Normal View
History
Unescape
Escape
bash_completion.d: always call zfs/zpool binaries directly /dev/zfs is 0:0 666 on most systems, so the [ -w /dev/zfs ] check always succeeds, but if zfs isn't in $PATH (e.g. when completing from "/sbin/zfs list" on a regular account) this can lead to error spew like nabijaczleweli@szarotka:~$ /sbin/zfs list bash: zfs: command not found @ bash: zfs: command not found We only do read-only commands, and quite general ones at that, so there's no need to elevate one way or another. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11828
2021-04-03 02:34:58 +03:00
/zfs
contrib: link zpool to zfs in bash-completion (#16376) Currently user won't have completion of `zpool` command until they trigger completion of `zfs` first. This patch adds a link to `zfs`, thus user can use both to initialize the completion. Fixes: #16320 Signed-off-by: Shengqi Chen <harry-chen@outlook.com> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
2024-08-05 19:44:10 +03:00
/zpool
Reference in New Issue
Copy Permalink