05-01-2009
If you want to be picky...
Technically the latest version of BSD is 4.4
but you are probably referring to the more common sub versions.
FreeBSD 7.1
OpenBSD 4.5
NetBSD 5.0
I don't know about Dragonfly off the top of my head but I'm sure their website will tell you!!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am currently taking a Unix programming class in school, I want ot know which is more efficient and quicker, downloading the os or buying the os (4 Replies)
Discussion started by: lavonte
4 Replies
2. UNIX for Dummies Questions & Answers
I want to buy it (2 Replies)
Discussion started by: LANSTARR.COM
2 Replies
3. Shell Programming and Scripting
:o How do I confirm that the script on one server is latest compare to other servers? Is there any script which can tell me the latest version of a file across the servers?
Thanks, (2 Replies)
Discussion started by: Sandy
2 Replies
4. Shell Programming and Scripting
Hi All ,
I am trying to run a shell script through a JCL . The requirement is I have a gdg base name and I need to create a script that will just check if the latest version of that gdg has data or not . If it doesnt have data RC 4 need to be returned . One more thing which is bothering me is i... (3 Replies)
Discussion started by: mavesum
3 Replies
5. UNIX for Dummies Questions & Answers
I've noticed there are different versions of BSD, unless I'm confused. How can I tell what version of BSD is on my Mac -- free, open,or what? I think I read somewhere that Mac OSX is Darwin, and is that a different version that the others? (2 Replies)
Discussion started by: Straitsfan
2 Replies
6. Shell Programming and Scripting
Hi,
I have some version number's present in a text file like
version.txt contains
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
(may be more that this) can we write any specific shell command to find it out the latest version (For this it is 1.0.4 ) ? I am a new user of shell command and cud... (6 Replies)
Discussion started by: bhaskar_m
6 Replies
7. Shell Programming and Scripting
Have checked the forums and couldnt locate help on this.
I want to grep a log file for a pattern using a script - I need to grep the latest log file and not sure how I am able to ensure I am greping the latest log file.
Here is sample of log files for yestersday and I effectively need to grep... (10 Replies)
Discussion started by: frustrated1
10 Replies
8. AIX
Dears i have a power7 P770 working in AIX 5.3 TL 11 with frimware AM730_066
is the AM730_066 frimware the latest one or not ? (6 Replies)
Discussion started by: thecobra151
6 Replies
9. Shell Programming and Scripting
Hi,
I have a file where versions will be updated, i need to get latest/last updated version from that file. Could you please help?
File looks like below -
<versions>
<version>R20180417.006</version>
<version>R20180421.007</version>
<version>R20180421.008</version>
... (5 Replies)
Discussion started by: schandra128
5 Replies
10. Solaris
Hi
During a host review session I was told to check if the engineers have been updating Solaris 11 OS regularly by verifying the SRU version of the system.
However i was having no luck in finding the latest SRU version number in oracle website for hours. I wonder did anyone here know where i... (4 Replies)
Discussion started by: kaze
4 Replies
LEARN ABOUT NETBSD
hashdone
HASHINIT(9) BSD Kernel Developer's Manual HASHINIT(9)
NAME
hashinit, hashdone -- kernel hash table construction and destruction
SYNOPSIS
#include <sys/systm.h>
void *
hashinit(u_int chains, enum hashtype htype, bool waitok, u_long *hashmask);
void
hashdone(void *hashtbl, enum hashtype htype, u_long hashmask);
DESCRIPTION
The hashinit() function allocates and initializes space for a simple chaining hash table. The number of slots will be the least power of two
not smaller than chains. The customary choice for chains is the maximum number of elements you intend to store divided by your intended load
factor. The LIST... or TAILQ... macros of queue(3) can be used to manipulate the chains; pass HASH_LIST or HASH_TAILQ as htype to indicate
which. Each slot will be initialized as the head of an empty chain of the proper type. Because different data structures from queue(3) can
define head structures of different sizes, the total size of the allocated table can vary with the choice of htype.
If waitok is true, hashinit can wait until enough memory is available. Otherwise, it immediately fails if there is not enough memory is
available.
A value will be stored into *hashmask suitable for masking any computed hash, to obtain the index of a chain head in the allocated table.
The hashdone() function deallocates the storage allocated by hashinit() and pointed to by hashtbl, given the same htype and hashmask that
were passed to and returned from hashinit(). If the table contains any nonempty chain when hashdone() is called, the result is undefined.
RETURN VALUES
The value returned by hashinit() should be cast as pointer to an array of LIST_HEAD or TAILQ_HEAD as appropriate. hashinit() returns NULL on
failure.
SEE ALSO
queue(3), hash(9), malloc(9)
CODE REFERENCES
These functions are implemented in sys/kern/subr_hash.c.
HISTORY
A hashinit() function was present, without the htype or mflags arguments, in 4.4BSD alpha. It was independent of queue(3) and simply allo-
cated and nulled a table of pointer-sized slots. It sized the table to the largest power of two not greater than chains; that is, it built
in a load factor between 1 and 2.
NetBSD 1.0 was the first NetBSD release to have a hashinit() function. It resembled that from 4.4BSD but made each slot a LIST_HEAD from
queue(3). For NetBSD 1.3.3 it had been changed to size the table to the least power of two not less than or equal to chains. By NetBSD 1.4
it had the mflags argument and the current sizing rule.
NetBSD 1.5 had the hashdone() function. By NetBSD 1.6 hashinit() supported LIST or TAILQ chains selected with htype.
FreeBSD has a hashinit() with behavior equivalent (as of FreeBSD 6.1) to that in NetBSD 1.0, and a hashdestroy() that behaves as hashdone()
but checks that all chains are empty first. OpenBSD has a hashinit() comparable (as of OpenBSD 3.9) to that of NetBSD 1.4. This manual page
was added for NetBSD 4.0.
BUGS
The only part of the work of implementing a hash table that these functions relieve is the part that isn't much work.
BSD
July 1, 2008 BSD