Rename FFS to UFS.

This commit is contained in:
2026-03-10 00:06:26 +00:00
parent 6fc7dfe572
commit 98ac04e495
15 changed files with 1303 additions and 1302 deletions

View File

@@ -64,6 +64,7 @@
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=sysv/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=sysv/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=ucsdpascal/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=ucsdpascal/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=udf/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=udf/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=ufs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=unicos/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=unicos/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=unixbfs/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=unixbfs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=vmfs/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=vmfs/@EntryIndexedValue">True</s:Boolean>

File diff suppressed because it is too large Load Diff

View File

@@ -843,8 +843,8 @@
<data name="FAT_Plus" xml:space="preserve"> <data name="FAT_Plus" xml:space="preserve">
<value>FAT+</value> <value>FAT+</value>
</data> </data>
<data name="FFSPlugin_Name" xml:space="preserve"> <data name="UFSPlugin_Name" xml:space="preserve">
<value>Sistema de Ficheros Rápido de BSD (o Sistema de Ficheros de UNIX, UFS)</value> <value>Sistema de Ficheros de UNIX</value>
</data> </data>
<data name="Filesystem_contains_0_big_blocks_1_bytes" xml:space="preserve"> <data name="Filesystem_contains_0_big_blocks_1_bytes" xml:space="preserve">
<value>El sistema de ficheros contiene {0} "bloques grandes" ({1} bytes)</value> <value>El sistema de ficheros contiene {0} "bloques grandes" ({1} bytes)</value>

View File

@@ -2070,8 +2070,8 @@
<data name="Volume_created_on_kernel_version_0" xml:space="preserve"> <data name="Volume_created_on_kernel_version_0" xml:space="preserve">
<value>Volume created on kernel version: {0}</value> <value>Volume created on kernel version: {0}</value>
</data> </data>
<data name="FFSPlugin_Name" xml:space="preserve"> <data name="UFSPlugin_Name" xml:space="preserve">
<value>BSD Fast File System (aka UNIX File System, UFS)</value> <value>BSD UNIX File System</value>
</data> </data>
<data name="Not_a_UFS_filesystem_I_shouldnt_have_arrived_here" xml:space="preserve"> <data name="Not_a_UFS_filesystem_I_shouldnt_have_arrived_here" xml:space="preserve">
<value>Not a UFS filesystem, I shouldn't have arrived here!</value> <value>Not a UFS filesystem, I shouldn't have arrived here!</value>

View File

