History log of /openbsd-current/sys/ufs/ufs/dinode.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.19 28-May-2020 otto

Make generation numbers unsigned and fill them using a random number
from the range [1..UINT_MAX] initially. On inode re-use increment
and on wrap refill from the range [1..UINT_MAX-1] to avoid
assigning UINT_MAX (the original value). Zero still means uninitialized.
ok millert@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.18 30-May-2013 guenther

UFS does't do inode numbers >2^32, so use a smaller type internally,
only using ino_t in the VFS layer APIs: vget, readdir, getattr.

otto wrote the original diff for libsa to keep bootblock from overflowing
ok deraadt@ kettenis@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.17 02-Jun-2007 pedro

ufs1_daddr_t is no more, okay deraadt@


# 1.16 01-Jun-2007 pedro

Nuke 'ufs_lbn_t', okay otto@ deraadt@ krw@ beck@


# 1.15 01-Jun-2007 deraadt

ufs_daddr_t is a dead type. growfs is the only program that uses it, yet
it is ffs1-aware only. therefore all the types are on disk, and thus,
they are actually int32_t. ok pedro


# 1.14 01-Jun-2007 pedro

cleanup of 'ufs1_daddr_t', first round, okay deraadt@


# 1.13 01-Jun-2007 pedro

Nuke ufs_time_t, okay beck@ krw@ marco@


# 1.12 01-Jun-2007 deraadt

convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thib


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 19-Dec-2005 pedro

Add and use a few more constants and macros needed by UFS2
No functional change


Revision tags: OPENBSD_3_8_BASE
# 1.10 18-Jun-2005 millert

Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE SMP_SYNC_A SMP_SYNC_B
# 1.9 20-Jan-2004 tedu

some pieces of ufs2. help testing otto sturm


Revision tags: OPENBSD_3_4_BASE
# 1.8 25-Aug-2003 tedu

rename struct dinode to ufs1_dinode. clears the namespace and makes
way for some future work. no function changes yet.
few other little cleanups.
help testing otto@ and markus@


# 1.7 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.6 26-May-2003 tedu

fiddle with some type names. change most instances of ufs_daddr_t to
ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider
it deprecated. no functional changes. inspired by freebsd. ok art@


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE SMP_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B kame_19991208
# 1.5 02-Dec-1999 art

branches: 1.5.2;
Opps. Back out a part of last commit that wasn't intended for commit yet.


# 1.4 17-Nov-1999 art

Use u_int32_t for lfs inode number.
If we would ever change ino_t, the struct dinode would break.


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.3 24-Feb-1997 niklas

OpenBSD tags


Revision tags: OPENBSD_2_0_BASE
# 1.2 01-Jul-1996 downsj

dinode.h: protect from multiple inclusion.
ufs_readwrite.c: changes for new LFS.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.18 30-May-2013 guenther

UFS does't do inode numbers >2^32, so use a smaller type internally,
only using ino_t in the VFS layer APIs: vget, readdir, getattr.

otto wrote the original diff for libsa to keep bootblock from overflowing
ok deraadt@ kettenis@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.17 02-Jun-2007 pedro

ufs1_daddr_t is no more, okay deraadt@


# 1.16 01-Jun-2007 pedro

Nuke 'ufs_lbn_t', okay otto@ deraadt@ krw@ beck@


# 1.15 01-Jun-2007 deraadt

ufs_daddr_t is a dead type. growfs is the only program that uses it, yet
it is ffs1-aware only. therefore all the types are on disk, and thus,
they are actually int32_t. ok pedro


# 1.14 01-Jun-2007 pedro

cleanup of 'ufs1_daddr_t', first round, okay deraadt@


# 1.13 01-Jun-2007 pedro

Nuke ufs_time_t, okay beck@ krw@ marco@


# 1.12 01-Jun-2007 deraadt

convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thib


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.11 19-Dec-2005 pedro

Add and use a few more constants and macros needed by UFS2
No functional change


Revision tags: OPENBSD_3_8_BASE
# 1.10 18-Jun-2005 millert

Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE SMP_SYNC_A SMP_SYNC_B
# 1.9 20-Jan-2004 tedu

some pieces of ufs2. help testing otto sturm


Revision tags: OPENBSD_3_4_BASE
# 1.8 25-Aug-2003 tedu

rename struct dinode to ufs1_dinode. clears the namespace and makes
way for some future work. no function changes yet.
few other little cleanups.
help testing otto@ and markus@


# 1.7 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.6 26-May-2003 tedu

fiddle with some type names. change most instances of ufs_daddr_t to
ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider
it deprecated. no functional changes. inspired by freebsd. ok art@


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE SMP_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B kame_19991208
# 1.5 02-Dec-1999 art

branches: 1.5.2;
Opps. Back out a part of last commit that wasn't intended for commit yet.


# 1.4 17-Nov-1999 art

Use u_int32_t for lfs inode number.
If we would ever change ino_t, the struct dinode would break.


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.3 24-Feb-1997 niklas

OpenBSD tags


Revision tags: OPENBSD_2_0_BASE
# 1.2 01-Jul-1996 downsj

dinode.h: protect from multiple inclusion.
ufs_readwrite.c: changes for new LFS.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision