Hi Manolis :) Quoting Manolis Ragkousis (2015-07-07 16:04:30) > 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.
Yes. Compatibility is Hurds killer feature. > WDYT? Please feel free to comment/suggest. :-) Sounds awesome. One thing to be aware of (iirc) is that the mount/umount code depends on the fstab parser. I'm not sure whether it is needed for the mount/umount(2) interface, or just for the command line frontend. I bet the former, that means that you also have to move the fstab parser to the libc. Cheers, Justus