From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B944121DF9673 for ; Tue, 8 Aug 2017 18:15:44 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 08 Aug 2017 18:18:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,346,1498546800"; d="scan'208";a="1160692827" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 08 Aug 2017 18:18:01 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 8 Aug 2017 18:18:01 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 8 Aug 2017 18:18:01 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.183]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.135]) with mapi id 14.03.0319.002; Wed, 9 Aug 2017 09:17:59 +0800 From: "Zeng, Star" To: Paulo Alcantara , "edk2-devel@lists.01.org" CC: Laszlo Ersek , "Justen, Jordan L" , Andrew Fish , "Kinney, Michael D" , "Gao, Liming" , "Dong, Eric" , "Doran, Mark" , "Ni, Ruiyu" , "Wu, Hao A" Thread-Topic: [PATCH 0/4] read-only UDF file system support Thread-Index: AQHTEH0kB1CEZ1rgY0WuTP8+R+LLS6J7OZaw Date: Wed, 9 Aug 2017 01:17:58 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B9132AF@shsmsx102.ccr.corp.intel.com> References: <20170808193143.18128-1-pcacjr@zytor.com> In-Reply-To: <20170808193143.18128-1-pcacjr@zytor.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 0/4] read-only UDF file system support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 01:15:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc Ray and Hao. -----Original Message----- From: Paulo Alcantara [mailto:pcacjr@zytor.com]=20 Sent: Wednesday, August 9, 2017 3:32 AM To: edk2-devel@lists.01.org Cc: Paulo Alcantara ; Laszlo Ersek ; J= usten, Jordan L ; Andrew Fish ;= Kinney, Michael D ; Gao, Liming ; Zeng, Star ; Dong, Eric ; Doran, Mark Subject: [PATCH 0/4] read-only UDF file system support Hi, I'm posting this series again after ~3 years that introduces UDF file syste= m support in UEFI. Why? Because Laszlo (or Red Hat) seemed to be interested= in such support. I started working on this driver just as an excuse to learn UEFI developmen= t at that time. This work isn't based on any previous one and it's BSD lice= nsed. I also *never* intended to replace it with the default FAT file syste= m. On the contrary, I was looking to give people an opportunity to use file= system features that current FAT file system lacks. This series was never reviewed or fully tested. I basically used Linux and = mkudffs[1] to test different UDF disks, as well as booting a Linux (EFI stu= b) rootfs from UDF file systems. Please, I'd really appreciate if some of o= ne could help reviewing or testing it. Note that UDF file system support was *only* added to OVMF platform and it'= s disabled by default through UDF_ENABLE build option. There's also a featu= re PCD flag that turns on or off parsing of UDF volumes during partition di= scovery in PartitionDxe driver. Branch: https://github.com/pcacjr/edk2/tree/udf-fs Cc: Laszlo Ersek Cc: Jordan Justen Cc: Andrew Fish Cc: Michael D Kinney Cc: Liming Gao Cc: Star Zeng Cc: Eric Dong Cc: Mark Doran Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Paulo Alcantara --- Paulo Alcantara (4): MdeModulePkg/PartitionDxe: Add UDF/ECMA-167 file system support MdeModulePkg: Initial UDF/ECMA-167 file system support MdeModulePkg/UdfDxe: Add seek, read and listing support on files OvmfPkg: Introduce UDF_ENABLE build flag MdeModulePkg/MdeModulePkg.dec | 6 + .../Universal/Disk/PartitionDxe/Partition.c | 3 +- .../Universal/Disk/PartitionDxe/Partition.h | 41 +- .../Universal/Disk/PartitionDxe/PartitionDxe.inf | 10 +- MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c | 335 +++ MdeModulePkg/Universal/Disk/UdfDxe/ComponentName.c | 185 ++ MdeModulePkg/Universal/Disk/UdfDxe/File.c | 901 +++++++ MdeModulePkg/Universal/Disk/UdfDxe/FileName.c | 195 ++ .../Universal/Disk/UdfDxe/FileSystemOperations.c | 2532 ++++++++++++++++= ++++ MdeModulePkg/Universal/Disk/UdfDxe/Udf.c | 407 ++++ MdeModulePkg/Universal/Disk/UdfDxe/Udf.h | 1276 ++++++++++ MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf | 66 + MdePkg/Include/IndustryStandard/Udf.h | 78 + OvmfPkg/OvmfPkgIa32.dsc | 7 + OvmfPkg/OvmfPkgIa32.fdf | 3 + OvmfPkg/OvmfPkgIa32X64.dsc | 7 + OvmfPkg/OvmfPkgIa32X64.fdf | 3 + OvmfPkg/OvmfPkgX64.dsc | 7 + OvmfPkg/OvmfPkgX64.fdf | 3 + 19 files changed, 6057 insertions(+), 8 deletions(-) create mode 100644 M= deModulePkg/Universal/Disk/PartitionDxe/Udf.c create mode 100644 MdeModulePkg/Universal/Disk/UdfDxe/ComponentName.c create mode 100644 MdeModulePkg/Universal/Disk/UdfDxe/File.c create mode 100644 MdeModulePkg/Universal/Disk/UdfDxe/FileName.c create mode 100644 MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations= .c create mode 100644 MdeModulePkg/Universal/Disk/UdfDxe/Udf.c create mode 100644 MdeModulePkg/Universal/Disk/UdfDxe/Udf.h create mode 100644 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf create mode 100644 MdePkg/Include/IndustryStandard/Udf.h -- 2.11.0