summaryrefslogtreecommitdiffstats
path: root/lib/libufs
Commit message (Collapse)AuthorAgeFilesLines
* MFC r312452-r312512:ngie2017-02-101-1/+1
| | | | | | | | | | r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
* libufs: Simplify generation number calculation.pfg2016-05-181-1/+1
| | | | UFS generation numbers have been unsigned since 2013 (r256435).
* First pass through library packaging.gjb2016-02-041-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* Revert r284417 it is not necessary anymorebapt2015-06-151-1/+1
|
* Enforce overwritting SHLIBDIRbapt2015-06-151-1/+1
| | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-1/+0
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-195-6/+6
| |\
| * | Updated dependenciessjg2014-05-161-1/+1
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Updated/new Makefile.dependsjg2012-11-081-0/+3
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Remove the stray DEBUG_FLAGS=-g line that snuck in with theimp2015-05-211-1/+0
| |/ |/| | | | | soft-updates journaling project merge in r207141.
* | use .Mt to mark up email addresses consistently (part3)bapt2014-06-235-6/+6
|/ | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl.rmh2011-12-081-5/+48
| | | | Approved by: kib (mentor)
* Bump shared libraries version numbers in preparation for 9.0.kib2011-08-281-0/+1
| | | | | | | | This time, only libraries which ABI has been changed compared to stable/8, are bumped. ABI analysis done by: Gleb Kurtsou Approved by: re (kensmith)
* Replace ERROR() macro with inline function. In-tree gcc cannot toleratekib2011-02-121-28/+24
| | | | | | | | | | the construct like printf("%\s", NULL) resulting from macroexpand of ERROR(u, NULL), making it impossible to use LIBUFS_DEBUGGING. With inline function, compiler cannot detect the NULL argument to known function and does not try to convert it into puts(). In collaboration with: pho
* Search beyond the first 1/8th of inodes.emaste2010-05-011-1/+1
| | | | Submitted by: jeff
* - Merge soft-updates journaling from projects/suj/head into head. Thisjeff2010-04-246-4/+230
| | | | | | | | 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
* i doesn't need to be signed here, make it unsigned.imp2010-02-111-1/+1
|
* Back to WARNS=3. The breakage wasn't what I thought it was :(imp2010-02-111-1/+1
|
* Keep Tinderbox happy.mckusick2010-02-111-1/+1
|
* Increased warnings weren't tested on ARM. Bump warnings back down toimp2010-02-111-1/+1
| | | | | 0 until it can be properly tested by those raising the warnings. Remember: make universe is required when changing the WARNS level.
* Build lib/ with WARNS=6 by default.ed2010-01-021-1/+1
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Allow libufs(3) functions to operate on a regular file. This makes it ↵jmallett2009-06-112-2/+5
| | | | | | | | | 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
* Bail out when memory allocation is failed, rather than referencingdelphij2009-04-021-2/+6
| | | | | | | a NULL pointer. PR: kern/94480 Submitted by: Michiel Pelt <m.pelt xs4all nl>
* Add a berase() function which uses ioctl(DIOCGDELETE) to erase a slabphk2007-12-164-8/+42
| | | | of the disk.
* The ufs_disk_fillout(3) can take special device name (with or without /dev/pjd2007-03-161-7/+36
| | | | | | | | | | | | | | | | | | | | | | | 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
* Implement cgwrite1(3) function which stored a given cylinder group on disk.pjd2006-10-315-2/+38
| | | | Sponsored by: home.pl
* minor style.Makefile(5) fixes:keramida2005-09-261-2/+7
| | | | | | | - WARNS before CFLAGS - CFLAGS -DXXX before -IXXX Approved by: ru
* Remove getino(3) manpage. It doesn't document what is here, what is here shouldjmallett2005-08-311-116/+0
| | | | | | | not get documented, and what it does document isn't going to come to CVS any time in the immediate future. Patience of a saint: trhodes
* Disconnect getino.3 and remove MLINK I added.trhodes2005-08-311-2/+1
| | | | Discussed with: jmallett
* Hook getino.3 up to the build and link it to putino.3.trhodes2005-08-251-1/+2
| | | | PR: 83820
* Fixed xrefs.ru2005-01-211-3/+3
|
* Markup fixes.ru2004-07-055-31/+31
|
* Sort SEE ALSO references (in dictionary order, ignoring case).ru2004-07-041-1/+1
|
* Removed trailing whitespace.ru2004-07-021-1/+1
|
* Fixed spelling of the document date.ru2004-07-026-6/+6
|
* Remove unneccessary include of sys/types.h in the SYNOPSIShmp2003-10-096-6/+0
| | | | | | | | | header. Sys/param.h includes sys/types.h internally unless LOCORE is defined. Approved by: des (mentor)
* Add XXX'ed temporary bounce-buffering.phk2003-10-071-6/+37
|
* style.Makefile(5)obrien2003-08-181-1/+1
|
* Stage 3 of dynamic root support. Make all the libraries needed to rungordon2003-08-171-0/+1
| | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
* Correct an apparent typo.mdodd2003-06-191-1/+1
| | | | | | PR: bin/53515 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Approved by: jmallett
* Various cleanups of careless mistakes/omissions.jmallett2003-06-104-11/+11
| | | | | PR: 53149 Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
* Left out the critical part of my "public domain" template, a notice sayingjmallett2003-06-106-0/+12
| | | | | | that this file is (these files are) in the public domain. PR: 53149
* Commit rudimentary libufs manual pages, except for that forjmallett2003-06-097-0/+560
| | | | | | | | | | | getino(3)/putino(3), inode.c has been reworked in Perforce to the point where a manual page may not be accurate. Certainly putino(3) has not even been merged back yet. These will need a lot of improvement for most applications, but they document the API enough to get someone on their feet, most likely. The best documentation still exists in the form of libufs(3) consumers in the base system.
OpenPOWER on IntegriCloud