VOP_REALLOCBLKS(9)
π 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
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1996 Doug Rabson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms