openafs.git
19 years agomakefiles-cflag-cleanup-20030113
Nathan Neulinger [Mon, 13 Jan 2003 18:55:07 +0000]
makefiles-cflag-cleanup-20030113

Fix lib ordering for cmd/util, remove redundant libs

19 years agomakefile-dependancies-20030113
Nathan Neulinger [Mon, 13 Jan 2003 18:31:13 +0000]
makefile-dependancies-20030113

add more dependancies

19 years agosalvager-fast-restart-log-to-syslog-also-20030111
Nathan Neulinger [Sun, 12 Jan 2003 02:02:48 +0000]
salvager-fast-restart-log-to-syslog-also-20030111

if -syslog, also log this to syslog

19 years agogmake-j-support-20030111
Nathan Neulinger [Sun, 12 Jan 2003 02:00:26 +0000]
gmake-j-support-20030111

update top makefile so gmake -j works

19 years agomakefiles-cflag-cleanup-20030111
Nathan Neulinger [Sat, 11 Jan 2003 07:33:52 +0000]
makefiles-cflag-cleanup-20030111

move cflags back to makefile.config, more cleanup, dup removal

19 years agorxkad-be-openssl-keyschedule-safe-20030111
Jeffrey Hutzelman [Sat, 11 Jan 2003 07:31:08 +0000]
rxkad-be-openssl-keyschedule-safe-20030111

openssl has larger keyschedules than we do

crypto api is all so unfortunate

19 years agovol-package-avoid-race-on-invalidating-hashed-vnode-20030111
Derrick Brashear [Sat, 11 Jan 2003 07:26:35 +0000]
vol-package-avoid-race-on-invalidating-hashed-vnode-20030111

thanks to whichever of jhutz@cmu.edu or cg2v@andrew.cmu.edu (or both)
noticed the race; also deal with wrap problem in VolumeCacheCheck that i
noticed

19 years agoinclude-errno-dont-declare-it-20030111
Sam Hartman [Sat, 11 Jan 2003 07:22:14 +0000]
include-errno-dont-declare-it-20030111

include errno.h instead of extern int errno ourselves

19 years agolinux-placate-whiny-gcc-20020110
Derrick Brashear [Fri, 10 Jan 2003 20:16:42 +0000]
linux-placate-whiny-gcc-20020110

debian unstable gcc gets bitter and cries to mom over newlines in strings.

19 years agonfstrans-solaris-pre-7-support-20021210
Derrick Brashear [Fri, 10 Jan 2003 09:34:38 +0000]
nfstrans-solaris-pre-7-support-20021210

make it work for 2.6 and earlier

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

actually for earlier than 8

19 years agoremove-venus-lock-h-20020110
Nathan Neulinger [Fri, 10 Jan 2003 09:33:30 +0000]
remove-venus-lock-h-20020110

nothing uses it. junk it.

19 years agofileserver-largefile-support-20020109
R. Lindsay Todd [Thu, 9 Jan 2003 19:16:50 +0000]
fileserver-largefile-support-20020109

Fix compile problems for 64BIT_ENV with large files turned off

19 years agosolaris-nfstrans-compile-fix-20020108
Derrick Brashear [Wed, 8 Jan 2003 23:53:36 +0000]
solaris-nfstrans-compile-fix-20020108

osi_vfsops_nfs.o is compiled from osi_vfsops.c

19 years agoopenbsd-20030109
Jim Rees [Wed, 8 Jan 2003 23:07:03 +0000]
openbsd-20030109

Add AFS_64BIT_ENV. Should have been there all along.

19 years agoopenbsd-20030108
Jim Rees [Wed, 8 Jan 2003 21:04:59 +0000]
openbsd-20030108

Allocate a real SYS_NAME_ID for OpenBSD

19 years agolinux-redhat-81-beta-support-20020107
Derrick Brashear [Wed, 8 Jan 2003 05:52:11 +0000]
linux-redhat-81-beta-support-20020107

thanks to Sean McDermott for the errno.h fixes.
the rest is my fault, the configure tests as well as the kernel changes

19 years agolinux-fast-netdown-20020107
Derek Atkins [Wed, 8 Jan 2003 05:35:25 +0000]
linux-fast-netdown-20020107

