summaryrefslogtreecommitdiff
path: root/sbin/fsck_lfs/dir.c
AgeCommit message (Expand)Author
2020-04-03Avoid common symbols for fsck_lfs.joerg
2015-09-21Add 64-bit directory entry structures, and adjust accessors accordingly.dholland
2015-09-21Oops; LFS_DIRECTSIZ() is going to need the fs as an argument.dholland
2015-09-20Clean up struct lfs_dirtemplate.dholland
2015-09-15Pass around struct lfs_dirheader instead of struct lfs_direct.dholland
2015-09-15Add an accessor function for directory names.dholland
2015-09-15Add a function lfs_copydirname() to copy directory names in place; usedholland
2015-09-15Tidyups/fixes preparatory to making d_name[] in struct lfs_direct sizedholland
2015-09-15Add and use accessor functions for more of the directory entry fields.dholland
2015-09-01Add new accessors for the d_type and d_namlen fields of struct lfs_direct.dholland
2015-09-01Use the lfs dinode accessors in place of the ufs-derived ones.dholland
2015-08-12Hack up dinode usage to be 64 vs. 32 as needed. Part 1.dholland
2015-07-28Add a new lfs header file: lfs_accessors.h.dholland
2015-07-24Switch to accessor functions for elements of the LFS on-diskdholland
2015-03-29- Fix fallout for recent bread() change (removing cred arg).chopps
2013-06-18Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.christos
2013-06-08Tidy up the LFS userland build hacks.dholland
2013-06-08DIRBLKSIZ -> LFS_DIRBLKSIZdholland
2013-06-08struct direct -> struct lfs_directdholland
2013-06-08Stick LFS_ in front of IFMT, IFIFO, IFREG, etc. so as not to conflictdholland
2013-06-06ufs -> ulfs for fsck_lfs.dholland
2013-01-22Stuff UFS_ in front of a few of ufs's symbols to reduce namespacedholland
2010-02-16Three changes in a single commit.mlelstv
2008-05-16Make sure all cached buffers with valid, not yet written data have beenhannken
2008-03-16errexit() now provides the trailing \n (since fsck_ffs assumed thatlukem
2007-10-08Give brelse() a second argument so that it matches the kernel.ad
2006-10-16c99 initializerschristos
2006-09-01Several fixes to improve the reliability of the roll-forward agent.perseant
2005-09-13rename lfs.h to lfs_user.h so that it does not conflict.christos
2005-08-1964 bit inode changeschristos
2005-06-27more const.christos
2005-06-27constifychristos
2005-06-08Use the correct method to create a new inode, when we allocate lost+found.perseant
2005-01-19ANSIfy, WARNS=2xtraeme
2003-10-05fix NULL pointer pointer dereference in fileerror() when ino is NULLjdolecek
2003-10-03write out modified directory entries to the correct place.yamt
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-13use bounded string opitojun
2003-04-02Add support for UFS2. UFS2 is an enhanced FFS, adding support forfvdl
2003-03-28Add working writing ability to fsck_lfs, including roll-forward, based onperseant
2002-05-23Re-checksum the superblock whenever it is marked dirty.perseant
2002-05-09Don't bother testing if a uint8_t is > 256 -- that test is always false.simonb
2001-07-13Merge the short-lived perseant-lfsv2 branch into the trunk.perseant
2000-06-14Add "-i" flag to specify the location of the index file inode, toperseant
2000-05-23Convert to NetBSD source code styleperseant
1999-07-03RCS Id police.kleink
1999-03-18Initial checkin of fsck_lfs. This version cannot do any repair (-p flagperseant