#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
207141 |
|
24-Apr-2010 |
jeff |
- Merge soft-updates journaling from projects/suj/head into head. This brings in support for an optional intent log which eliminates the need for background fsck on unclean shutdown.
Sponsored by: iXsystems, Yahoo!, and Juniper. With help from: McKusick and Peter Holm
|
#
194030 |
|
11-Jun-2009 |
jmallett |
Allow libufs(3) functions to operate on a regular file. This makes it possible to use almost anything that uses libufs(3) against a file as an unprivileged user, e.g. tunefs(8) and dumpfs(8) against a makefs(8)-created image.
Prodded by: kensmith
|
#
167625 |
|
16-Mar-2007 |
pjd |
The ufs_disk_fillout(3) can take special device name (with or without /dev/ prefix) as an argument and mount point path. At the end it has to find device name file system is stored on, which means when mount point path is given, it tries to look into /etc/fstab and find special device corresponding to the given mount point. This is not perfect, because it doesn't handle the case when file system is mounted by hand and mount point is given as an argument.
I found this problem while trying to use snapinfo(8), which passes mount points to the ufs_disk_fillout(3) function, but I had file system mounted manually, so snapinfo(8) was exiting with the error below:
ufs_disk_fillout: No such file or directory
I modified libufs(3) to handle those arguments (the order is important):
1. special device with /dev/ prefix 2. special device without /dev/ prefix 3. mount point listed in /etc/fstab, directory exists 4. mount point listed in /etc/fstab, directory doesn't exist 5. mount point of a file system mounted by hand
|
#
116086 |
|
09-Jun-2003 |
jmallett |
Remove ufs_disk_ctor and ufs_disk_dtor, they never came to fruition. I do not know of any software using them, and there is no "published API" for libufs, as it were.
|
#
116084 |
|
09-Jun-2003 |
jmallett |
Reduce diffs with code in Perforce: Parenthesise return values.
|
#
112730 |
|
27-Mar-2003 |
jmallett |
Close the disk file descriptor that is RO before trying to open the new one, and do not fall back to the RO fd. There was a bug here in that the RO fd was never closed, if the RDRW open succeeded, but this code is bogus anyway, and it breaks newfs of floppies, at least for me, due to "Device busy." Anything that wants to fall back is doing something significantly odd that it should have some more complex code on its end.
|
#
110067 |
|
29-Jan-2003 |
jmallett |
Missing "return 0"
Big pointy hat to: jmallett Spotted by: peter
|
#
110066 |
|
29-Jan-2003 |
jmallett |
API for opening (and tracking) writable file descriptors per disk.
|
#
109755 |
|
23-Jan-2003 |
jmallett |
API to fillout a blank disk. For e.g. newfs.
|
#
109518 |
|
19-Jan-2003 |
jmallett |
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).
|
#
109509 |
|
18-Jan-2003 |
jmallett |
Add facility to read one, or a string of, cylinger groups.
|
#
109506 |
|
18-Jan-2003 |
jmallett |
Hunt for a disk to operate on, if we're passed a partition mountpoint, etc.
Concept reviewed by: phk
|
#
109462 |
|
18-Jan-2003 |
jmallett |
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.
|
#
105737 |
|
22-Oct-2002 |
jmallett |
Add the concept of a per-disk error string, and a function which prints it along with the errno, if one is set.
|
#
101687 |
|
11-Aug-2002 |
jmallett |
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.
|
#
99823 |
|
11-Jul-2002 |
jmallett |
Fill out (zero) and fill in (when doing getino()) the minimum and maximum inodes in our inoblock (disk->d_ino{min,max}) appropriately.
|
#
99222 |
|
01-Jul-2002 |
jmallett |
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.
|
#
99193 |
|
30-Jun-2002 |
jmallett |
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.
|