notice the NETUNREACH quickly and mark a host down

19 years agofileserver-largefile-support-20020107
R. Lindsay Todd [Tue, 7 Jan 2003 23:38:02 +0000]
fileserver-largefile-support-20020107

fileserver-side large file support

19 years agolinux-largefile-appending-fix-20020107
Hartmut Reuter [Tue, 7 Jan 2003 23:29:41 +0000]
linux-largefile-appending-fix-20020107

appending >2gb bug, pointed to hartmut by lindsay todd

19 years agoaix51-64bit-exporter-20020107
Hartmut Reuter [Tue, 7 Jan 2003 23:24:58 +0000]
aix51-64bit-exporter-20020107

loads, but doesn't yet work

19 years agoaix51-32bit-ioctl-glue-20020107
Hartmut Reuter [Tue, 7 Jan 2003 23:14:08 +0000]
aix51-32bit-ioctl-glue-20020107

support both 64bit and 32bit ioctls on aix 5.1

19 years agodarwin-deal-with-unclean-pages-from-vm-20020107
Chaskiel M Grundman [Tue, 7 Jan 2003 23:03:35 +0000]
darwin-deal-with-unclean-pages-from-vm-20020107

based on report from lha@stacken.kth.se

19 years agovsprocs-printf-cleanup-20020108
Love Hörnquist-Åstrand [Tue, 7 Jan 2003 22:44:03 +0000]
vsprocs-printf-cleanup-20020108

change defines slightly, eliminate bogus quota-setting warning when it's not
really an error.

19 years agoCreate a special thread to receive signals in the pthread fileserver, in
Nickolai Zeldovich [Sat, 4 Jan 2003 05:20:55 +0000]
Create a special thread to receive signals in the pthread fileserver, in
order to avoid deadlock (we have signal handlers that unsafely grab locks).

19 years agoMake OpenAFS build on FreeBSD 4.7-RELEASE.
Nickolai Zeldovich [Sun, 29 Dec 2002 15:46:11 +0000]
Make OpenAFS build on FreeBSD 4.7-RELEASE.

