|
|
@ -63,8 +63,8 @@ You can test the native binding directly from your interactive Lua shell: |
|
|
```lua |
|
|
```lua |
|
|
$ lua54 |
|
|
$ lua54 |
|
|
Lua 5.4.8 Copyright (C) 1994-2025 Lua.org, PUC-Rio |
|
|
Lua 5.4.8 Copyright (C) 1994-2025 Lua.org, PUC-Rio |
|
|
> local sysmount = require("sysmount") |
|
|
> sysmount = require("sysmount") |
|
|
> local mounts = sysmount.getfsstat() |
|
|
> mounts = sysmount.getfsstat() |
|
|
> |
|
|
> |
|
|
> -- Print the first mount point entry |
|
|
> -- Print the first mount point entry |
|
|
> print(mounts[1].dev, "->", mounts[1].mnt, "[" .. mounts[1].type .. "]") |
|
|
> print(mounts[1].dev, "->", mounts[1].mnt, "[" .. mounts[1].type .. "]") |
|
|
|