VOP_REALLOCBLKS(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

VOP_REALLOCBLKS β€” rearrange blocks in a file to be contiguous

okay so bestie, this page is from the Kernel Developer's Manual (section 9, iykyk), and it's literally about VOP_REALLOCBLKS, which rearranges blocks in a file to be contiguous. ✨

🌸 SYNOPSIS 🌸

first you gotta pull in the headers, no cap:

#include <sys/param.h>
#include <sys/vnode.h>

int
VOP_REALLOCBLKS(struct vnode *vp, struct cluster_save *buflist);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the arguments are giving main character energy:

  • vp β€” the file to manipulate.
  • buflist β€” a list of buffers to rearrange.

and then the plot twist: this seems to be part of a work in progress. πŸ™ˆ that's literally what it says, bestie β€” don't come for me.

πŸ’– RETURN VALUES πŸ’–

0 is returned on success, otherwise an error is returned. periodt. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

🫢 AUTHORS 🫢

this manual page was written by Doug Rabson. iconic. πŸ‘‘


πŸ“ cute lil sign-off: source/version is Debian, date is July 24, 1996, and the page is VOP_REALLOCBLKS(9) β€” bye bestie, go rearrange some blocks πŸ’œ
πŸ“¦ where this page comes from