Hey , everyone,
The title sucks as I am not completely sure I understand everything yet. Sorry about that.
Is there a way to change the output of
df -h inside a container to be
zfspoolname/SOMETHINGELSE/containername instead of the default
My ZFS pool is called “TARDIS”, so the default output for
df -h inside the container called gitgitdev is:
root@gitgitdev:~# df -h Filesystem Size Used Avail Use% Mounted on tardis/containers/gitgitdev 103G 341M 103G 1% /
Would it be possible to change it to something like this instead?
root@gitgitdev:~# df -h Filesystem Size Used Avail Use% Mounted on tardis/space-loop/gitgitdev 103G 341M 103G 1% /
Notice the “space-loop” name after “tardis”. This is purely cosmetic and serves no practical purpose, but I would still like to know if it is possible
Thanks in advance!