equal
deleted
inserted
replaced
107 } |
107 } |
108 } |
108 } |
109 |
109 |
110 private static final void checkDataVolume() throws IOException { |
110 private static final void checkDataVolume() throws IOException { |
111 System.out.format("--- Checking data volume %s ---%n", DATA_VOLUME); |
111 System.out.format("--- Checking data volume %s ---%n", DATA_VOLUME); |
112 Path data = Path.of(DATA_VOLUME, "tmp"); |
112 Path data = Path.of(DATA_VOLUME, "private", "tmp"); |
113 if (Files.getFileStore(data).isReadOnly()) { |
113 if (Files.getFileStore(data).isReadOnly()) { |
114 throw new RuntimeException("Data volume is read-only"); |
114 throw new RuntimeException("Data volume is read-only"); |
115 } |
115 } |
116 |
116 |
117 Path tempDir = Files.createTempDirectory(data, "tempDir"); |
117 Path tempDir = Files.createTempDirectory(data, "tempDir"); |