Detects if filesystem is supported by QuestDB. The function returns both FS magic and name. Both can be presented to user even if file system is not supported. @param lpszName existing path on the file system. The name of the filesystem is written to this address, therefore name sho
(LPSZ lpszName)
| 234 | * positive number is magic that is not supported. |
| 235 | */ |
| 236 | public static int getFileSystemStatus(LPSZ lpszName) { |
| 237 | int status = getFileSystemStatus(lpszName.ptr()); |
| 238 | if (status == VIRTIO_FS_MAGIC) { |
| 239 | VIRTIO_FS_DETECTED = true; |
| 240 | } |
| 241 | return status; |
| 242 | } |
| 243 | |
| 244 | public static long getLastModified(LPSZ lpsz) { |
| 245 | return getLastModified(lpsz.ptr()); |