Archive for the ‘Man Pages’ Category

Man page for resize_reiserfs

Sunday, June 3rd, 2007

RESIZE_REISERFS Section: Maintenance Commands (8)Updated: January 2004Index Return to Main Contents   NAME resize_reiserfs – resizer tool for the ReiserFS filesystem   SYNOPSIS resize_reiserfs [ –s [+|–]size[K|M|G] ] [ –j dev ] [ –fqv ] device   DESCRIPTION The resize_reiserfs tool resizes an unmounted reiserfs file system. It enlarges or shrinks an reiserfs file system located on a device so that it will have size bytes or size=old_size +(–) size bytes if the + or – prefix is used. If ...

Man page for debugreiserfs

Sunday, June 3rd, 2007

DEBUGREISERFS Section: Maintenance Commands (8)Updated: February 2004Index Return to Main Contents   NAME debugreiserfs – The debugging tool for the ReiserFS filesystem.   SYNOPSIS debugreiserfs [ –dDJmoqpuSV ] [ –j device ] [ –B file ] [ –1 N ] device   DESCRIPTION debugreiserfs sometimes helps to solve problems with reiserfs filesystems. When run without options it prints the super block of the ReiserFS filesystem found on the device. device is the special file ...

Man page for reiserfsck

Sunday, June 3rd, 2007

