what you are looking for is called a "nailing schedule". There are charts that specify how many nails go where. For example, almost anybody that has seen a 2x4 framed wall has seen that each stud has two nails to hold it to the sole (or "sill") plate (the 2x4 laying on the floor) and another 2 nails going into the top plate. One nail isn't enough and 3 is to many- 3 nails would actually weaken the end of the wood. Also the length and type of nail is important.
for drywall, taken from the San Bruno CA building dept. website (
http://sanbruno.ca.gov/comdev_image...Code.pdf): NAILING
Nails should be driven so that the head is in a small dimple formed by the last blow of the hammer. Take care
not to fracture the board when nailing. Fractures of the wallboard caused by over driving must be corrected by
additional nailing. Nails must be between 3/8" and 1" from the edges, and nails on adjacent edges should be
opposite each other. If you are using the single nailing system, the nails should be spaced 7" on center on the
ceilings and 8" on center on the walls. The double nailing system is also permitted. Groups of two nails 2 - 2
1/2" apart are spaced 12" on center in this system. Approved screws may also be used to apply wallboard.
Screws must be placed 3/8" from the end or edges of the board and spaced 12" on center. Screws must be
used for fastening wallboard at pocket doors.
Fasteners at the top and bottom plates of vertical assemblies, or the edges and ends of horizontal assemblies
perpendicular to supports, and at the wall line may be omitted except on shear-resisting elements or fire
resistive assemblies. All edges of Braced Wall Panels and firewalls must be nailed to framing.
---------------------------------------------------------------------------------------