int main(string[] args)
{
    Posix.Stat st;
    if (Posix.stat("/", out st) != 0) {
        stderr.puts("failed to stat /");
        return 1;
    }
    stdout.printf("major: %u, minor: %u\n", Posix.major(st.st_rdev), Posix.minor(st.st_rdev));

    return 0;
}
