This website requires JavaScript.
Explore
Help
Register
Sign In
Archive-Team
/
zfs
Watch
2
Star
0
Fork
You've already forked zfs
0
Code
Issues
Pull Requests
Packages
Projects
Releases
103
Wiki
Activity
b109925820
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-02 23:34:58 +00: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 16:44:10 +00:00
/zpool