Skip to content

Commit 2f4e458

Browse files
committed
Dynamic Disk Partitioner: Mount NTFS volume as readonly when write access is not needed
1 parent a09ff35 commit 2f4e458

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DynamicDiskPartitioner/ExportFileForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public ExportFileForm(Volume volume)
2626

2727
private void ExportFileForm_Load(object sender, EventArgs e)
2828
{
29-
m_fileSystem = FileSystemHelper.ReadFileSystem(m_volume);
29+
m_fileSystem = FileSystemHelper.ReadFileSystem(m_volume, true);
3030
if (m_fileSystem != null)
3131
{
3232
foreach (FileSystemEntry entry in m_fileSystem.ListEntriesInRootDirectory())

DynamicDiskPartitioner/Helpers/VolumeInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static string GetExtentsInformation(DynamicVolume volume)
113113
public static string GetFileSystemInformation(Volume volume)
114114
{
115115
StringBuilder builder = new StringBuilder();
116-
FileSystem fileSystem = FileSystemHelper.ReadFileSystem(volume);
116+
FileSystem fileSystem = FileSystemHelper.ReadFileSystem(volume, true);
117117
if (fileSystem != null)
118118
{
119119
builder.AppendFormat("File system: {0}\n", fileSystem.Name);

0 commit comments

Comments
 (0)