apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00
Carter Li
f22d73d473
PhysicalDisk: trim white spaces of serial
2025-05-13 18:29:46 +08:00
李通洲
50ea515476
PhysicalDisk (Linux): don't detect disk type of virtual disks
...
Fix #1697
2025-04-18 16:10:01 +08:00
李通洲
536ad9594e
PhysicalDisk (Linux): add more disk types
2025-04-05 22:35:42 +08:00
李通洲
a57bbbadf4
PhysicalDisk (Linux): don't detect disk type for virtual disks
...
Fix #1669
2025-04-05 22:35:42 +08:00
李通洲
b8b2fab499
Haiku: fix building
2025-02-18 15:49:39 +08:00
李通洲
6fd4720faf
PhysicalDisk (Haiku): fix drive size calcuation
2025-02-18 10:13:25 +08:00
李通洲
a13935e232
PhysicalDisk (Haiku): fix SCSI drive detection
2025-02-17 21:21:28 +08:00
Carter Li
716f0a3bbb
PhysicalDisk (Haiku): report drive type
2025-02-16 21:43:35 +08:00
Carter Li
17711ee5c8
PhysicalDisk (Haiku): add support
2025-02-16 20:12:46 +08:00
Carter Li
fdbd8d9ad5
Chore: forbid using of VLAs
2025-01-14 10:28:22 +08:00
Carter Li
14d6157901
PhysicalDisk (Linux): fix interconnect type detection
...
Regression of b5a9d64
Fix #1453
2024-12-20 16:38:30 +08:00
李通洲
97e1b987dd
Global: pack all enums and make flag enums unsigned
2024-11-14 11:00:44 +08:00
Carter Li
f7288fec01
Global: support DragonFly BSD
2024-11-03 08:35:11 +08:00
李通洲
7a3afa4adf
PhysicalDisk (Linux): don't report obviously invalid temp
2024-10-18 16:49:36 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
Carter Li
b5a9d64e75
PhysicalDisk (Linux): simplify
2024-10-15 10:29:50 +08:00
Carter Li
08cdeb3bcf
PhysicalDisk (Linux): simplify code
2024-10-12 13:29:58 +08:00
李通洲
9b4053e9dc
Chore: remove temps_linux
2024-09-24 01:51:45 +00:00
Carter Li
86a96da9ab
PhysicalDisk (Linux): cleanup temp detection code
2024-09-23 16:42:34 +08:00
李通洲
952152edf0
Global (macOS): always check NULL after IORegistryEntryCreateCFProperty
2024-07-26 08:46:34 +08:00
李通洲
c5fdcc5cfc
PhysicalDisk (Linux): detect revision of USB devices
2024-07-05 02:40:15 +00:00
李通洲
b25ffda90b
PhysicalDisk: silence compiler warnings
2024-07-03 16:24:17 +08:00
Carter Li
d35490aeef
Fastfetch: make it compile on SunOS
2024-06-16 01:02:48 +08:00
Shu Niu
758ddae344
macOS: Add support for old MacOS version ( #936 )
...
* Add support for old MacOS version, fix-1.
* Add support for old MacOS version, fix-2.
* Add support for old MacOS version with fixing metal gpu api.
* Update disk_bsd.c
* Update disk_bsd.c
* Update gpu_apple.m
* Update monitor_apple.m
* Update os_apple.m
* Update wifi_apple.m
* Update camera_apple.m
* Update camera_apple.m
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2024-05-19 09:31:08 +08:00
李通洲
b6c8649cbf
macOS: improve IO service related code generally
2024-01-05 15:00:50 +08:00
Carter Li
0707902532
PhysicalDisk (Apple): trim strings
2023-12-29 23:33:16 +08:00
李通洲
4066c0d9e8
PhysicalDisk (Windows): improve stability
2023-12-28 14:50:39 +08:00
李通洲
150e9fc650
PhysicalDisk: prettify interconnect type
2023-12-28 13:47:21 +08:00
李通洲
36bce8fb0e
PhysicalDisk (macOS): fix a possible segfault
2023-12-28 13:41:40 +08:00
Carter Li
e5e70c1d92
PhysicalDisk (Linux): prettify interconnect type
2023-12-28 10:31:28 +08:00
Carter Li
12065bcfb0
PhysicalDisk (Linux): display nvme namespace id if needed
2023-12-28 10:28:21 +08:00
Carter Li
01fb491289
PhysicalDisk (FreeBSD): detect NVMe connect type
2023-12-27 15:32:17 +08:00
Carter Li
62647c3cb9
PhysicalDisk (FreeBSD): add comments
2023-12-27 11:14:15 +08:00
Carter Li
42694042f5
PhysicalDisk (FreeBSD): fix read-only type detection
2023-12-27 11:03:01 +08:00
李通洲
969a67ed0f
PhysicalDisk (macOS): detect temp
2023-12-27 10:00:29 +08:00
李通洲
0972eb6986
PhysicalDisk: detect temp
2023-12-26 19:57:24 +08:00
李通洲
91089a7fe9
PhysicalDisk (Windows): init variables
2023-12-25 20:02:41 +08:00
李通洲
677f39420b
PhysicalDisk: print product revision
2023-12-25 18:33:39 +08:00
李通洲
f2da8305c7
PhysicalDisk (Windows): detect revision
2023-12-25 18:22:04 +08:00
李通洲
060082885b
PhysicalDisk: rename firmwareRev to revision
2023-12-25 18:21:23 +08:00
李通洲
3134a04b5c
PhysicalDisk (Linux): don't append diskseq
2023-12-25 18:12:02 +08:00
李通洲
d3bcef61da
PhysicalDisk (macOS): detect firmware revision
2023-12-25 16:40:59 +08:00
Carter Li
b2cabd2af7
PhysicalDisk (Linux): detect firmware revision
2023-12-25 16:32:34 +08:00
Carter Li
5e85864ab0
PhysicalDisk (FreeBSD): detect read-only
2023-12-25 14:49:49 +08:00
李通洲
3b6d5468da
PhysicalDisk (macOS): detect read-only
2023-12-25 14:47:12 +08:00
李通洲
c100e0dff7
PhysicalDisk (Windows): detect CDROMs; detect read-only
2023-12-24 23:27:57 +08:00
李通洲
02999ae4bf
PhysicalDisk (Linux): detect readonly
2023-12-24 22:34:45 +08:00
李通洲
b5a01400e9
PhysicalDisk (Linux): detect more interconnect type
2023-12-24 22:31:36 +08:00
李通洲
ef8bd63075
PhysicalDisk (Linux): remove trailing spaces
2023-12-24 21:33:57 +08:00