diff options
author | phk <phk@FreeBSD.org> | 2007-12-16 18:02:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2007-12-16 18:02:37 +0000 |
commit | f9bd6ffc2d69fbf7654c64c285fb1ad394e53d25 (patch) | |
tree | 266edbea169e3c5da7e39384e9df2a767e149eae /lib/libufs/libufs.h | |
parent | 6aefba3fce090a5d9bd5fe453607870b1a7e3770 (diff) | |
download | FreeBSD-src-f9bd6ffc2d69fbf7654c64c285fb1ad394e53d25.zip FreeBSD-src-f9bd6ffc2d69fbf7654c64c285fb1ad394e53d25.tar.gz |
Add a berase() function which uses ioctl(DIOCGDELETE) to erase a slab
of the disk.
Diffstat (limited to 'lib/libufs/libufs.h')
-rw-r--r-- | lib/libufs/libufs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libufs/libufs.h b/lib/libufs/libufs.h index 92ab348..42a64f7 100644 --- a/lib/libufs/libufs.h +++ b/lib/libufs/libufs.h @@ -104,6 +104,7 @@ __BEGIN_DECLS */ ssize_t bread(struct uufsd *, ufs2_daddr_t, void *, size_t); ssize_t bwrite(struct uufsd *, ufs2_daddr_t, const void *, size_t); +int berase(struct uufsd *, ufs2_daddr_t, ufs2_daddr_t); /* * cgroup.c |