1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
| | This adds a minimal excerpt from hurd/hurd_types.h as src/hurd/hurd_types.h to
break a potential bootstrap cycle. We cannot add hurd-headers-boot0 as an
input, because hurd-headers-boot0 depends on coreutils-boot0.
The proper fix would be to remove the coreutils-boot0 dependency from the
gcc-boot0 origin snippet and use `delete-file-recursively' instead.
From f5b58dc60422d3e3ce65fc3e073c1d6f8ba46cc2 Mon Sep 17 00:00:00 2001
From: Janneke Nieuwenhuizen <janneke@gnu.org>
Date: Mon, 29 May 2023 14:47:33 +0200
Subject: [PATCH] src: Add src/hurd/hurd_types.h to break bootstrap cycle.
* src/hurd/hurd_types.h: New file.
---
src/hurd/hurd_types.h | 55 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
create mode 100644 src/hurd/hurd_types.h
diff --git a/src/hurd/hurd_types.h b/src/hurd/hurd_types.h
new file mode 100644
index 000000000..2b3e2fcbc
--- /dev/null
+++ b/src/hurd/hurd_types.h
@@ -0,0 +1,55 @@
+/* C declarations for Hurd server interfaces
+
+ Copyright (C) 1993-1996, 1998, 1999, 2001, 2002, 2010, 2014-2019
+ Free Software Foundation, Inc.
+
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ The GNU Hurd is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with the GNU Hurd. If not, see <http://www.gnu.org/licenses/>. */
+
+#ifndef _HURD_TYPES_H
+#define _HURD_TYPES_H
+
+/* st_fstype in struct stat and fsys_stb_type in fsys_statfsbuf is one of: */
+#define FSTYPE_UFS 0x00000000 /* 4.x BSD Fast File System */
+#define FSTYPE_NFS 0x00000001 /* Network File System ala Sun */
+#define FSTYPE_GFS 0x00000002 /* GNU file system */
+#define FSTYPE_LFS 0x00000003 /* Logging File System ala Sprite */
+#define FSTYPE_SYSV 0x00000004 /* Old U*x filesystem ala System V */
+#define FSTYPE_FTP 0x00000005 /* Transparent FTP */
+#define FSTYPE_TAR 0x00000006 /* Transparent TAR */
+#define FSTYPE_AR 0x00000007 /* Transparent AR */
+#define FSTYPE_CPIO 0x00000008 /* Transparent CPIO */
+#define FSTYPE_MSLOSS 0x00000009 /* MS-DOS */
+#define FSTYPE_CPM 0x0000000a /* CP/M */
+#define FSTYPE_HFS 0x0000000b /* Don't ask */
+#define FSTYPE_DTFS 0x0000000c /* used by desktop to provide more info */
+#define FSTYPE_GRFS 0x0000000d /* GNU Remote File System */
+#define FSTYPE_TERM 0x0000000e /* GNU Terminal driver */
+#define FSTYPE_DEV 0x0000000f /* GNU Special file server */
+#define FSTYPE_PROC 0x00000010 /* /proc filesystem ala Version 9 */
+#define FSTYPE_IFSOCK 0x00000011 /* PF_LOCAL socket naming point */
+#define FSTYPE_AFS 0x00000012 /* Andrew File System 3.xx */
+#define FSTYPE_DFS 0x00000013 /* Distributed File Sys (OSF) == AFS 4.xx */
+#define FSTYPE_PROC9 0x00000014 /* /proc filesystem ala Plan 9 */
+#define FSTYPE_SOCKET 0x00000015 /* io_t that isn't a file but a socket */
+#define FSTYPE_MISC 0x00000016 /* generic trivfs server */
+#define FSTYPE_EXT2FS 0x00000017 /* Linux filesystem by Remy Card */
+#define FSTYPE_HTTP 0x00000018 /* Transparent HTTP */
+#define FSTYPE_MEMFS 0x00000019 /* In-core filesystem */
+#define FSTYPE_ISO9660 0x0000001a /* ISO9660 */
+#define FSTYPE_PCI 0x0000001b /* PCI filesystem */
+#define FSTYPE_ACPI 0x0000001c /* ACPI filesystem */
+
+#endif
--
2.40.1
|