History log of /freebsd-current/usr.sbin/fstyp/tests/fstyp_test.sh
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 0e92585c 17-Aug-2021 Piotr Pawel Stefaniak <pstef@FreeBSD.org>

fstyp: add BeFS support

A simple support for detecting BeFS (BeOS) filesystem

Submitted by: Miguel Gocobachi
Differential Revision: https://reviews.freebsd.org/D29917


# bfd735d9 23-Jun-2020 Li-Wen Hsu <lwhsu@FreeBSD.org>

Revert r362390, those tests are fixed by r362418

PR: 247425
Sponsored by: The FreeBSD Foundation


# 865c7b71 19-Jun-2020 Li-Wen Hsu <lwhsu@FreeBSD.org>

Skip ufs related tests in fstyp(8) and makefs(8) temporarily

They are failing after r362358 and r362359.

PR: 247425
Sponsored by: The FreeBSD Foundation


# 85b4c344 21-Dec-2019 Conrad Meyer <cem@FreeBSD.org>

fstyp(8): Show exFAT volume labels with -l flag

exfat is fundamentally the same design as fat32. The superblock differs
marginally, and there are some additional optional features irrelevant to
fstype(8); the structure of dirents has changed slightly to enable, among
other things, larger files; the directory entries are no longer DOS 8.3
ASCII or local 8-bit encoding, but instead explicitly UCS-2-LE.

(As a result, this change uses iconv to convert a found exfat volume label
to the user's locale.)

Locating the volume label is identical to FAT32: locate the root directory
and walk through dirents until you find a volume label. Like FAT32, follow
the FAT chain between root directory clusters as necessary.

PR: 242225
Reported by: Victor Sudakov <vas AT sibptus.ru>


# 809a8352 11-Mar-2019 Alan Somers <asomers@FreeBSD.org>

Drop "All rights reserved" from the files I own

Also, add SPDX tags where needed.

MFC after: 2 weeks


# 4a6ace73 13-Jan-2017 Conrad Meyer <cem@FreeBSD.org>

Fix broken fstyp exfat testcase

Introduced in r312010.

It helps to read the documentation before trying to test something.


# ef7ff3e3 12-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Use dfr-01-xfat.img.bz2, not dfr-01-xfat.dd.bz2 (the latter
case was the full disk image from the website, which was never
checked in to svn)

Regardless, the testcase still fails

PR: 214908
Sponsored by: Dell EMC Isilon


# 6f81c4d9 12-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Add testcase for exFAT that currently fails

Disk image obtained from:
http://www.cfreds.nist.gov/dfr-images/dfr-01-xfat.dd.bz2 -- was ripped off the
first GPT partition and verified to be a FAT-like partition with file(1)/hexdump.

This testcase currently fails

PR: 214908
Sponsored by: Dell EMC Isilon


# cebf8a2c 12-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Add license preamble for r286964; credit to asomers

While here, clean up trailing whitespace

MFC after: 3 days
Sponsored by: Dell EMC Isilon


# d60f0f1c 20-Aug-2015 Alan Somers <asomers@FreeBSD.org>

Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet.

Reviewed by: trasz, ngie
MFC after: 2 weeks
Sponsored by: SpectraLogic
Differential Revision: https://reviews.freebsd.org/D2801