commit - 33bf1ca46df95a50bcf92dfa97e36620311e21ac
commit + 9ddaf4ab6cfa5370b63c0ccfc00533fea586d02d
blob - d54c0cb5093a50eb504667e6181c5362270784aa
blob + 7828bc25471c5c639fe640cd60c4f8380da0187d
--- Makefile
+++ Makefile
+# lsblk - list block devices
+# See LICENSE file for copyright and license details.
.POSIX:
VERSION = 0.1
blob - /dev/null
blob + cd104e354ad3ff856c554910c0b84c96677e681a (mode 644)
--- /dev/null
+++ LICENSE
+Copyright (c) 2023 Benjamin Stürz <benni@stuerz.xyz>
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
blob - ed0f461bdabb97eed90436858d7766557bca988b
blob + ca7156467d90f02b72e04e19b82d8915333f8400
--- lsblk.8
+++ lsblk.8
+.\" Copyright (c) 2023 Benjamin Stürz <benni@stuerz.xyz>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.TH LSBLK 8 lsblk-0.1 2023-04-08
.SH NAME
lsblk \- list block devices
blob - 78a36646696a653ace47134ea73902f38067ba6e
blob + 4ca173cf5a05c74057e3aeb581885443156ef86c
--- lsblk.c
+++ lsblk.c
+/*
+ * Copyright (c) 2023 Benjamin Stürz <benni@stuerz.xyz>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
#define _XOPEN_SOURCE 700
#define _BSD_SOURCE 1
#define DKTYPENAMES