// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : Consts.cs // Author(s) : Natalia Portillo // // Component : Apple Hierarchical File System plugin. // // --[ Description ] ---------------------------------------------------------- // // Apple Hierarchical File System constants. // // --[ 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 . // // ---------------------------------------------------------------------------- // Copyright © 2011-2022 Natalia Portillo // ****************************************************************************/ // ReSharper disable InconsistentNaming using System.Diagnostics.CodeAnalysis; namespace Aaru.Filesystems; // 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 { /// Parent ID of the root directory. const uint kRootParentCnid = 1; /// Directory ID of the root directory. const uint kRootCnid = 2; /// File number of the extents file. const uint kExtentsFileCnid = 3; /// File number of the catalog file. const uint kCatalogFileCnid = 4; /// File number of the bad allocation block file. const uint kBadBlocksFileCnid = 5; }