delphij
51274ad8de
Correct a typo (when we talk about offset, it should
...
be offset, not size).
Submitted by: pluknet at gmail com
2010-01-17 08:12:28 +00:00
delphij
16c4a5ec20
Expose stripe offset and stripe size through libgeom and geom(8) userland
...
utilities.
Reviewed by: pjd, mav (earlier version)
2010-01-17 06:20:30 +00:00
ed
eec85dbb58
Add missing `void' keyword.
2009-12-31 01:37:26 +00:00
trasz
678fe0aa03
Add links to libgeom(3) where appropriate.
2009-05-19 12:10:48 +00:00
lulf
7646af6a7d
- Update the libgeom manpage with a description of g_device_path and
...
g_providername utility functions.
Approved by: kib (mentor)
2008-09-08 06:27:00 +00:00
lulf
8c52b542c0
- Add a new ioctl for getting the provider name of a geom provider.
...
- Add a routine for looking up a device and checking if it is a valid geom
provider given a partial or full path to its device node.
Reviewed by: phk
Approved by: pjd (mentor)
2008-09-07 13:54:57 +00:00
des
c2c1c946ae
Add sbuf_new_auto as a shortcut for the very common case of creating a
...
completely dynamic sbuf.
Obtained from: Varnish
MFC after: 2 weeks
2008-08-09 11:14:05 +00:00
lulf
1547b99716
- Simplify the procedure of retrieving XML-data from the kernel.
...
- Fix a number of potential memory leaks in libgeom related to doing realloc
without freeing old pointer if things go wrong.
- Fix a number of places in libgeom where malloc and calloc return values
were not checked.
- Check malloc return value and provide sufficient warning messages when XML
parsing fails.
PR: kern/83464
Submitted by: Dan Lukes <dan - at - obluda.cz>
Approved by: kib (mentor)
2008-07-08 17:34:50 +00:00
thompsa
0dd1763fd6
Fix spelling.
...
PR: docs/124561
Submitted by: Sam Banks
2008-06-13 21:49:21 +00:00
pjd
03149c9265
Use 'dowrite' as an argument name instead of too general 'write'.
2008-05-20 11:45:05 +00:00
des
8b3c515d76
Remove parameter names from prototypes to avoid namespace issues.
2007-05-06 10:00:27 +00:00
pjd
06c3c94d09
Implement and document some utility functions that can be used to communicate
...
with GEOM providers.
OK'ed by: phk
2007-05-06 01:17:46 +00:00
wkoszek
0e767958a5
Second call of sysctl() is used to gather a proper size of a memory chunk
...
needed to hold the GEOM tree. At this point, pointer 'p' has an improper
value (as it was used previously), and we're getting EFAULT. Fix this
functionality by passing NULL instead of 'p'.
This fixes mdconfig(8) -l output with high number of md(4) devices.
Found by: kris
Reviewed by: phk
2007-05-01 10:47:09 +00:00
ru
3cf38aeba7
Fix prototype.
2005-11-24 10:43:35 +00:00
phk
bf57cca39d
Check for NULL pointer return.
...
Spotted by: marcus
2005-05-24 10:10:38 +00:00
ru
615a6a246a
Markup, grammar, punctuation.
2004-07-01 18:20:57 +00:00
jhb
01eed200f9
Make libgeom usable by C++ programs:
...
- Add DECL wrappers to libgeom.h.
- Rename structure members in libgeom.h to use a lg_ prefix for member
names. This is required because a few structures had members named
'class' which made g++ very unhappy.
- Catch gstat(8) and gconcat(8) up to these API changes.
Reviewed by: phk
2004-03-09 21:14:18 +00:00
phk
ceb3b7463e
String the consumers into the list of the provider they are attached to.
...
Noticed by: jhb
2004-03-08 16:37:08 +00:00
phk
ea1893785c
Add manpages for the gctl API.
...
Submitted by: le
Tweaks by: phk
2004-03-07 16:07:57 +00:00
obrien
372364ee0f
style.Makefile(5)
2003-08-18 15:25:39 +00:00
gordon
5901302929
Stage 3 of dynamic root support. Make all the libraries needed to run
...
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
2003-08-17 08:28:46 +00:00
markm
2bd4af6413
Remove GCC-specific debugging option.
...
OK'ed by: phk
2003-07-24 19:53:02 +00:00
charnier
c27d1525f8
The .Fn function
2003-06-18 19:43:17 +00:00
phk
8f1078dc32
Add the part of the last commit which cvs appearantly didn't like
...
the first time.
2003-06-01 15:05:22 +00:00
ru
7ffefb5839
Moved libgeom.so dependencies to where they belong.
...
Reviewed by: phk
Approved by: re (scottl)
2003-05-17 19:05:17 +00:00
phk
aba647cbf4
Collapse the meta arguments into normal arguments, trying to distinguish
...
just makes our own life harder.
2003-04-22 19:31:00 +00:00
phk
2d56ed957a
Run a revision on the OAM api.
...
Use prefix gctl_ systematically.
Add flag with access perms for each argument.
Add ro/rw versions of argument building functions.
General cleanup.
2003-03-27 14:35:00 +00:00
phk
daa779779c
Add marshalling functions for OAM api.
2003-03-23 10:15:02 +00:00
phk
88560bfa93
Use devstat instead of GEOM private statistics structure.
2003-03-18 09:53:46 +00:00
phk
884a12a930
Constify arg to geom_lookupid().
...
Improve a diagnostic printf.
2003-03-17 08:22:48 +00:00
ru
0dea541567
mdoc(7) police: Scheduled sweep.
2003-02-24 22:53:26 +00:00
phantom
2061f43aeb
Add appropriate MLINKS for functions documented in libgeom.3
2003-02-13 18:27:05 +00:00
phantom
c542a27983
Fix some mdoc issues: add .Nd to NAME section, use valid .Lb argument,
...
use .Fn there appropriate
2003-02-13 18:25:48 +00:00
phk
a616f22441
Leak more stuff into libgeom.
2003-02-10 00:11:43 +00:00
phk
af6bbda282
Lower WARNS to 3 until I track down a way to explain that I know what
...
I'm doing to sparc64's gcc
2003-02-08 16:08:17 +00:00
phk
0af858f9ca
Include <sys/time.h>, it's not the users problem that we use bintime
...
internally.
2003-02-08 15:49:26 +00:00
phk
8ede9abe7b
Add libgeom to the system.
...
Initially this only contains the functions for accessing the I/O
statistics data.
2003-02-08 15:15:56 +00:00