19 years agoAvoid using afs_int64's, because this leads to gcc generating calls to
Nickolai Zeldovich [Sat, 28 Dec 2002 05:17:08 +0000]
Avoid using afs_int64's, because this leads to gcc generating calls to
libgcc functions on Linux (which we don't have in the kernel).  Instead
be slightly more clever to achieve the same result.

19 years agoSupport memcache sizes larger than 2GB.
Nickolai Zeldovich [Fri, 27 Dec 2002 03:51:51 +0000]
Support memcache sizes larger than 2GB.

19 years agoDo v5/v4 principal name translation.
Sam Hartman [Mon, 23 Dec 2002 23:53:26 +0000]
Do v5/v4 principal name translation.

19 years agoFix symlink support on Windows XP.
James Peterson [Sun, 15 Dec 2002 04:33:30 +0000]
Fix symlink support on Windows XP.

19 years agowindows-wide-char-fix-20021210
Larry Greenfield [Tue, 10 Dec 2002 22:55:08 +0000]
windows-wide-char-fix-20021210

include afxpriv.h so we get macros
call GetSize() and not GetCount()

19 years agorevert-bg-fcrypt-cleanup-20021030
Derrick Brashear [Tue, 10 Dec 2002 19:53:38 +0000]
revert-bg-fcrypt-cleanup-20021030

unroll the rest of it

19 years agouse-afs-strchr-instead-of-strchr-20021210
Mattias Amnefelt [Tue, 10 Dec 2002 19:09:53 +0000]
use-afs-strchr-instead-of-strchr-20021210

make dux happy

19 years agowindows-loopback-adapter-support-20021126
Scott D. Williams [Tue, 10 Dec 2002 16:39:47 +0000]
windows-loopback-adapter-support-20021126

try to bind to loopback on windows

19 years agobos-new-config-option-20021210
Derrick Brashear [Tue, 10 Dec 2002 15:57:25 +0000]
bos-new-config-option-20021210

based on patch from nneul@umr.edu but including the switch

19 years agoukernel-no-afs-xosi-20021210
Nathan Neulinger [Tue, 10 Dec 2002 15:52:16 +0000]
ukernel-no-afs-xosi-20021210

no afs_xosi lock in ukernel. probably should be a dummy one, but oh well

19 years agopam-no-system-include-path-20021210
Nathan Neulinger [Tue, 10 Dec 2002 15:49:52 +0000]
pam-no-system-include-path-20021210

breaks modern gcc. also, wrong.

19 years agorevert-rxkad-new-fcrypt-20021028
Derrick Brashear [Tue, 10 Dec 2002 15:32:23 +0000]
revert-rxkad-new-fcrypt-20021028

until we know why it's brokenn

19 years agolinux-ia64-updates-20021209
Joseph V Moss [Tue, 10 Dec 2002 04:22:14 +0000]
linux-ia64-updates-20021209

deal with *LK64 not defined
deal with ia64 sys_call_table

19 years agoUpdate NEWS file with user visible changes and other noteworthy things
Garry Zacheiss [Mon, 9 Dec 2002 23:12:44 +0000]
Update NEWS file with user visible changes and other noteworthy things
about OpenAFS 1.2.8.

19 years agoopenbsd-20021205
Jim Rees [Thu, 5 Dec 2002 16:17:26 +0000]
openbsd-20021205

Change syscall from 210 to 208, by popular demand

19 years agodeal-with-non-modversioned-non-exported-sys-call-table-20021204
Nathan Neulinger [Thu, 5 Dec 2002 00:43:46 +0000]
deal-with-non-modversioned-non-exported-sys-call-table-20021204

test was incorrect

19 years agofssync-interface-change-to-deal-with-callback-delays-20021204
Derrick Brashear [Wed, 4 Dec 2002 16:52:53 +0000]
fssync-interface-change-to-deal-with-callback-delays-20021204

move callback breaking into a separate thread

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

the rest of it. somehow the original version of this was lost.

====================

the rest of it. somehow the original version of this was lost.

====================

the rest of it. somehow the original version of this was lost.

19 years agoignore-files-20021204
Jim Rees [Wed, 4 Dec 2002 14:53:47 +0000]
ignore-files-20021204

Ignore src/libuafs/Makefile.common

19 years agoopenbsd-20021203
Jim Rees [Tue, 3 Dec 2002 23:34:31 +0000]
openbsd-20021203

OpenBSD:
Don't include systm.h
#define iodone for 3.2
add rc file

19 years agoremove-prototypes-20021203
Jim Rees [Tue, 3 Dec 2002 17:44:14 +0000]
remove-prototypes-20021203

Remove prototypes from viced_prototypes.h.

19 years agoviced-prototypes-inclusion-20021202
Derrick Brashear [Tue, 3 Dec 2002 02:03:42 +0000]
viced-prototypes-inclusion-20021202

include prototypes header file

19 years agoopenbsd-20021202
Jim Rees [Mon, 2 Dec 2002 21:22:20 +0000]
openbsd-20021202

Make a symlink for libafs/lib. Needed for libkern.h.

19 years agofix-includes-20021202
Jim Rees [Mon, 2 Dec 2002 13:39:46 +0000]
fix-includes-20021202

Fix includes so the tree will build again

19 years agowindows-rename-warning-20021126
James Peterson [Wed, 27 Nov 2002 14:37:13 +0000]
windows-rename-warning-20021126

Currently AFS doesn't handle Explorer operations 'rename' and 'move'
correctly.  Normal operation of 'rename' and 'move' is to warn the operator
when the destination file name already exist.

19 years agowindows-loopback-adapter-support-20021126
Scott D. Williams [Wed, 27 Nov 2002 03:36:42 +0000]
windows-loopback-adapter-support-20021126

try to bind to loopback on windows

19 years agowindows-rename-20021126
James Peterson [Wed, 27 Nov 2002 03:30:16 +0000]
windows-rename-20021126

fix rename on windows client

19 years agowindows-updates-20021104
Andrei Keis [Wed, 27 Nov 2002 03:22:38 +0000]
windows-updates-20021104

windows timestamp update

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

build updates

19 years agowindows-fake-cml-info-20021126
Scott D. Williams [Wed, 27 Nov 2002 03:18:31 +0000]
windows-fake-cml-info-20021126

fake up cml info for windows

19 years agodisable-new-afs-thread-model-in-old-kernels-20021126
Derrick Brashear [Wed, 27 Nov 2002 00:00:07 +0000]
disable-new-afs-thread-model-in-old-kernels-20021126

don't use new kernel thread model for 2.4.7-10

19 years agohpux-readme-and-comments-on-header-20021126
Derrick Brashear [Tue, 26 Nov 2002 23:39:52 +0000]
hpux-readme-and-comments-on-header-20021126

Thanks to Carl Davidson for making it happen.

19 years agocvsignore-20021125
Jim Rees [Mon, 25 Nov 2002 23:22:07 +0000]
cvsignore-20021125

add a few more files to .cvsignore

19 years agoviced-make-send-buffersize-tunable-20021122
Derrick Brashear [Sat, 23 Nov 2002 01:51:43 +0000]
viced-make-send-buffersize-tunable-20021122

idea from chas williams. arguably should be made larger than 16k also.

19 years agoafs-xosi-prototype-20021122
Derrick Brashear [Sat, 23 Nov 2002 01:45:05 +0000]
afs-xosi-prototype-20021122

add missing lock prototype. create header as needed.

19 years agocmdebug-export-more-locks-20021122
Derrick Brashear [Sat, 23 Nov 2002 01:44:28 +0000]
cmdebug-export-more-locks-20021122

we missed some locks, notably afs_xosi, afs_xsrvAddr. show them.

19 years agoupdate-README-with-current-systems-20021122
Derrick Brashear [Sat, 23 Nov 2002 01:26:56 +0000]
update-README-with-current-systems-20021122

note that logging ufs on solaris can be bad

19 years agocachemgr-warn-solaris-users-of-dangers-of-logging-20021122
Derrick Brashear [Fri, 22 Nov 2002 20:07:27 +0000]
cachemgr-warn-solaris-users-of-dangers-of-logging-20021122

with feedback from others.

19 years agoopenbsd-20021120
Jim Rees [Wed, 20 Nov 2002 23:00:33 +0000]
openbsd-20021120

OpenBSD:
Hold volume info file vnode until shutdown
Pass proc struct * to HandleFlock
Get va_atime.tv_nsec right in getattr

19 years agolinux-flock-downmap-64-ops-20021120
Kris Van Hees [Wed, 20 Nov 2002 15:26:18 +0000]
linux-flock-downmap-64-ops-20021120

downmap F_*LK64 to F_*LK if they're different. we have no large files for now.

19 years agoMake this work with Linux 2.2 kernels again. In particular,
Garry Zacheiss [Wed, 20 Nov 2002 03:13:23 +0000]
Make this work with Linux 2.2 kernels again.  In particular,

- Use the DCOUNT() macro from afs.h instead of atomic_read, because
  the d_count member of a struct dentry is an int in the 2.2 series,
  not an atomic_t.

- Use list_del() + INIT_LIST_HEAD() on 2.2, which doesn't have list_del_init().

- BUG() only exists on 2.4 kernels.  Just don't use it on 2.2.

19 years agoFix a memory leak in the dynroot directory creation process and
Nickolai Zeldovich [Wed, 20 Nov 2002 01:58:52 +0000]
Fix a memory leak in the dynroot directory creation process and
factor out common code to compute directory size.

19 years agoopenbsd-20021119
Jim Rees [Tue, 19 Nov 2002 18:28:01 +0000]
openbsd-20021119

Implement AFS_GLOCK()
Other minor cleanups

19 years agoacinclude-check-sizeof-long-20021115
Derrick Brashear [Sat, 16 Nov 2002 03:12:30 +0000]
acinclude-check-sizeof-long-20021115

we do this the autoconf 2.13 way. it's deliberate.

19 years agoopenbsd-20021115
Jim Rees [Fri, 15 Nov 2002 17:19:40 +0000]
openbsd-20021115

Fix yesterday's damage:
  Put afs_vnop_fid.o back in the nonfs module
  Put back VN_HOLD for Darwin in VNOPS/afs_vnop_remove.c (from kolya)
More prototypes
Re-organize OBSD/osi_machdep.h

19 years agoREVERT-volserver-dont-deal-poorly-with-fssync-blockage-20021016
Chaskiel M Grundman [Tue, 3 Dec 2002 02:00:24 +0000]
REVERT-volserver-dont-deal-poorly-with-fssync-blockage-20021016

not ready yet, needs work

19 years agorxkad5-dont-allow-dot-in-aname-20021114
Love Hörnquist-Åstrand [Fri, 15 Nov 2002 05:02:33 +0000]
rxkad5-dont-allow-dot-in-aname-20021114

otherwise we need to deal with the fact that we're using . as a separator

19 years agolinux-params-define-local-apic-to-one-20021114
Derrick Brashear [Fri, 15 Nov 2002 03:59:59 +0000]
linux-params-define-local-apic-to-one-20021114

based on suggestion from seth vidal <skvidal@phy.duke.edu>

19 years agoopenbsd-20021114
Jim Rees [Thu, 14 Nov 2002 23:53:36 +0000]
openbsd-20021114

OpenBSD:
Fix more vnode refcount screwups
Implement AFS_KALLOC, AFS_KFREE and eliminate #ifdefs in afs/afs_osi.c
More prototypes
Move a bunch of stuff from param.h to osi_machdep.h
Don't bind afs_vnop_fid.o in with nonfs module

19 years agouse-VTOAFS-in-HandlePioctl-20021113
Jim Rees [Wed, 13 Nov 2002 16:44:04 +0000]
use-VTOAFS-in-HandlePioctl-20021113

Use VTOAFS in afs_HandlePioctl() instead of passing in the wrong type.
Needed for OpenBSD, which doesn't just cast vnode to vcache, and possibly
others in the future.

19 years agoDRead-check-file-size-20021113
Jim Rees [Wed, 13 Nov 2002 16:25:55 +0000]
DRead-check-file-size-20021113

Restore the file size check in DRead(), but do it right this time.

19 years agoopenbsd-20021112
Jim Rees [Tue, 12 Nov 2002 23:57:37 +0000]
openbsd-20021112

Remove size test in afs_buffer.c:DRead().
Cleanups and prototypes.
OpenBSD client works now, at least readonly.

19 years agoRecognize MacOS X 10.2.2 as ppc_darwin_60. It's compatible.
Garry Zacheiss [Tue, 12 Nov 2002 22:52:12 +0000]
Recognize MacOS X 10.2.2 as ppc_darwin_60.  It's compatible.

19 years agoHandle Linux kernels that don't export sys_call_table.
Chaskiel M Grundman [Tue, 12 Nov 2002 21:17:21 +0000]
Handle Linux kernels that don't export sys_call_table.

19 years agoClean up code in rxi_FindConnection.
Nickolai Zeldovich [Tue, 12 Nov 2002 20:09:25 +0000]
Clean up code in rxi_FindConnection.

19 years agonfs-translator-nfsv2-fixup-20021112
Derrick Brashear [Tue, 12 Nov 2002 17:02:06 +0000]
nfs-translator-nfsv2-fixup-20021112

rewrite so we treat the ptr args as such

19 years agodtest-20021111
Jim Rees [Mon, 11 Nov 2002 21:23:15 +0000]
dtest-20021111

Fix dtest.
Does anyone ever use this?

19 years agonfs-translator-fix-lookup-20021110
Derrick Brashear [Mon, 11 Nov 2002 00:53:46 +0000]
nfs-translator-fix-lookup-20021110

add fstrace statement, remove bogus &

19 years agoopenbsd-20021108
Jim Rees [Fri, 8 Nov 2002 21:59:23 +0000]
openbsd-20021108

More OpenBSD merge.
Fix refcount screwups in afs_GetVCache and friends.
"ls -ld /afs" works now.

19 years agoMiscellaneous cleanup.
Nickolai Zeldovich [Thu, 7 Nov 2002 23:10:43 +0000]
Miscellaneous cleanup.

19 years agoopenbsd-20021107
Jim Rees [Thu, 7 Nov 2002 22:55:27 +0000]
openbsd-20021107

fix afs_unmount
make osi_NetReceive sleep at shutdown so it won't loop forever

19 years agohpux-20021106
Douglas Engert [Wed, 6 Nov 2002 20:32:33 +0000]
hpux-20021106

Minor fixes for HPUX110.

19 years agoopenbsd-20021105
Jim Rees [Tue, 5 Nov 2002 22:37:53 +0000]
openbsd-20021105

don't panic in osi_NetReceive if soreceive fails
don't release root vnode in afs_root
  (temporary until I track down the refcount screwup)

19 years agoopenbsd-20021104
Jim Rees [Mon, 4 Nov 2002 23:35:37 +0000]
openbsd-20021104

implement afs_root()

19 years agowinnt-make-mountingother-than-as-afs-work-20021104
Andrei Keis [Mon, 4 Nov 2002 20:42:02 +0000]
winnt-make-mountingother-than-as-afs-work-20021104

make mounting other than as /afs work correctly with respect to absolute symlinks

19 years agovputvnode-print-error-number-on-write-failure-20021104
Derrick Brashear [Mon, 4 Nov 2002 20:15:38 +0000]
vputvnode-print-error-number-on-write-failure-20021104

make log message include error when taking volume offline

19 years agoUnder Solaris, only clean up the open count in VOP_INACTIVE when
Nickolai Zeldovich [Mon, 4 Nov 2002 08:31:47 +0000]
Under Solaris, only clean up the open count in VOP_INACTIVE when
the vcache is mvstat 0 (necessary because executables don't get
VOP_CLOSE'd).  Volume roots (mvstat 2) need to keep their open
counts, because under fakestat, the mountpoint above it is still
considered open by the kernel.

19 years agoshlibafsauthent-extra-functions-20021102
Derrick Brashear [Sat, 2 Nov 2002 17:25:20 +0000]
shlibafsauthent-extra-functions-20021102

export more on solaris

19 years agolinux-what-socketcall-20021031
Derrick Brashear [Thu, 31 Oct 2002 20:12:59 +0000]
linux-what-socketcall-20021031

we're not using it, so let's not use

19 years agobg-fcrypt-cleanup-20021030
Derrick Brashear [Thu, 31 Oct 2002 00:19:55 +0000]
bg-fcrypt-cleanup-20021030

make the libafsrpc libraries work with new fcrypt

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

readd missing statistics
make cm and ukernel compile with new stuff

====================

readd missing statistics
make cm and ukernel compile with new stuff

====================

make it work with ukernel macros

19 years agoopenbsd-20021030
Jim Rees [Wed, 30 Oct 2002 22:56:58 +0000]
openbsd-20021030

More small OpenBSD fixes.
Now the module loads, afsd starts, and /afs gets mounted.

19 years agorx-junk-writevinit-20021030
Derrick Brashear [Wed, 30 Oct 2002 22:27:18 +0000]
rx-junk-writevinit-20021030

we don't use it, so it's gone

19 years agoAllocate memory for the interface addr arrays dynamically
Nickolai Zeldovich [Wed, 30 Oct 2002 09:10:16 +0000]
Allocate memory for the interface addr arrays dynamically
to avoid potential overruns.

19 years agoviced-cleanup-20021030
Derrick Brashear [Wed, 30 Oct 2002 08:40:38 +0000]
viced-cleanup-20021030

it all compiles nicely

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

a little more cleanup

====================

a little more cleanup

====================

a little more cleanup

====================

a little more cleanup

19 years agoafsfileprocs-more-cleanup-20021030
Derrick Brashear [Wed, 30 Oct 2002 07:06:46 +0000]
afsfileprocs-more-cleanup-20021030

finish ansification
take some functions internal
reorganize to avoid need for some prototypes
remove said prototypes
strip out some unused code

19 years agolhash-includes-cleanup-20021027
Derrick Brashear [Wed, 30 Oct 2002 07:03:05 +0000]
lhash-includes-cleanup-20021027

make stddef be included when building ukernel so NULL is defined
cleanup redundancy

19 years agoviced-afsfileprocs-partial-protoizing-20021029
Derrick Brashear [Wed, 30 Oct 2002 00:12:15 +0000]
viced-afsfileprocs-partial-protoizing-20021029

need to finish protoizing and create useful header