All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
67 views
+300

zsh completion rules for custom script

I have zsh completion file for custom script foo. It should complete regular files in $HOME/foo : #compdef foo _arguments -S : \ '-i' \ '1:thing:_path_files -W $HOME/foo -g "*(.)"' ...
user avatar
0 votes
1 answer
20 views
+50

/run/udev/tags/ on a Kubuntu VM: Cannot remove 'snap_firefox_firefox' after uninstalling Firefox. What are these files?

I am trying to completely uninstall Firefox in a VM, which I did via: snap disable firefox snap remove --purge firefox But an FSearch query turned up the following: There is next to nothing on the ...
user avatar
  • 53
0 votes
1 answer
42 views
+50

Efficiently disable fs-verity on large files

If the FS_IOC_ENABLE_VERITY ioctl was used to enable fs-verity on a file (e.g., with the fsverity enable command), and then I want to write to that file again, how can I disable fs-verity on it? Right ...
user avatar
0 votes
2 answers
85 views
+50

Using statvfs to get total and free filesystem size

I want to use the return values from statvfs to get the total and free filesystem size. unsigned long f_bsize; /* Filesystem block size */ unsigned long f_frsize; /* Fragment size */ fsblkcnt_t ...
user avatar
  • 1,964