@@ -34,7 +34,7 @@ namespace Aaru.Filesystems;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary> /// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary>
[SuppressMessage("ReSharper", "InconsistentNaming")] [SuppressMessage("ReSharper", "InconsistentNaming")]
public sealed partial class FFSPlugin public sealed partial class UFSPlugin
{ {
const uint block_size = 8192; const uint block_size = 8192;

View File

@@ -44,7 +44,7 @@ namespace Aaru.Filesystems;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary> /// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary>
[SuppressMessage("ReSharper", "InconsistentNaming")] [SuppressMessage("ReSharper", "InconsistentNaming")]
public sealed partial class FFSPlugin public sealed partial class UFSPlugin
{ {
#region IFilesystem Members #region IFilesystem Members

View File

@@ -36,7 +36,7 @@ namespace Aaru.Filesystems;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary> /// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary>
[SuppressMessage("ReSharper", "InconsistentNaming")] [SuppressMessage("ReSharper", "InconsistentNaming")]
public sealed partial class FFSPlugin public sealed partial class UFSPlugin
{ {
#region Nested type: Checksum #region Nested type: Checksum

View File

@@ -2,7 +2,7 @@
// Aaru Data Preservation Suite // Aaru Data Preservation Suite
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// //
// Filename : FFS.cs // Filename : UFS.cs
// Author(s) : Natalia Portillo <claunia@claunia.com> // Author(s) : Natalia Portillo <claunia@claunia.com>
// //
// Component : BSD Fast File System plugin. // Component : BSD Fast File System plugin.
@@ -36,14 +36,14 @@ namespace Aaru.Filesystems;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary> /// <summary>Implements detection of BSD Fast File System (FFS, aka UNIX File System)</summary>
[SuppressMessage("ReSharper", "InconsistentNaming")] [SuppressMessage("ReSharper", "InconsistentNaming")]
public sealed partial class FFSPlugin : IFilesystem public sealed partial class UFSPlugin : IFilesystem
{ {
const string MODULE_NAME = "FFS plugin"; const string MODULE_NAME = "UFS plugin";
#region IFilesystem Members #region IFilesystem Members
/// <inheritdoc /> /// <inheritdoc />
public string Name => Localization.FFSPlugin_Name; public string Name => Localization.UFSPlugin_Name;
/// <inheritdoc /> /// <inheritdoc />
public Guid Id => new("CC90D342-05DB-48A8-988C-C1FE000034A3"); public Guid Id => new("CC90D342-05DB-48A8-988C-C1FE000034A3");

View File

@@ -38,7 +38,7 @@ namespace Aaru.Tests.Filesystems.UFS;
public class APM : FilesystemTest public class APM : FilesystemTest
{ {
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (APM)"); public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (APM)");
public override IFilesystem Plugin => new FFSPlugin(); public override IFilesystem Plugin => new UFSPlugin();
public override bool Partitions => true; public override bool Partitions => true;
public override FileSystemTest[] Tests => public override FileSystemTest[] Tests =>

View File

@@ -38,7 +38,7 @@ namespace Aaru.Tests.Filesystems.UFS;
public class MBR : FilesystemTest public class MBR : FilesystemTest
{ {
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (MBR)"); public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (MBR)");
public override IFilesystem Plugin => new FFSPlugin(); public override IFilesystem Plugin => new UFSPlugin();
public override bool Partitions => true; public override bool Partitions => true;
public override FileSystemTest[] Tests => public override FileSystemTest[] Tests =>

View File

@@ -38,7 +38,7 @@ namespace Aaru.Tests.Filesystems.UFS;
public class NeXT : FilesystemTest public class NeXT : FilesystemTest
{ {
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (NeXT)"); public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (NeXT)");
public override IFilesystem Plugin => new FFSPlugin(); public override IFilesystem Plugin => new UFSPlugin();
public override bool Partitions => true; public override bool Partitions => true;
public override FileSystemTest[] Tests => public override FileSystemTest[] Tests =>

View File

@@ -40,7 +40,7 @@ namespace Aaru.Tests.Filesystems.UFS;
public class NeXT_Floppy : FilesystemTest public class NeXT_Floppy : FilesystemTest
{ {
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (NeXT)"); public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (NeXT)");
public override IFilesystem Plugin => new FFSPlugin(); public override IFilesystem Plugin => new UFSPlugin();
public override bool Partitions => true; public override bool Partitions => true;
public override FileSystemTest[] Tests => public override FileSystemTest[] Tests =>

View File

@@ -38,7 +38,7 @@ namespace Aaru.Tests.Filesystems.UFS;
public class RDB : FilesystemTest public class RDB : FilesystemTest
{ {
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (RDB)"); public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (RDB)");
public override IFilesystem Plugin => new FFSPlugin(); public override IFilesystem Plugin => new UFSPlugin();
public override bool Partitions => true; public override bool Partitions => true;
public override FileSystemTest[] Tests => public override FileSystemTest[] Tests =>

View File

@@ -42,7 +42,7 @@ public class Sun_i86 : FilesystemTest
public override string DataFolder => public override string DataFolder =>
Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (SunOS x86)"); Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem (SunOS x86)");
public override IFilesystem Plugin => new FFSPlugin(); public override IFilesystem Plugin => new UFSPlugin();
public override bool Partitions => true; public override bool Partitions => true;
public override FileSystemTest[] Tests => public override FileSystemTest[] Tests =>

View File

@@ -39,7 +39,7 @@ public class Whole : FilesystemTest
{ {
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem"); public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "UNIX filesystem");
public override IFilesystem Plugin => new FFSPlugin(); public override IFilesystem Plugin => new UFSPlugin();
public override bool Partitions => false; public override bool Partitions => false;
public override FileSystemTest[] Tests => public override FileSystemTest[] Tests =>