Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #42
Difficulty: Easy
In general, cookies are created by web clients and stored on web servers.
True or False?
Linux & Unix Commands - Search Man Pages

nbp_name(3) [redhat man page]

NBP_NAME(3)						     Library Functions Manual						       NBP_NAME(3)

NAME
nbp_name - NBP name parsing SYNOPSIS
nbp_name( name, obj, type, zone ) char *name, **obj, **type, **zone; DESCRIPTION
nbp_name() parses user supplied names into their component object, type, and zone. obj, type, and zone should be passed by reference, and should point to the caller's default values. nbp_name() will change the pointers to the parsed-out values. name is of the form object:type@zone, where each of object, :type, and @zone replace obj, type, and zone, respectively. type must be proceeded by `:', and zone must be preceded by `@'. EXAMPLE
The argument of afpd(8)'s -n option is parsed with nbp_name(). The default value of obj is the first component of the machine's hostname (as returned by gethostbyname(3)). The default value of type is ``AFPServer'', and of zone is ``*'', the default zone. To cause afpd to register itself in some zone other than the default, one would invoke it as afpd -n @some-other-zone obj and type would retain their default values. BUGS
obj, type, and zone return pointers into static area which may be over-written on each call. netatalk 1.3 12 Jan 1994 NBP_NAME(3)

Check Out this Related Man Page

NBP(1)							      General Commands Manual							    NBP(1)

NAME
nbplkup, nbprgstr, nbpunrgstr - access NBP database SYNOPSIS
nbplkup [ -r nresp ] [ nbpname ] nbprgstr [ -p port ] nbpname nbpunrgstr nbpname DESCRIPTION
nbprgstr registers nbpname with atalkd(8), at the given port. nbpunrgstr informs atalkd that nbpname is no longer to be advertised. nbplkup displays up to nresp (default 1000) entities registered on the AppleTalk internet. nbpname is parsed by nbp_name(3). An `=' for the object or type matches anything, and an `*' for zone means the local zone. The default values are taken from the NBPLKUP environment variable, parsed as an nbpname. EXAMPLE
Find all devices of type LaserWriter in the local zone. example% nbplkup :LaserWriter Petoskey:LaserWriter 7942.129:218 Gloucester:LaserWriter 8200.188:186 Rahway:LaserWriter 7942.2:138 517 Center:LaserWriter 7942.2:132 ionia:LaserWriter 7942.2:136 Evil DEC from Hell:LaserWriter 7942.2:130 Hamtramck:LaserWriter 7942.2:134 Iron Mountain :LaserWriter 7942.128:250 example% SEE ALSO
nbp_name(3), atalkd(8). netatalk 1.2 17 Dec 1991 NBP(1)

15 More Discussions You Might Find Interesting

1. Solaris

unable to halt the zone

Hi Experts, I have to delete the non- global zone from one of the server. As per my understanding we need to halt the zone , then uninstall and later delete it with zoneadm however once I am trying to halt the zone the screen is getting hanged, after canceling the process and... (23 Replies)
Discussion started by: kumarmani
23 Replies

2. Solaris

Not able to ping global zone from local zone

Hi Gurus I am not able to ping the local zone from global zone when i am trying to ping i am getting below ICMP Host Unreachable from gateway zone ( 192.268.35.210) for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210) However i can ping local zone from global please... (12 Replies)
Discussion started by: kumarmani
12 Replies

3. Solaris

Global zone name from local zone

How to check the global zone name from local zone. (6 Replies)
Discussion started by: fugitive
6 Replies

4. Solaris

df error for lofs file system in local zone.

I 've a zone which is running oracle db instance. We have exported the SAN file system from the global zone as following fs: dir: /oradb special: /oradb raw not specified type: lofs options: from global zone #df -h | grep oradb... (7 Replies)
Discussion started by: fugitive
7 Replies

5. Solaris

Is any patch availabe for zone cloning?

Hello Guruz, I am unable see the zone cloning option in zoneadm command, I guess the option if not available with the current OS release (Solaris 10 1/06). Could some one let me know if there any specific patch is available for the same?. My zoneadm o/p as follows. Zoneadm usage: ... (18 Replies)
Discussion started by: bullz26
18 Replies

6. Solaris

How can we copy a directory from Global to Non-global zone?

Hi All, How can we copy a directory from global zone to non-global zone using SCP command? (8 Replies)
Discussion started by: vijaysachin
8 Replies

7. Solaris

Can any one explain me Shared-IP and Exclusive IP ??

Hi All, I want to know what is shared-IP and exclusive-IP while configuring zone? How the global zone and non-global communicate with each other? When I do ifconfig -a on my machine it shows below output My doubt is they are physical and virtual interfaces in below output what is... (8 Replies)
Discussion started by: vijaysachin
8 Replies

8. Solaris

Configuring interface in zone

Hi All, Please help me in configuring interface in zone I've zone with dedicated interface and I want this interface to get up with global system boot. I am struggling with IP, as always after reboot interface is not getting up automatically and I understand the reason for that.... (10 Replies)
Discussion started by: kumarmani
10 Replies

9. Solaris

Zone hang issue

I have a solaris10 zone running an oracle db in it. The zone hangs after some time the db is started and i 'm unable to log into the zone after that so i have to halt and restart the zone along with db .. but after few hrs again it hangs. What would be the reason for it. I did svcs -xv and got... (13 Replies)
Discussion started by: fugitive
13 Replies

10. Solaris

Swap in local zone

Hello folks, I have question regarding behavior of local zone which has no dedicated swap configured. Zone has set only capped memory, and my question is if all memory is occupied if this zone will start to use swap from the global zone?? I'm little bit confused from information regarding... (6 Replies)
Discussion started by: brusell
6 Replies

11. Solaris

install jre in local zone

How can I install a new version of jre on a local zone? Since /usr is not writable in a local zone)? pls advise solaris10 sparc ---------- Post updated at 03:51 PM ---------- Previous update was at 02:34 PM ---------- jdk6 i mean (6 Replies)
Discussion started by: lhareigh890
6 Replies

12. Emergency UNIX and Linux Support

syslog not coming up

Hi All, I have a whole root zone, tsesbd02-zesbx01. On this zone, syslog service is not coming up. While it is working good on Global zone. Below are commands from tsesbd02-zesbx01 root@tsesbd02-zesbx01:/# svcs -a svc:/system/system-log:default svcs: -a ignored when used with arguments.... (13 Replies)
Discussion started by: solaris_1977
13 Replies

13. Solaris

Can i reboot a zone when i logged in the zone

I am curious to know if I can reboot a zone while I was inside the zone itself. By doing so can I know what happens to the zone and what are the pros and cons. Is it recommended or not? Is that zone will properly shuts down; :confused::confused::confused: (7 Replies)
Discussion started by: srinivas1049
7 Replies

14. Solaris

Not able to increase ZFS file system on NGZ

I have Solaris-10 server running ZFS file-system. ctdp04_vs03-pttmsp01 is one of the non global zone. I wanted to increase a /ttms/prod file-system of zone, which is actually /zone/ctdp04_vs03-pttmsp01/ttms/prod on global server. I have added a new disk of 9 GB, which is emcpower56a and now I can... (16 Replies)
Discussion started by: solaris_1977
16 Replies

15. Solaris

IPv6 question

I am currently trying to setup static ipv6 address with a persistent default gateway. This is on a Solaris 10 non global zone running inside a Solaris 10 global zone. My production server I am comparing against is a Solaris 10 xen instance running on a Oracle Solaris xen instance. I have got... (12 Replies)
Discussion started by: jpolachak
12 Replies

Featured Tech Videos