Adding /dev/rtc device in the Hurd as described on contributing website <https://darnassus.sceen.net/~hurd-web/contributing/#index1h2>.

/dev/rtc is useless until rtc and the functions for accessing it are added in dev_name_list in GNU mach.

---
 sutils/MAKEDEV.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index c3d7d112..6a65c8ea 100644
--- a/sutils/MAKEDEV.sh
+++ b/sutils/MAKEDEV.sh
@@ -120,7 +120,7 @@ mkdev() {
     ;;

       std)
-    mkdev console tty random urandom null zero full fd time mem klog shm
+    mkdev console tty random urandom null zero full fd time mem klog shm rtc
     ;;
       console|com[0-9])
     st $I root 600 c /hurd/term ${DEVDIR}/$I device $I;;
@@ -155,6 +155,8 @@ mkdev() {
     st $I root 644 c /hurd/storeio --no-cache time ;;
       mem)
     st $I root 660 c /hurd/storeio --no-cache mem ;;
+      rtc)
+    st $I root 660 c /hurd/devnode $I ;;
       klog)
         st $I root 660 c /hurd/streamio kmsg;;
       # ptys

--
Zhaoming Luo<zhaoming1...@qq.com>

Reply via email to