summaryrefslogtreecommitdiffstats
path: root/lib/libufs/type.c
Commit message (Collapse)AuthorAgeFilesLines
* Initialise disk->d_ufs so that in sblock.c it's always initialisedjmallett2002-08-111-0/+1
| | | | | | | (unless someone tries to use libufs support functions without using _fillout or _ctor to construct a uufsd.) Obtained from: jmallett_libufs Perforce branch.
* Fill out (zero) and fill in (when doing getino()) the minimum and maximumjmallett2002-07-111-0/+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-0/+2
| | | | | | 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/+114
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