Hello everyone, Time for glibc questions :)
I have a question about utils/mount.c. In the contribution page it says "Move the mount/umount logic from utils/{,u}mount.c into glibc". After a short conversation with Thomas here 's how I think I will implement it : (glibc)/sysdeps/mach/hurd/mount.h : Declarations of mount, umount, umount2 and possible flags as described in http://www.gnu.org/software/libc/manual/html_node/Mount_002dUnmount_002dRemount.html and compared to [glibc]/sysdeps/unix/sysv/linux/sys/mount.h, so we can stay compatibile at the API level with other systems. (glibc)/sysdeps/mach/hurd/mount.hc: Mount/umount implementation. In other words move the implementation from hurd to glibc. (hurd)/utils/mount.c: A util which will use the glibc mount implementation to do the same work as before. And here are a few things I have to keep an eye on, which Thomas pointed out. 1) After the change, existing older Hurd binaries should still work fine, and with the changed [hurd]/utils/mount.c 2) The mount interface provided by glibc need to be just enough to stay compatibile at the API level which is what we want in Guix. WDYT? Please feel free to comment/suggest. :-) Manolis