lfs_segclean - mark a segment clean
Standard C Library (libc, -lc)
#include <sys/types.h>
int
lfs_segclean(fsid_t *fsidp, u_long segment);
lfs_segclean() marks segment number segment in LFS filesystem *fsidp
"clean" or available for writing.
lfs_segclean() returns 0 on success, or -1 on error.
An error return from lfs_segclean() indicates:
[EFAULT] fsidp points outside the process's allocated address
space.
[EINVAL] *fsidp does not specify a valid filesystem.
[EBUSY] segment is marked SU_ACTIVE, meaning that it does not
yet belong to a valid checkpoint.
lfs_bmapv(2), lfs_markv(2), lfs_segwait(2), lfs_cleanerd(8)
The lfs_segclean() function call appeared in 4.4BSD.
BSD May 23, 2000 BSD
[ Back ] |