2017-07-19 16:31:08 +01:00
|
|
|
|
// /***************************************************************************
|
2016-05-05 00:59:36 +01:00
|
|
|
|
// The Disc Image Chef
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
//
|
|
|
|
|
|
// Filename : BTRFS.cs
|
2016-07-28 18:13:49 +01:00
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
2016-05-05 00:59:36 +01:00
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
|
// Component : B-tree file system plugin.
|
2016-05-05 00:59:36 +01:00
|
|
|
|
//
|
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
|
// Identifies the B-tree file system and shows information.
|
2016-05-05 00:59:36 +01:00
|
|
|
|
//
|
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
|
// 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
|
2016-05-05 00:59:36 +01:00
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
|
// 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.
|
2016-05-05 00:59:36 +01:00
|
|
|
|
//
|
2016-07-28 18:13:49 +01:00
|
|
|
|
// 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/>.
|
2016-05-05 00:59:36 +01:00
|
|
|
|
//
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2018-12-29 17:34:38 +00:00
|
|
|
|
// Copyright © 2011-2019 Natalia Portillo
|
2016-05-05 00:59:36 +01:00
|
|
|
|
// ****************************************************************************/
|
2016-07-28 18:13:49 +01:00
|
|
|
|
|
2016-05-05 00:59:36 +01:00
|
|
|
|
using System;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
using System.Text;
|
2017-07-19 16:31:08 +01:00
|
|
|
|
using DiscImageChef.CommonTypes;
|
2018-06-25 19:08:16 +01:00
|
|
|
|
using DiscImageChef.CommonTypes.Interfaces;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
using DiscImageChef.Console;
|
2017-12-21 14:30:38 +00:00
|
|
|
|
using Schemas;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2016-07-21 16:15:39 +01:00
|
|
|
|
namespace DiscImageChef.Filesystems
|
2016-05-05 00:59:36 +01:00
|
|
|
|
{
|
2017-12-26 06:05:12 +00:00
|
|
|
|
public class BTRFS : IFilesystem
|
2016-05-05 00:59:36 +01:00
|
|
|
|
{
|
2016-05-05 01:00:47 +01:00
|
|
|
|
/// <summary>
|
2017-12-24 02:37:41 +00:00
|
|
|
|
/// BTRFS magic "_BHRfS_M"
|
2016-05-05 01:00:47 +01:00
|
|
|
|
/// </summary>
|
2018-06-20 22:22:21 +01:00
|
|
|
|
const ulong BTRFS_MAGIC = 0x4D5F53665248425F;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2017-12-26 08:01:40 +00:00
|
|
|
|
public FileSystemType XmlFsType { get; private set; }
|
2018-06-22 08:08:38 +01:00
|
|
|
|
public Encoding Encoding { get; private set; }
|
|
|
|
|
|
public string Name => "B-tree file system";
|
|
|
|
|
|
public Guid Id => new Guid("C904CF15-5222-446B-B7DB-02EAC5D781B3");
|
2018-08-29 22:15:43 +01:00
|
|
|
|
public string Author => "Natalia Portillo";
|
2016-07-27 13:32:45 +01:00
|
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
|
public bool Identify(IMediaImage imagePlugin, Partition partition)
|
2016-05-05 01:00:47 +01:00
|
|
|
|
{
|
2017-12-19 20:33:03 +00:00
|
|
|
|
if(partition.Start >= partition.End) return false;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
|
ulong sbSectorOff = 0x10000 / imagePlugin.Info.SectorSize;
|
|
|
|
|
|
uint sbSectorSize = 0x1000 / imagePlugin.Info.SectorSize;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2017-12-20 17:26:28 +00:00
|
|
|
|
if(sbSectorOff + partition.Start >= partition.End) return false;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
|
byte[] sector = imagePlugin.ReadSectors(sbSectorOff + partition.Start, sbSectorSize);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
SuperBlock btrfsSb;
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
{
|
2019-03-01 00:28:55 +00:00
|
|
|
|
btrfsSb = Helpers.Marshal.ByteArrayToStructureLittleEndian<SuperBlock>(sector);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
|
catch { return false; }
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "sbSectorOff = {0}", sbSectorOff);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "sbSectorSize = {0}", sbSectorSize);
|
2017-07-19 16:37:11 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "partition.PartitionStartSector = {0}", partition.Start);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.magic = 0x{0:X16}", btrfsSb.magic);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2018-06-20 22:22:21 +01:00
|
|
|
|
return btrfsSb.magic == BTRFS_MAGIC;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
|
public void GetInformation(IMediaImage imagePlugin, Partition partition, out string information,
|
2018-06-22 08:08:38 +01:00
|
|
|
|
Encoding encoding)
|
2016-05-05 01:00:47 +01:00
|
|
|
|
{
|
2017-12-26 08:01:40 +00:00
|
|
|
|
Encoding = encoding ?? Encoding.GetEncoding("iso-8859-15");
|
2016-05-05 01:00:47 +01:00
|
|
|
|
StringBuilder sbInformation = new StringBuilder();
|
2018-06-22 08:08:38 +01:00
|
|
|
|
XmlFsType = new FileSystemType();
|
2016-05-05 01:00:47 +01:00
|
|
|
|
information = "";
|
|
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
|
ulong sbSectorOff = 0x10000 / imagePlugin.Info.SectorSize;
|
|
|
|
|
|
uint sbSectorSize = 0x1000 / imagePlugin.Info.SectorSize;
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2017-07-19 16:37:11 +01:00
|
|
|
|
byte[] sector = imagePlugin.ReadSectors(sbSectorOff + partition.Start, sbSectorSize);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2019-03-01 00:28:55 +00:00
|
|
|
|
SuperBlock btrfsSb = Helpers.Marshal.ByteArrayToStructureLittleEndian<SuperBlock>(sector);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.checksum = {0}", btrfsSb.checksum);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.uuid = {0}", btrfsSb.uuid);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.pba = {0}", btrfsSb.pba);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.flags = {0}", btrfsSb.flags);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.magic = {0}", btrfsSb.magic);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.generation = {0}", btrfsSb.generation);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.root_lba = {0}", btrfsSb.root_lba);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.chunk_lba = {0}", btrfsSb.chunk_lba);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.log_lba = {0}", btrfsSb.log_lba);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.log_root_transid = {0}", btrfsSb.log_root_transid);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.total_bytes = {0}", btrfsSb.total_bytes);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.bytes_used = {0}", btrfsSb.bytes_used);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.root_dir_objectid = {0}", btrfsSb.root_dir_objectid);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.num_devices = {0}", btrfsSb.num_devices);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.sectorsize = {0}", btrfsSb.sectorsize);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.nodesize = {0}", btrfsSb.nodesize);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.leafsize = {0}", btrfsSb.leafsize);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.stripesize = {0}", btrfsSb.stripesize);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.n = {0}", btrfsSb.n);
|
2017-12-19 20:33:03 +00:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.chunk_root_generation = {0}",
|
|
|
|
|
|
btrfsSb.chunk_root_generation);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.compat_flags = 0x{0:X16}", btrfsSb.compat_flags);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.compat_ro_flags = 0x{0:X16}", btrfsSb.compat_ro_flags);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.incompat_flags = 0x{0:X16}", btrfsSb.incompat_flags);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.csum_type = {0}", btrfsSb.csum_type);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.root_level = {0}", btrfsSb.root_level);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.chunk_root_level = {0}", btrfsSb.chunk_root_level);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.log_root_level = {0}", btrfsSb.log_root_level);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.id = 0x{0:X16}", btrfsSb.dev_item.id);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.bytes = {0}", btrfsSb.dev_item.bytes);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.used = {0}", btrfsSb.dev_item.used);
|
2017-12-19 20:33:03 +00:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.optimal_align = {0}",
|
|
|
|
|
|
btrfsSb.dev_item.optimal_align);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.optimal_width = {0}",
|
|
|
|
|
|
btrfsSb.dev_item.optimal_width);
|
|
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.minimal_size = {0}",
|
|
|
|
|
|
btrfsSb.dev_item.minimal_size);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.type = {0}", btrfsSb.dev_item.type);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.generation = {0}", btrfsSb.dev_item.generation);
|
2017-12-19 20:33:03 +00:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.start_offset = {0}",
|
|
|
|
|
|
btrfsSb.dev_item.start_offset);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.dev_group = {0}", btrfsSb.dev_item.dev_group);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.seek_speed = {0}", btrfsSb.dev_item.seek_speed);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.bandwitdh = {0}", btrfsSb.dev_item.bandwitdh);
|
2017-12-19 20:33:03 +00:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.device_uuid = {0}",
|
|
|
|
|
|
btrfsSb.dev_item.device_uuid);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.dev_item.uuid = {0}", btrfsSb.dev_item.uuid);
|
2018-06-22 08:08:38 +01:00
|
|
|
|
DicConsole.DebugWriteLine("BTRFS Plugin", "btrfsSb.label = {0}", btrfsSb.label);
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
|
|
|
|
|
sbInformation.AppendLine("B-tree filesystem");
|
2016-09-02 06:07:40 +01:00
|
|
|
|
sbInformation.AppendFormat("UUID: {0}", btrfsSb.uuid).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("This superblock resides on physical block {0}", btrfsSb.pba).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Root tree starts at LBA {0}", btrfsSb.root_lba).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Chunk tree starts at LBA {0}", btrfsSb.chunk_lba).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Log tree starts at LBA {0}", btrfsSb.log_lba).AppendLine();
|
2017-12-19 20:33:03 +00:00
|
|
|
|
sbInformation.AppendFormat("Volume has {0} bytes spanned in {1} devices", btrfsSb.total_bytes,
|
|
|
|
|
|
btrfsSb.num_devices).AppendLine();
|
2016-09-02 06:07:40 +01:00
|
|
|
|
sbInformation.AppendFormat("Volume has {0} bytes used", btrfsSb.bytes_used).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("{0} bytes/sector", btrfsSb.sectorsize).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("{0} bytes/node", btrfsSb.nodesize).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("{0} bytes/leaf", btrfsSb.leafsize).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("{0} bytes/stripe", btrfsSb.stripesize).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Flags: 0x{0:X}", btrfsSb.flags).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Compatible flags: 0x{0:X}", btrfsSb.compat_flags).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Read-only compatible flags: 0x{0:X}", btrfsSb.compat_ro_flags).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Incompatible flags: 0x{0:X}", btrfsSb.incompat_flags).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Device's UUID: {0}", btrfsSb.dev_item.uuid).AppendLine();
|
|
|
|
|
|
sbInformation.AppendFormat("Volume label: {0}", btrfsSb.label).AppendLine();
|
2016-05-05 01:00:47 +01:00
|
|
|
|
|
|
|
|
|
|
information = sbInformation.ToString();
|
|
|
|
|
|
|
2017-12-26 08:01:40 +00:00
|
|
|
|
XmlFsType = new FileSystemType
|
2017-12-22 08:43:22 +00:00
|
|
|
|
{
|
2018-06-22 08:08:38 +01:00
|
|
|
|
Clusters = (long)(btrfsSb.total_bytes / btrfsSb.sectorsize),
|
|
|
|
|
|
ClusterSize = (int)btrfsSb.sectorsize,
|
2017-12-22 08:43:22 +00:00
|
|
|
|
FreeClustersSpecified = true,
|
2018-06-22 08:08:38 +01:00
|
|
|
|
VolumeName = btrfsSb.label,
|
|
|
|
|
|
VolumeSerial = $"{btrfsSb.uuid}",
|
|
|
|
|
|
VolumeSetIdentifier = $"{btrfsSb.dev_item.device_uuid}",
|
|
|
|
|
|
Type = Name
|
2017-12-22 08:43:22 +00:00
|
|
|
|
};
|
2017-12-26 08:01:40 +00:00
|
|
|
|
XmlFsType.FreeClusters = XmlFsType.Clusters - (long)(btrfsSb.bytes_used / btrfsSb.sectorsize);
|
2016-07-21 17:16:08 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
2017-12-24 02:37:41 +00:00
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
|
|
|
|
struct SuperBlock
|
|
|
|
|
|
{
|
2018-06-22 08:08:38 +01:00
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x20)]
|
|
|
|
|
|
public byte[] checksum;
|
|
|
|
|
|
public Guid uuid;
|
|
|
|
|
|
public ulong pba;
|
|
|
|
|
|
public ulong flags;
|
|
|
|
|
|
public ulong magic;
|
|
|
|
|
|
public ulong generation;
|
|
|
|
|
|
public ulong root_lba;
|
|
|
|
|
|
public ulong chunk_lba;
|
|
|
|
|
|
public ulong log_lba;
|
|
|
|
|
|
public ulong log_root_transid;
|
|
|
|
|
|
public ulong total_bytes;
|
|
|
|
|
|
public ulong bytes_used;
|
|
|
|
|
|
public ulong root_dir_objectid;
|
|
|
|
|
|
public ulong num_devices;
|
|
|
|
|
|
public uint sectorsize;
|
|
|
|
|
|
public uint nodesize;
|
|
|
|
|
|
public uint leafsize;
|
|
|
|
|
|
public uint stripesize;
|
|
|
|
|
|
public uint n;
|
|
|
|
|
|
public ulong chunk_root_generation;
|
|
|
|
|
|
public ulong compat_flags;
|
|
|
|
|
|
public ulong compat_ro_flags;
|
|
|
|
|
|
public ulong incompat_flags;
|
|
|
|
|
|
public ushort csum_type;
|
|
|
|
|
|
public byte root_level;
|
|
|
|
|
|
public byte chunk_root_level;
|
|
|
|
|
|
public byte log_root_level;
|
2017-12-24 02:37:41 +00:00
|
|
|
|
public DevItem dev_item;
|
2018-06-22 08:08:38 +01:00
|
|
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 0x100)]
|
|
|
|
|
|
public string label;
|
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x100)]
|
|
|
|
|
|
public byte[] reserved;
|
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x800)]
|
|
|
|
|
|
public byte[] chunkpairs;
|
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x4D5)]
|
|
|
|
|
|
public byte[] unused;
|
2017-12-24 02:37:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
|
|
|
|
struct DevItem
|
|
|
|
|
|
{
|
|
|
|
|
|
public ulong id;
|
|
|
|
|
|
public ulong bytes;
|
|
|
|
|
|
public ulong used;
|
2018-06-22 08:08:38 +01:00
|
|
|
|
public uint optimal_align;
|
|
|
|
|
|
public uint optimal_width;
|
|
|
|
|
|
public uint minimal_size;
|
2017-12-24 02:37:41 +00:00
|
|
|
|
public ulong type;
|
|
|
|
|
|
public ulong generation;
|
|
|
|
|
|
public ulong start_offset;
|
2018-06-22 08:08:38 +01:00
|
|
|
|
public uint dev_group;
|
|
|
|
|
|
public byte seek_speed;
|
|
|
|
|
|
public byte bandwitdh;
|
|
|
|
|
|
public Guid device_uuid;
|
|
|
|
|
|
public Guid uuid;
|
2017-12-24 02:37:41 +00:00
|
|
|
|
}
|
2016-05-05 00:59:36 +01:00
|
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
|
}
|