Juli Mallett
9e4789cc2f
Missing "return 0"
...
Big pointy hat to: jmallett
Spotted by: peter
2003-01-30 00:10:24 +00:00
Juli Mallett
7dc95357f8
API for opening (and tracking) writable file descriptors per disk.
2003-01-29 23:19:46 +00:00
Juli Mallett
d934deeff9
API to fillout a blank disk. For e.g. newfs.
2003-01-23 21:32:56 +00:00
Juli Mallett
cc3dd52898
Store not only the current cylinder group in the series (i.e. next that needs
...
to be read in) but also the last cylinder group in the series (i.e. what is
stored in the structure).
2003-01-19 05:46:23 +00:00
Juli Mallett
22ec2ef3bb
Add facility to read one, or a string of, cylinger groups.
2003-01-19 01:31:26 +00:00
Juli Mallett
656128586d
Hunt for a disk to operate on, if we're passed a partition mountpoint, etc.
...
Concept reviewed by: phk
2003-01-19 00:43:17 +00:00
Juli Mallett
49b2a6863b
Nuke dumb error reporting code, people can just use disk::d_error. Unify the
...
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.
2003-01-18 04:22:14 +00:00
Juli Mallett
8b8cd35523
Add the concept of a per-disk error string, and a function which prints it
...
along with the errno, if one is set.
2002-10-22 19:25:58 +00:00
Juli Mallett
e079a00a77
Initialise disk->d_ufs so that in sblock.c it's always initialised
...
(unless someone tries to use libufs support functions without using
_fillout or _ctor to construct a uufsd.)
Obtained from: jmallett_libufs Perforce branch.
2002-08-11 15:37:10 +00:00
Juli Mallett
cf6c0643ee
Fill out (zero) and fill in (when doing getino()) the minimum and maximum
...
inodes in our inoblock (disk->d_ino{min,max}) appropriately.
2002-07-11 21:27:26 +00:00
Juli Mallett
585e540203
In getino, have our DEBUG message in the unhandled case mention that it
...
does not know what sort of UFS filesystem this is.
Add some DEBUG(NULL)'s to function entry points.
2002-07-01 18:19:20 +00:00
Juli Mallett
20938dbf84
Add libufs, a library for dealing with UFS filesystems from userland to
...
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.
2002-07-01 01:45:03 +00:00