History log of /haiku/src/add-ons/kernel/file_systems/fat/encodings.cpp
Revision Date Author Comments
# c39da9b7 14-Aug-2021 Semion Dimov <congocongocongo@protonmail.com>

Fix build on OSX host

FreeBSD's stat command doesn't support -c/--format option and use %z specifier for file size

Change-Id: I368b6eef0a692df0f16bc1c3d5b5399fcf91e051
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4326
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 9f3ba01b 28-Dec-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

file_system/fat: Rework driver for fs_shell support

* Introduce fat_shell for build system fat manipulation
* Will theoretically let us do away with mtools when we
have another internal tool for partition manipulation

Change-Id: I661be556e79009842f157a9402c8f85da85d6336
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3556
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 08021a3b 12-Jul-2018 Matej Horvat <matej.horvat@guest.arnes.si>

fat: correctly read lowercase 8.3 filenames

Historically, FAT stored filenames as uppercase. Modern windows versions
will however be case-preserving. As a special case, all-uppercase files
from old FAT filesystems will be converted to all-lowercase. There are
two flags (one for filename and one for extension) indicating that this
should be done. We did not make the distinction between these two flags
when reading a filename.

We still don't set the flags properly when writing files, but we always
provide a long file name (even if the name would fit in the 8.3 pattern
for a short one, so when reading back our own entries, we should always
use the long filename and be safe.

Change-Id: I1618a5be22705de3a06534442b62074445069764


# 110eea45 02-May-2015 Michael Lotz <mmlr@mlotz.ch>

fat: Print format, whitespace and style cleanup only.

I took the liberty to convert most of the debug output from hex to
decimal as unprefixed hex values are rather confusing.


# b8c45ca1 17-Apr-2008 Michael Lotz <mmlr@mlotz.ch>

Just a bit of cleanup, remove trailing whitespace mostly. No functional changes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24995 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42cd7306 26-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Renamed "dos" file system to "fat".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22316 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 110eea4517ade1a0d69a82271d1106cfd68fa5c6 02-May-2015 Michael Lotz <mmlr@mlotz.ch>

fat: Print format, whitespace and style cleanup only.

I took the liberty to convert most of the debug output from hex to
decimal as unprefixed hex values are rather confusing.


# b8c45ca140b174e2dc3053a7d0ed7f40e3281824 17-Apr-2008 Michael Lotz <mmlr@mlotz.ch>

Just a bit of cleanup, remove trailing whitespace mostly. No functional changes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24995 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42cd7306a81f02f0b2d7d3ac7761a55156d0188f 26-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Renamed "dos" file system to "fat".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22316 a95241bf-73f2-0310-859d-f6bbb57e9c96