aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs
Commit message (Collapse)AuthorAgeFilesLines
...
* First pass through library packaging.Glen Barber2016-02-041-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-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 Notes: svn path=/head/; revision=291307
* Revert r284417 it is not necessary anymoreBaptiste Daroussin2015-06-151-1/+1
| | | | Notes: svn path=/head/; revision=284421
* Enforce overwritting SHLIBDIRBaptiste Daroussin2015-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 Notes: svn path=/head/; revision=284417
* Add META_MODE support.Simon J. Gerraty2015-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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-1/+0
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-195-6/+6
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+3
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Remove the stray DEBUG_FLAGS=-g line that snuck in with theWarner Losh2015-05-211-1/+0
| |/ |/| | | | | | | | | | | soft-updates journaling project merge in r207141. Notes: svn path=/head/; revision=283243
* | use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-235-6/+6
|/ | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl.Robert Millan2011-12-081-5/+48
| | | | | | | Approved by: kib (mentor) Notes: svn path=/head/; revision=228349
* Bump shared libraries version numbers in preparation for 9.0.Konstantin Belousov2011-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) Notes: svn path=/head/; revision=225227
* Replace ERROR() macro with inline function. In-tree gcc cannot tolerateKonstantin Belousov2011-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 Notes: svn path=/head/; revision=218601
* Search beyond the first 1/8th of inodes.Ed Maste2010-05-011-1/+1
| | | | | | | Submitted by: jeff Notes: svn path=/head/; revision=207476
* - Merge soft-updates journaling from projects/suj/head into head. ThisJeff Roberson2010-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 Notes: svn path=/head/; revision=207141
* i doesn't need to be signed here, make it unsigned.Warner Losh2010-02-111-1/+1
| | | | Notes: svn path=/head/; revision=203782
* Back to WARNS=3. The breakage wasn't what I thought it was :(Warner Losh2010-02-111-1/+1
| | | | Notes: svn path=/head/; revision=203772
* Keep Tinderbox happy.Kirk McKusick2010-02-111-1/+1
| | | | Notes: svn path=/head/; revision=203768
* Increased warnings weren't tested on ARM. Bump warnings back down toWarner Losh2010-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. Notes: svn path=/head/; revision=203767
* Build lib/ with WARNS=6 by default.Ed Schouten2010-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. Notes: svn path=/head/; revision=201381
* Allow libufs(3) functions to operate on a regular file. This makes it ↵Juli Mallett2009-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 Notes: svn path=/head/; revision=194030
* Bail out when memory allocation is failed, rather than referencingXin LI2009-04-021-2/+6
| | | | | | | | | | a NULL pointer. PR: kern/94480 Submitted by: Michiel Pelt <m.pelt xs4all nl> Notes: svn path=/head/; revision=190646
* Add a berase() function which uses ioctl(DIOCGDELETE) to erase a slabPoul-Henning Kamp2007-12-164-8/+42
| | | | | | | of the disk. Notes: svn path=/head/; revision=174668
* The ufs_disk_fillout(3) can take special device name (with or without /dev/Pawel Jakub Dawidek2007-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 Notes: svn path=/head/; revision=167625
* Implement cgwrite1(3) function which stored a given cylinder group on disk.Pawel Jakub Dawidek2006-10-315-2/+38
| | | | | | | Sponsored by: home.pl Notes: svn path=/head/; revision=163835
* minor style.Makefile(5) fixes:Giorgos Keramidas2005-09-261-2/+7
| | | | | | | | | | - WARNS before CFLAGS - CFLAGS -DXXX before -IXXX Approved by: ru Notes: svn path=/head/; revision=150558
* Remove getino(3) manpage. It doesn't document what is here, what is here shouldJuli Mallett2005-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 Notes: svn path=/head/; revision=149660
* Disconnect getino.3 and remove MLINK I added.Tom Rhodes2005-08-311-2/+1
| | | | | | | Discussed with: jmallett Notes: svn path=/head/; revision=149658
* Hook getino.3 up to the build and link it to putino.3.Tom Rhodes2005-08-251-1/+2
| | | | | | | PR: 83820 Notes: svn path=/head/; revision=149448
* Fixed xrefs.Ruslan Ermilov2005-01-211-3/+3
| | | | Notes: svn path=/head/; revision=140566
* Markup fixes.Ruslan Ermilov2004-07-055-31/+31
| | | | Notes: svn path=/head/; revision=131609
* Sort SEE ALSO references (in dictionary order, ignoring case).Ruslan Ermilov2004-07-041-1/+1
| | | | Notes: svn path=/head/; revision=131594
* Removed trailing whitespace.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131472
* Fixed spelling of the document date.Ruslan Ermilov2004-07-026-6/+6
| | | | Notes: svn path=/head/; revision=131468
* Remove unneccessary include of sys/types.h in the SYNOPSISHiten Pandya2003-10-096-6/+0
| | | | | | | | | | | | header. Sys/param.h includes sys/types.h internally unless LOCORE is defined. Approved by: des (mentor) Notes: svn path=/head/; revision=120934
* Add XXX'ed temporary bounce-buffering.Poul-Henning Kamp2003-10-071-6/+37
| | | | Notes: svn path=/head/; revision=120874
* style.Makefile(5)David E. O'Brien2003-08-181-1/+1
| | | | Notes: svn path=/head/; revision=119071
* Stage 3 of dynamic root support. Make all the libraries needed to runGordon Tetlow2003-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. Notes: svn path=/head/; revision=119017
* Correct an apparent typo.Matthew N. Dodd2003-06-191-1/+1
| | | | | | | | | PR: bin/53515 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Approved by: jmallett Notes: svn path=/head/; revision=116591
* Various cleanups of careless mistakes/omissions.Juli Mallett2003-06-104-11/+11
| | | | | | | | PR: 53149 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Notes: svn path=/head/; revision=116165
* Left out the critical part of my "public domain" template, a notice sayingJuli Mallett2003-06-106-0/+12
| | | | | | | | | that this file is (these files are) in the public domain. PR: 53149 Notes: svn path=/head/; revision=116163
* Commit rudimentary libufs manual pages, except for that forJuli Mallett2003-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. Notes: svn path=/head/; revision=116087
* Remove ufs_disk_ctor and ufs_disk_dtor, they never came to fruition. I doJuli Mallett2003-06-092-43/+0
| | | | | | | | not know of any software using them, and there is no "published API" for libufs, as it were. Notes: svn path=/head/; revision=116086
* Reduce diffs with code in Perforce:Juli Mallett2003-06-095-34/+34
| | | | | | | Parenthesise return values. Notes: svn path=/head/; revision=116084