REISERFSCK Section: Maintenance Commands (8)Updated: February 2004Index Return to Main Contents   NAME reiserfsck – The checking tool for the ReiserFS filesystem.   SYNOPSIS reiserfsck [ –afprVy ] [ ––rebuild–sb | ––check | ––fix–fixable | ––rebuild–tree | ––clean–attributes ] [ –j | ––journal device ] [ –z | ––adjust–size ] [ –n | ––nolog ] [ –B | ––badblocks file ] [ –l | ––logfile ...

Man page for lwres_freeaddrinfo

Sunday, June 3rd, 2007

LWRES_GETADDRINFO Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_getaddrinfo, lwres_freeaddrinfo – socket address structure to host and service name   SYNOPSIS #include <lwres/netdb.h> int lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res); void lwres_freeaddrinfo(struct addrinfo *ai); If the operating system does not provide a struct addrinfo, the following structure is used: struct addrinfo { int ...

Man page for lwres_gai_strerror

Sunday, June 3rd, 2007

LWRES_GAI_STRERROR Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_gai_strerror – print suitable error string   SYNOPSIS #include <lwres/netdb.h> char * gai_strerror(int ecode);   DESCRIPTION lwres_gai_strerror() returns an error message corresponding to an error code returned by getaddrinfo(). The following error codes and their meaning are defined in include/lwres/netdb.h. EAI_ADDRFAMILY address family for hostname not supported EAI_AGAIN temporary failure in name resolution EAI_BADFLAGS invalid value for ai_flags EAI_FAIL non–recoverable failure in ...

Man page for lwres_buffer

Sunday, June 3rd, 2007

LWRES_BUFFER Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_buffer_init, lwres_buffer_invalidate, lwres_buffer_add, lwres_buffer_subtract, lwres_buffer_clear, lwres_buffer_first, lwres_buffer_forward, lwres_buffer_back, lwres_buffer_getuint8, lwres_buffer_putuint8, lwres_buffer_getuint16, lwres_buffer_putuint16, lwres_buffer_getuint32, lwres_buffer_putuint32, lwres_buffer_putmem, lwres_buffer_getmem – lightweight resolver buffer management   SYNOPSIS #include <lwres/lwbuffer.h> void lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length); void lwres_buffer_invalidate(lwres_buffer_t *b); void lwres_buffer_add(lwres_buffer_t *b, unsigned int n); void lwres_buffer_subtract(lwres_buffer_t *b, unsigned int n); void lwres_buffer_clear(lwres_buffer_t *b); void lwres_buffer_first(lwres_buffer_t *b); void lwres_buffer_forward(lwres_buffer_t *b, unsigned int n); void lwres_buffer_back(lwres_buffer_t *b, unsigned int n); lwres_uint8_t lwres_buffer_getuint8(lwres_buffer_t *b); void lwres_buffer_putuint8(lwres_buffer_t *b, lwres_uint8_t val); lwres_uint16_t lwres_buffer_getuint16(lwres_buffer_t *b); void lwres_buffer_putuint16(lwres_buffer_t *b, lwres_uint16_t val); lwres_uint32_t ...

Man page for dbopen

Sunday, June 3rd, 2007

DBOPEN Section: C Library Functions (3)Updated: 1994–01–02Index Return to Main Contents   NAME dbopen – database access methods   SYNOPSIS #include <sys/types.h> #include <limits.h> #include <db.h> DB * dbopen(const char *file, int flags, int mode, DBTYPE type,      const void *openinfo);   DESCRIPTION dbopen() is the library interface to database files. The supported file formats are btree, hashed and UNIX file oriented. The btree format is a representation of a ...

Man page for lwres_getnamebyaddr

Saturday, June 2nd, 2007

LWRES_RESUTIL Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_string_parse, lwres_addr_parse, lwres_getaddrsbyname, lwres_getnamebyaddr – lightweight resolver utility functions   SYNOPSIS #include <lwres/lwres.h> lwres_result_t lwres_string_parse(lwres_buffer_t *b, char **c, lwres_uint16_t *len); lwres_result_t lwres_addr_parse(lwres_buffer_t *b, lwres_addr_t *addr); lwres_result_t lwres_getaddrsbyname(lwres_context_t *ctx, const char *name, lwres_uint32_t addrtypes, lwres_gabnresponse_t **structp); lwres_result_t lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype, lwres_uint16_t addrlen, const unsigned char *addr, lwres_gnbaresponse_t **structp);   DESCRIPTION lwres_string_parse() retrieves a DNS–encoded string starting the current pointer of lightweight resolver buffer b: i.e. b–>current. When the function returns, the address ...

Man page for lwres_getaddrinfo

Saturday, June 2nd, 2007

LWRES_GETADDRINFO Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_getaddrinfo, lwres_freeaddrinfo – socket address structure to host and service name   SYNOPSIS #include <lwres/netdb.h> int lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res); void lwres_freeaddrinfo(struct addrinfo *ai); If the operating system does not provide a struct addrinfo, the following structure is used: struct addrinfo { int ...

Man page for lwres_hstrerror

Saturday, June 2nd, 2007

LWRES_HSTRERROR Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_herror, lwres_hstrerror – lightweight resolver error message generation   SYNOPSIS #include <lwres/netdb.h> void lwres_herror(const char *s); const char * lwres_hstrerror(int err);   DESCRIPTION lwres_herror() prints the string s on stderr followed by the string generated by lwres_hstrerror() for the error code stored in the global variable lwres_h_errno. lwres_hstrerror() returns an appropriate string for the error code gievn by err. The values of the error ...

Man page for lwres_conf_init

Saturday, June 2nd, 2007

LWRES_CONFIG Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get – lightweight resolver configuration   SYNOPSIS #include <lwres/lwres.h> void lwres_conf_init(lwres_context_t *ctx); void lwres_conf_clear(lwres_context_t *ctx); lwres_result_t lwres_conf_parse(lwres_context_t *ctx, const char *filename); lwres_result_t lwres_conf_print(lwres_context_t *ctx, FILE *fp); lwres_conf_t * lwres_conf_get(lwres_context_t *ctx);   DESCRIPTION lwres_conf_init() creates an empty lwres_conf_t structure for lightweight resolver context ctx. lwres_conf_clear() frees up all the internal memory used by that lwres_conf_t structure in resolver context ctx. lwres_conf_parse() opens the file filename and parses it to initialise the ...

Man page for lwres_net_ntop

Saturday, June 2nd, 2007

LWRES_INETNTOP Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_net_ntop – lightweight resolver IP address presentation   SYNOPSIS #include <lwres/net.h> const char * lwres_net_ntop(int af, const void *src, char *dst, size_t size);   DESCRIPTION lwres_net_ntop() converts an IP address of protocol family af ––– IPv4 or IPv6 ––– at location src from network format to its conventional representation as a string. For IPv4 addresses, that string would be ...

Man page for lwres_packet

Saturday, June 2nd, 2007

LWRES_PACKET Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_lwpacket_renderheader, lwres_lwpacket_parseheader – lightweight resolver packet handling functions   SYNOPSIS #include <lwres/lwpacket.h> lwres_result_t lwres_lwpacket_renderheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt); lwres_result_t lwres_lwpacket_parseheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt);   DESCRIPTION These functions rely on a struct lwres_lwpacket which is defined in lwres/lwpacket.h. typedef struct lwres_lwpacket lwres_lwpacket_t; struct lwres_lwpacket { lwres_uint32_t ...

Man page for mkreiserfs

Saturday, June 2nd, 2007

MKREISERFS Section: Maintenance Commands (8)Updated: February 2004Index Return to Main Contents   NAME mkreiserfs – The create tool for the Linux ReiserFS filesystem.   SYNOPSIS mkreiserfs [ –dfV ] [ –b | ––block–size N ] [ –h | ––hash HASH ] [ –u | ––uuid UUID ] [ –l | ––label LABEL ] [ ––format FORMAT ] [ –q | ––quiet ] [ –j | ...

Man page for lwres_getnameinfo

Saturday, June 2nd, 2007

LWRES_GETNAMEINFO Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_getnameinfo – lightweight resolver socket address structure to hostname and service name   SYNOPSIS #include <lwres/netdb.h> int lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags);   DESCRIPTION This function is equivalent to the getnameinfo(3) function defined in RFC2133. lwres_getnameinfo() returns the hostname for the struct sockaddr sa which is salen bytes long. The hostname is of length hostlen and is returned ...

Man page for lwres_gethostent

Saturday, June 2nd, 2007

LWRES_GETHOSTENT Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_gethostbyname, lwres_gethostbyname2, lwres_gethostbyaddr, lwres_gethostent, lwres_sethostent, lwres_endhostent, lwres_gethostbyname_r, lwres_gethostbyaddr_r, lwres_gethostent_r, lwres_sethostent_r, lwres_endhostent_r – lightweight resolver get network host entry   SYNOPSIS #include <lwres/netdb.h> struct hostent * lwres_gethostbyname(const char *name); struct hostent * lwres_gethostbyname2(const char *name, int af); struct hostent * lwres_gethostbyaddr(const char *addr, int len, int type); struct hostent * lwres_gethostent(void); void lwres_sethostent(int stayopen); void lwres_endhostent(void); struct hostent * lwres_gethostbyname_r(const char *name, struct hostent *resbuf, char *buf, int buflen, ...

Man page for lwres_getipnode

Saturday, June 2nd, 2007

LWRES_GETIPNODE Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_getipnodebyname, lwres_getipnodebyaddr, lwres_freehostent – lightweight resolver nodename / address translation API   SYNOPSIS #include <lwres/netdb.h> struct hostent * lwres_getipnodebyname(const char *name, int af, int flags, int *error_num); struct hostent * lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num); void lwres_freehostent(struct hostent *he);   DESCRIPTION These functions perform thread safe, protocol independent nodename–to–address and address–to–nodename translation as defined in RFC2553. They use a struct hostent which ...

Man page for lwres_context

Saturday, June 2nd, 2007

LWRES_CONTEXT Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_context_create, lwres_context_destroy, lwres_context_nextserial, lwres_context_initserial, lwres_context_freemem, lwres_context_allocmem, lwres_context_sendrecv – lightweight resolver context management   SYNOPSIS #include <lwres/lwres.h> lwres_result_t lwres_context_create(lwres_context_t **contextp, void *arg, lwres_malloc_t malloc_function, lwres_free_t free_function); lwres_result_t lwres_context_destroy(lwres_context_t **contextp); void lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial); lwres_uint32_t lwres_context_nextserial(lwres_context_t *ctx); void lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len); void lwres_context_allocmem(lwres_context_t *ctx, size_t len); void * lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len);   DESCRIPTION lwres_context_create() creates a lwres_context_t structure for use in lightweight resolver operations. It holds ...

Man page for reiserfstune

Saturday, June 2nd, 2007

REISERFSTUNE Section: Maintenance Commands (8)Updated: February 2004Index Return to Main Contents   NAME reiserfstune – The tunning tool for the ReiserFS filesystem.   SYNOPSIS reiserfstune [ –f ] [ –j | ––journal–device FILE ] [ ––no–journal–available ] [ ––journal–new–device FILE ] [ ––make–journal–standard ] [ –s | ––journal–new–size N ] [ –o | ––journal–new–offset N ] [ –t | ––max–transaction–size N ] [ –b | ––add–badblocks ...

Man page for lwres_config

Saturday, June 2nd, 2007

LWRES_CONFIG Section: BIND9 (3)Updated: Jun 30, 2000Index Return to Main Contents   NAME lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get – lightweight resolver configuration   SYNOPSIS #include <lwres/lwres.h> void lwres_conf_init(lwres_context_t *ctx); void lwres_conf_clear(lwres_context_t *ctx); lwres_result_t lwres_conf_parse(lwres_context_t *ctx, const char *filename); lwres_result_t lwres_conf_print(lwres_context_t *ctx, FILE *fp); lwres_conf_t * lwres_conf_get(lwres_context_t *ctx);   DESCRIPTION lwres_conf_init() creates an empty lwres_conf_t structure for lightweight resolver context ctx. lwres_conf_clear() frees up all the internal memory used by that lwres_conf_t structure in resolver context ctx. lwres_conf_parse() opens the file filename and parses it to initialise the ...