Files
Aaru/Aaru.Filesystems/AppleHFS/Consts.cs

56 lines
2.3 KiB
C#
Raw Normal View History

2020-02-18 23:38:11 +00:00
// /***************************************************************************
2020-02-27 12:31:25 +00:00
// Aaru Data Preservation Suite
2020-02-18 23:38:11 +00:00
// ----------------------------------------------------------------------------
//
2020-03-11 21:56:55 +00:00
// Filename : Consts.cs
2020-02-18 23:38:11 +00:00
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : Apple Hierarchical File System plugin.
//
// --[ Description ] ----------------------------------------------------------
//
2020-03-11 21:56:55 +00:00
// Apple Hierarchical File System constants.
2020-02-18 23:38:11 +00:00
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
2022-02-18 10:02:53 +00:00
// Copyright © 2011-2022 Natalia Portillo
2020-02-18 23:38:11 +00:00
// ****************************************************************************/
2022-03-07 07:36:44 +00:00
2020-07-20 07:47:12 +01:00
2020-07-20 21:11:32 +01:00
// ReSharper disable InconsistentNaming
2022-03-06 13:29:38 +00:00
namespace Aaru.Filesystems;
2022-03-07 07:36:44 +00:00
using System.Diagnostics.CodeAnalysis;
2022-03-06 13:29:38 +00:00
// Information from Inside Macintosh
// https://developer.apple.com/legacy/library/documentation/mac/pdf/Files/File_Manager.pdf
[SuppressMessage("ReSharper", "UnusedMember.Local")]
public sealed partial class AppleHFS
2020-02-18 23:38:11 +00:00
{
2022-03-06 13:29:38 +00:00
/// <summary>Parent ID of the root directory.</summary>
const uint kRootParentCnid = 1;
/// <summary>Directory ID of the root directory.</summary>
const uint kRootCnid = 2;
/// <summary>File number of the extents file.</summary>
const uint kExtentsFileCnid = 3;
/// <summary>File number of the catalog file.</summary>
const uint kCatalogFileCnid = 4;
/// <summary>File number of the bad allocation block file.</summary>
const uint kBadBlocksFileCnid = 5;
2020-02-18 23:38:11 +00:00
}