FreeBSD Bugzilla – Attachment 17130 Details for
Bug 31201
[libdisk] [patch] add free_space(chunk) to libdisk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 667 bytes, created by
AnarCat
on 2001-10-10 17:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
AnarCat
Created:
2001-10-10 17:40:00 UTC
Size:
667 bytes
patch
obsolete
>diff -c /usr/src/lib/libdisk/libdisk.h.orig /usr/src/lib/libdisk/libdisk.h >*** /usr/src/lib/libdisk/libdisk.h.orig Wed Oct 10 12:30:42 2001 >--- /usr/src/lib/libdisk/libdisk.h Wed Oct 10 12:30:43 2001 >*************** >*** 156,161 **** >--- 156,173 ---- > /* Create a chunk with the specified paramters > */ > >+ long >+ free_space(struct chunk *c); >+ /* >+ * return the free space available in this chunk >+ * >+ * free = total - sum "not unused" partitions >+ * >+ * returns the space or -1 if an error occured >+ * >+ * EFAULT: bad chunk pointer given >+ */ >+ > void > All_FreeBSD(struct disk *d, int force_all); > /* Make one FreeBSD chunk covering the entire disk;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31201
:
17129
| 17130