summaryrefslogtreecommitdiffstats
path: root/lib/libufs/inode.c
Commit message (Collapse)AuthorAgeFilesLines
* Reduce diffs with code in Perforce:jmallett2003-06-091-4/+4
| | | | Parenthesise return values.
* Nuke dumb error reporting code, people can just use disk::d_error. Unify thejmallett2003-01-181-3/+3
| | | | | DEBUG and d_error initialisation into an ERROR macro, which can both trace and set the d_error field. Much a more meaningful thing, I should say.
* Fill out (zero) and fill in (when doing getino()) the minimum and maximumjmallett2002-07-111-2/+2
| | | | inodes in our inoblock (disk->d_ino{min,max}) appropriately.
* In getino, have our DEBUG message in the unhandled case mention that itjmallett2002-07-011-1/+1
| | | | | | does not know what sort of UFS filesystem this is. Add some DEBUG(NULL)'s to function entry points.
* Add libufs, a library for dealing with UFS filesystems from userland tojmallett2002-07-011-0/+95
the build. It is here to compartmentalise functionality currently duplicated in many notable programs in the base system. It currently handles block reads and writes, as well as reading and writing of the filesystem superblock, and the reading/lookup of inode data. It supports both UFS and UFS2. I will be maintaining it, and porting programs to use it, however for now, it is simply being built as part of world.
OpenPOWER on IntegriCloud