Discover the Power of Open Directory (Part 2) - MacdevCenter
Discover the Power of Open Directory (Part 2) MacdevCenter - 26 minutes ago Apple pushes AFP, but if you are already running a Unix shop, then using NFS is a much better choice. There are a few gotchas and design decisions to be ...
I am part of the group group1. The directory permission I am trying to cd into are 770 for both the parent directory and child directory but I still can not cd into. What am I doing wrong?
$ ls -l /NAS/infa/
drwxrwxr-x. 22 user1 group1 506 Jun 6 17:05 infa_shared
$... (5 Replies)
Hello,
I need to add a part of folder name to the files inside it. For instance the file is
HMCBackup_20150430.155027.tgz
and it is under directory /nim/dr/HMCBackup/cops22
I need to add cops22 to the file name so as it would be cops22_HMCBackup_20150430.155027.tgz
Any help in doing... (10 Replies)
Hello,
I installed PowerVM IVM Virtual I/O on P-550 but later found out that the machine isn't activated for CoD VET code for virtualization.
So when booted , it goes into OPEN Firmware
I/O Hosting requires a hosting partition boot not permitted exit called
> ok
Panel shows > IO... (3 Replies)
i have a directory like this:
i want to get the subpaths:
/home/user/public_html/a/b
subpath= a/b
/home/user/public_html/a/b/c
subpath= a/b/c
i can get the user like
echo $fulldirectory |awk -F/ '{print $3}'
but im not sure how to get the rest of it after public_html
any ideas?... (3 Replies)
How can I write a script that determines the directory the user is in, and displays that path up until a particular point?
Specifically, I need to find the text "packages" in the directory name, then I need to capture that directory and the one below it.
For example, if the user is in the... (5 Replies)
IBND_DISCOVER_FABRIC(3) OpenIB Programmer's Manual IBND_DISCOVER_FABRIC(3)NAME
ibnd_discover_fabric, ibnd_destroy_fabric, ibnd_debug ibnd_show_progress - initialize ibnetdiscover library.
SYNOPSIS
#include <infiniband/ibnetdisc.h>
void ibnd_destroy_fabric(ibnd_fabric_t *fabric)
void ibnd_debug(int i)
void ibnd_show_progress(int i)
int ibnd_set_max_smps_on_wire(int i)
DESCRIPTION
ibnd_discover_fabric() Discover the fabric connected to the port specified by ibmad_port, using a timeout specified. The "from" and "hops"
parameters are optional and allow one to scan part of a fabric by specifying a node "from" and a number of hops away from that node to
scan, "hops". This gives the user a "sub-fabric" which is "centered" anywhere they chose.
ibmad_port must be opened with at least IB_SMI_CLASS and IB_SMI_DIRECT_CLASS classes for ibnd_discover_fabric to work.
ibnd_destroy_fabric() free all memory and resources associated with the fabric.
ibnd_debug() Set the debug level to be printed as library operations take place.
ibnd_show_progress() Indicate that the library should print debug output which shows it's progress through the fabric.
ibnd_set_max_smps_on_wire() Set the number of SMP's which will be issued on the wire simultaneously.
RETURN VALUE
ibnd_discover_fabric() return NULL on failure, otherwise a valid ibnd_fabric_t object.
ibnd_destory_fabric(), ibnd_debug() NONE
ibnd_set_max_smps_on_wire() The previous value is returned
EXAMPLES
Discover the entire fabric connected to device mthca0 , port 1.
int mgmt_classes[2] = {IB_SMI_CLASS, IB_SMI_DIRECT_CLASS}; struct ibmad_port *ibmad_port = mad_rpc_open_port(ca, ca_port,
mgmt_classes, 2); ibnd_fabric_t *fabric = ibnd_discover_fabric(ibmad_port, 100, NULL, 0); ... ibnd_destroy_fabric(fabric);
mad_rpc_close_port(ibmad_port);
Discover only a single node and those nodes connected to it.
... str2drpath(&(port_id.drpath), from, 0, 0); ... ibnd_discover_fabric(ibmad_port, 100, &port_id, 1); ...
SEE ALSO
libibmad, mad_rpc_open_port
AUTHORS
Ira Weiny <weiny2@llnl.gov>
OpenIB July 25, 2008 IBND_DISCOVER_FABRIC(3)