| History log of /src/sbin/fsck_ffs/Makefile |
| Revision | | Date | Author | Comments |
| 1.51 |
| 03-Jun-2023 |
lukem | bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
| 1.50 |
| 06-Sep-2020 |
mrg | add support for new GCC 9 warnings that may be too much to fix right now. new address-of-packed-member and format-overflow warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.
apply to a bunch of the tree. mostly, these are real bugs that should be fixed, but in many cases, only by removing the 'packed' attribute from some structure that doesn't really need it. (i looked at many different ones, and while perhaps 60-80% were already properly aligned, it wasn't clear to me that the uses were always coming from sane data vs network alignment, so it doesn't seem safe to remove packed without careful research for each affect struct.) clang already warned (and was not erroring) for many of these cases, but gcc picked up dozens more.
|
| 1.49 |
| 11-Jun-2018 |
kamil | Restore the MKGROFF=bo MKCXX=yes build
Mark the documentation in dc(1), gprof(1), rogue(6) and fsck_ffs(8) with the .roff flag in SUBDIR.
Sponsored by <The NetBSD Foundation>
|
| 1.48 |
| 08-Feb-2017 |
rin | branches: 1.48.10; Add smaller versions of fsck_ffs(8) and newfs(8) for install media, where support for Endian-Independent FFS and Apple UFS is disabled unless FFS_EI=1 and APPLE_UFS=1 are added to CRUNCHENV, respectively.
This reduces the size of ramdisk image for atari by over 15KB.
Thanks tsutsui and christos for their useful comments.
|
| 1.47 |
| 07-Feb-2017 |
rin | Do not compile in progress.c when SMALLPROG is defined.
|
| 1.46 |
| 23-Mar-2016 |
christos | branches: 1.46.2; 1.46.4; -O0 for pass1.c and vax
|
| 1.45 |
| 05-Jul-2014 |
dholland | Rework /usr/share/doc.
Update the <bsd.doc.mk> infrastructure, and update the docs to match the new infrastructure.
- Build and install text, ps, pdf, and/or html, not roff sources.
- Don't wire the chapter numbers into the build system, or use them in the installed pathnames. This didn't matter much when the docs were a museum, but now that we're theoretically going to start maintaining them again, we're going to add and remove documents periodically and having the chapter numbers baked in creates a lot of thrashing for no purpose.
- Specify the document name explicitly, rather than implicitly in a path. Use this name (instead of other random strings) as the name of the installed files.
- Specify the document section, which is the subdirectory of /usr/share/doc to install into.
- Allow multiple subdocuments. (That is, multiple documents in one output directory.)
- Enumerate the .png files groff emits along with html so they can be installed.
- Remove assorted hand-rolled rules for running roff and roff widgetry and add enough variable settings to make these unnecessary. This includes support for - explicit use of soelim - refer - tbl - pic - eqn
- Forcibly apply at least minimal amounts of sanity to certain autogenerated roff files.
- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the build, as they now actually do stuff.
Note: currently we can't generate pdf. This turns out to be a nontrivial problem with no immediate solution forthcoming. So for now, as a workaround, install compressed .ps as the printable form.
|
| 1.44 |
| 10-Aug-2012 |
joerg | branches: 1.44.2; 1.44.8; Don't depend on HAVE_GCC being always defined.
|
| 1.43 |
| 14-Aug-2011 |
christos | branches: 1.43.2; WARNS=4
|
| 1.42 |
| 20-Jun-2011 |
mrg | remove most of the remaining HAVE_GCC tests that are always true in the modern world.
|
| 1.41 |
| 06-Mar-2011 |
bouyer | branches: 1.41.2; merge the bouyer-quota2 branch. This adds a new on-disk format to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on.
See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details.
|
| 1.40 |
| 05-Jun-2009 |
haad | branches: 1.40.2; Add support for DIOCGDISKINFO to disk like device drivers. Change partutil.c::getdiskinfo to use it to get disk geometry info. Use DIOCGWEDGEINFO ioctl to get information about partition size, if disk driver doesn't support it use old DIOCGDINFO. This patch adds support for wedge like devices(lvm logical volumes, ZFS zvol partitions) to newfs and other tools.
No objections on tech-userlevel@.
|
| 1.39 |
| 11-Apr-2009 |
lukem | Enable WARNS=4 by default except for: dump dump_lfs fsck_ffs fsck_lfs fsdb mount_smbfs newfs_ext2fs newfs_lfs resize_lfs setkey
|
| 1.38 |
| 30-Aug-2008 |
bouyer | branches: 1.38.4; Add fss(4) snapshot support to fsck_ffs(8) (via -x or -X options, like dump(8)). This allows fsck_ffs -n to work on a snapshot of a R/W mounted filesystem, and avoid errors related to filesystem activity.
|
| 1.37 |
| 29-Aug-2008 |
gmcgarry | Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
|
| 1.36 |
| 31-Jul-2008 |
simonb | Merge the simonb-wapbl branch. From the original branch commit:
Add Wasabi System's WAPBL (Write Ahead Physical Block Logging) journaling code. Originally written by Darrin B. Jewell while at Wasabi and updated to -current by Antti Kantee, Andy Doran, Greg Oster and Simon Burge.
OK'd by core@, releng@.
|
| 1.35 |
| 04-May-2008 |
tsutsui | branches: 1.35.2; 1.35.4; There is only one more file which requires HACKS for m68000, so handle it in each Makefile rather than sys.mk.
These ICEs might be related with GCC Bugzilla Bug 32424 which is not resolved yet even in the upstream.
|
| 1.34 |
| 09-Feb-2008 |
mrg | branches: 1.34.4; 1.34.6; make all sun2 use -O0 and move most of the hacks out into just 3 files.
|
| 1.33 |
| 26-Aug-2006 |
christos | branches: 1.33.8; 1.33.10; - Deal with wedges and the new disk geometry structures, instead of using struct disklabel.
Functionality lost: 1. struct disklabel used to be updated to contain bsize, fsize, cpg. This information was used to locate the alternative superblock in the filesystem if the primary superblock was corrupted. We need to find a new place to store this information if we need this functionality. 2. On vax SMD drives that contained bad sector lists, the newfs program knew how to get the offset and skip to the correct location in order to place the label.
|
| 1.32 |
| 17-Aug-2006 |
christos | Revert previous. It is not ready for public consumption.
|
| 1.31 |
| 17-Aug-2006 |
christos | Don't use || if you need &&.
|
| 1.30 |
| 24-Jun-2006 |
mrg | work around some GCC4 internal problems on m68000 platform. document the hack, and update another GCC4 list.
|
| 1.29 |
| 11-May-2006 |
mrg | sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
|
| 1.28 |
| 20-Jan-2005 |
xtraeme | WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
|
| 1.27 |
| 19-Jan-2005 |
xtraeme | Kill __P(), ANSIfy and WARNS=2
|
| 1.26 |
| 13-Jan-2005 |
christos | Use -DPROGRESS to enable the progress bar, don't depend on SMALL.
|
| 1.25 |
| 13-Jan-2005 |
christos | Add a progress meter to fsck_ffs based on the work by thorpej presented to the mailing lists last January. This is optional.
|
| 1.24 |
| 28-Sep-2002 |
dbj | Add support for the Apple UFS variation on ffs This is the bulk of PR #17345
The general approach is to use a run time deteriminable value for DIRBLKSIZ. Additional allowances are included for using MAXSYMLINKLEN with FS_42INODEFMT and a shift in the cylinder group cluster summary count array. Support is added for managing the Apple UFS volume label.
|
| 1.23 |
| 19-Aug-2002 |
lukem | Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
|
| 1.22 |
| 15-Jan-1999 |
bouyer | branches: 1.22.4; #include machine/bswap.h and remove -lutil.
|
| 1.21 |
| 18-Mar-1998 |
bouyer | Add support for non-native byteorder FFS, and converting byteorder. Also, be a bit more conservative with the clean flag: don't mark the FS clean when we know there may still be errors (user anserwed 'n' to a question, or fsck says "you must rerun fsck").
|
| 1.20 |
| 11-Oct-1997 |
mycroft | Use bsd.subdir.mk as appropriate.
|
| 1.19 |
| 10-Oct-1997 |
christos | CFLAGS->CPPFLAGS
|
| 1.18 |
| 21-Sep-1997 |
lukem | remove -g from CFLAGS=
|
| 1.17 |
| 16-Sep-1997 |
lukem | resolve conflicts from lite-2 merge.
|
| 1.16 |
| 08-May-1997 |
gwr | Back out the .PATH.c changes. The .depend problem (and others) will be fixed using the new .NOPATH make feature instead.
|
| 1.15 |
| 06-May-1997 |
gwr | Use .PATH.c: ...
|
| 1.14 |
| 21-Feb-1997 |
mikel | use += instead of = for CFLAGS
|
| 1.13 |
| 27-Sep-1996 |
christos | - util.h -> fsutil.h
|
| 1.12 |
| 23-Sep-1996 |
christos | - fixed all printf formats [there were a lot of %l? <-> %? mistakes] - added missing prototypes, and made local functions static - removed parallel preening code; this is part of fsck(8) - use printing utilities from fsck(8) - Makefile does not make links to fsck and fsck.8 - removed -l maxparallel option. It has no meaning anymore.
|
| 1.11 |
| 05-Apr-1996 |
cgd | check in changes proposed in PR 2006 (approved by J.T.), to rename fsck to fsck_ffs, so that in the future 'fsck' can be a wrapper than invokes appropriate filesystem-specific checker programs. For now, the only user-visible change is that the names have changed in the manual page and in error messages; fsck and fsck.8 are now links to fsck_ffs and fsck_ffs.8, until the rest of the transition is complete.
|
| 1.10 |
| 18-Mar-1995 |
cgd | convert to new RCS Id conventions; reduce my headache
|
| 1.9 |
| 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.8 |
| 30-Jun-1994 |
cgd | deal with new share/doc strategy
|
| 1.7 |
| 25-Jun-1994 |
cgd | update for new doc-make/install strategy
|
| 1.6 |
| 08-Jun-1994 |
mycroft | Update from 4.4-Lite, with local changes.
|
| 1.5 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.4 |
| 28-Apr-1993 |
cgd | i don't think we're in sys.386bsd any more...
|
| 1.3 |
| 23-Mar-1993 |
cgd | changed "Id" to "Header" for rcsids
|
| 1.2 |
| 22-Mar-1993 |
cgd | added rcs ids to all files
|
| 1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 |
| 16-Sep-1997 |
lukem | imported from lite-2
|
| 1.1.1.2 |
| 13-Jun-1994 |
mycroft | Import 4.4-Lite version.
|
| 1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.22.4.1 |
| 19-Oct-1999 |
fvdl | Add -I${.CURDIR}/../../sys for convenience. Should not be merged with the trunk.
|
| 1.33.10.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.33.8.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
| 1.34.6.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.34.4.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
| 1.34.4.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.35.4.1 |
| 10-Jun-2008 |
simonb | Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block Logging) journaling code. Originally written by Darrin B. Jewell while at Wasabi and updated to -current by Antti Kantee, Andy Doran, Greg Oster and Simon Burge.
Still a number of issues - look in doc/BRANCHES for "simonb-wapbl" for more info.
|
| 1.35.2.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.38.4.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.40.2.1 |
| 20-Jan-2011 |
bouyer | Snapshot of work in progress on a modernised disk quota system: - new quotactl syscall (versionned for backward compat), which takes as parameter a path to a mount point, and a prop_dictionary (in plistref format) describing commands and arguments. For each command, status and data are returned as a prop_dictionary. quota commands features will be added to take advantage of this, exporting quota data or getting quota commands as plists.
- new on disk-format storage (all 64bit wide), integrated to metadata for ffs (and playing nicely with wapbl). Quotas are enabled on a ffs filesystem via superblock flags. tunefs(8) can enable or disable quotas. On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid block and inode usages, and will check and update quotas in Pass 6. quota usage and limits are stored in unliked files (one for users, one for groups)l fsck_ffs(8) will create the files if needed, or free them if needed. This means that after enabling or disabling quotas on a filesystem; a fsck_ffs(8) run is required. quotacheck(8) is not needed any more, on a unclean shutdown fsck or journal replay will take care of fixing quotas. newfs(8) can create a ready-to-mount quota-enabled filesystem (superblock flags are set and quota inodes are created). Other new features or semantic changes: - default quota datas, applied to users or groups which don't already have a quota entry - per-user/group grace time (instead of a filesystem global one) - 0 really means "nothing allowed at all", not "no limit". If you want "no limit", set the limit to UQUAD_MAX (tools will understand "unlimited" and "-")
A quota file is structured as follow: it starts with a header, containing a few per-filesystem values, and the default quota limits. Quota entries are linked together as a simple list, each entry has a pointer (as an offset withing the file) to the next. The header has a pointer to a list of free quota entries, and a hash table of in-use entries. The size of the hash table depends on the filesystem block size (header+hash table should fit in the first block). The file is not sparse and is a multiple of filesystem block size (when the free quota entry list is empty a new filesystem block is allocated). quota entries to not cross filesystem block boundaries.
In memory, the kernel keeps a cache of recently used quota entries as a reference to the block number, and offset withing the block. The quota entry itself is keept in the buf cache.
fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with related atf tests :) The kernel can update disk usage and report it via quotactl(2).
Todo: enforce quotas limits (limits are not checked by kernel yet) update repquota, edquota and rpc.rquotad to the new world implement compat_50_quotactl ioctl. update quotactl(2) man page
fsck_ffs required fixes so that allocating new blocks or inodes will properly update the superblock and cg sumaries. This was not an issue up to now because superblock and cg sumaries check happened last, but now allocations or frees can happen in pass 6.
|
| 1.41.2.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.43.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.44.8.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.44.2.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.46.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.46.2.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.48.10.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|