summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fstyp
Commit message (Collapse)AuthorAgeFilesLines
* Fix LDADD/DPADD that should be LIBADD.bdrewery2015-12-041-2/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Convert to LIBADDbdrewery2015-12-031-2/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-011-0/+32
| | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-2/+0
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Eliminate unneeded copying of vdev data, goto, etc. and add a notedelphij2015-09-172-19/+24
| | | | | | | | | | | | | that checksum of vdev label should be checked (which is not done currently). No functional change. While I'm there, raise WARNS to 2. Reviewed by: allanjude MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D3508
* Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet.asomers2015-08-209-0/+255
| | | | | | | Reviewed by: trasz, ngie MFC after: 2 weeks Sponsored by: SpectraLogic Differential Revision: https://reviews.freebsd.org/D2801
* Rather than hardcoding a string and limiting the comparison to thesebz2015-08-101-1/+1
| | | | | | | | | characters use the defined constant so that in case of change this would not break. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D3340 MFC after: 2 weeks
* fstyp(8) ships with 10.2.trasz2015-07-181-2/+2
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Remove excess copyright lines propogated by copy/pasteallanjude2015-07-122-6/+0
| | | | Approved by: trasz
* Switch fstyp build to toggle ZFS support on WITHOUT_ZFS rather than WITHOUT_CDDLallanjude2015-06-233-6/+6
| | | | | | | | PR: 200976 Approved by: imp MFC after: 1 week Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D2045
* Fix the build for gcc by lowering the WARNS levelallanjude2015-06-201-1/+1
| | | | | Approved by: sbruno X-MFC-With: r284589
* Add the ability to detect ZFS and GELI encrypted file systems to fstyp(8)allanjude2015-06-196-19/+244
| | | | | | | | | | | | Functionality is hidden behind the -u flag to avoid confusing automounters PR: 200823 Reviewed by: asomers, eadler, wblock (man page) Approved by: trasz MFC after: 10 days Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D2045
* Fix off-by-one error in fstyp(8) and geom_label(4) that made them usetrasz2015-06-184-18/+19
| | | | | | | | | | | a single space (" ") as a CD9660 label name when no label was present. Similar problem was also present in msdosfs label recognition. PR: 200828 Differential Revision: https://reviews.freebsd.org/D2830 Reviewed by: asomers@, emaste@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Improve wording.trasz2015-01-141-4/+4
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix detection of ext2/ext3 filesystems that lack labels.trasz2015-01-131-6/+0
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix memory leaks.trasz2015-01-052-1/+2
| | | | | | CID: 1258582, 1258583. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Remove leftovers.trasz2015-01-052-4/+0
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Add fstyp(8). This utility, named after its SVR4 counterpart, detectstrasz2014-12-1010-0/+1121
filesystems. It differs from file(1) in that it gives machine-parseable output, it outputs filesystem labels, doesn't get confused by other formats metadata, and runs in Capsicum sandbox. Differential Revision: https://reviews.freebsd.org/D1255 Relnotes: yes Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud