Re: [klibc] [RFC] klibc add minimal mntent.h

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

 



maximilian attems wrote:
belows patch is a first step towards a mntent.h
we'll need it anyways later for mdadm support.

it allows to compile util-linux-ng mount against klibc.

due to the missing features there is a severe size difference:
   text    data     bss     dec     hex filename
   1507       0      40    1547     60b /usr/lib/klibc/bin/mount
  58526    2544    4552   65622   10056 ~/src/util-linux-ng/mount/mount


See, this is exactly the reason for having a minimal mount rather than fullblown util-linux-ng stuff...

When we're talking about making it 30 times bigger, there better be motivation for *everything*. It doesn't really make sense to have a minimal klibc and then compile full-fat utilities against it, at least not without providing alternatives.

But in the case of mount(8), there is a whole bunch of stuff that definitely are not needed in a klibc-style environment, especially now when NFS mountd stuff has moved into the kernel.

	-hpa

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux