Re: Useful tools missing from /rescue

看板FB_hackers作者時間18年前 (2007/09/04 03:42), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/21 (看更多)
Giorgos Keramidas wrote: > > ... [chown] is still almost 4x the size of chmod: > > $ ls -ld chown > -rwxrwxr-x 1 keramida users - 550624 Sep 3 03:06 chown > $ ls -ld chmod > -rwxrwxr-x 1 keramida users - 165884 Sep 3 03:08 chmod getpwuid() pulls in DNS, NIS, and a bunch of other network routines, which are quite large. chmod doesn't need to look up user or group names. Tim Kientzle P.S. Interesting experiment: for every function in libc, create a statically linked and stripped binary that references that one function and look at the sizes. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16t6Ee00 (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #16t6Ee00 (FB_hackers)