[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question with moving mount/umount logic in glibc

From: Justus Winter
Subject: Re: Question with moving mount/umount logic in glibc
Date: Tue, 07 Jul 2015 16:29:21 +0200
User-agent: alot/0.3.5

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]