Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 1998 20:37:09 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        abial@nask.pl (Andrzej Bialecki)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ELF binaries size
Message-ID:  <199809011037.UAA24513@cimlogic.com.au>
In-Reply-To: <Pine.BSF.4.02A.9809011143270.22202-100000@korin.warman.org.pl> from Andrzej Bialecki at "Sep 1, 98 11:46:21 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Andrzej Bialecki wrote:
> Hi,
> 
> Could someone do me a favor and send me a comparision of some statically
> compiled, stripped binaries (e.g. /sbin) in ELF and a.out versions? I need
> this info in order to assess possible dangers for picobsd project...


elf:

total 8073
-r-xr-xr-x  1 bin   bin        56244 Sep  1 14:50 adjkerntz
-r-xr-xr-x  1 bin   bin        51488 Sep  1 14:49 badsect
-r-xr-sr-x  1 bin   kmem       98760 Sep  1 14:49 ccdconfig
-r-xr-xr-x  1 bin   bin        43636 Sep  1 14:49 clri
-r-xr-xr-x  1 bin   bin        43304 Sep  1 14:50 comcontrol
-r-xr-xr-x  1 bin   bin       117736 Sep  1 14:49 disklabel
-r-xr-sr-x  1 bin   kmem      102248 Sep  1 14:49 dmesg
-r-xr-xr-x  1 bin   bin        96636 Sep  1 14:49 dset
-r-xr-sr-x  2 root  tty       219088 Sep  1 14:49 dump
-r-xr-xr-x  1 bin   bin        60628 Sep  1 14:49 dumpfs
-r-xr-xr-x  1 bin   bin        43756 Sep  1 14:49 dumpon
-r-xr-xr-x  4 bin   bin       185296 Sep  1 14:50 fastboot
-r-xr-xr-x  4 bin   bin       185296 Sep  1 14:50 fasthalt
-r-xr-xr-x  1 bin   bin        55148 Sep  1 14:50 fdisk
-r-xr-xr-x  1 bin   bin       192536 Sep  1 14:49 fsck
-r-xr-xr-x  1 bin   bin       282312 Sep  1 14:49 fsdb
-r-xr-xr-x  1 bin   bin        56336 Sep  1 14:49 fsirand
-r-xr-xr-x  1 bin   bin        59672 Sep  1 14:50 ft
-r-xr-xr-x  4 bin   bin       185296 Sep  1 14:50 halt
-r-xr-xr-x  1 bin   bin       151464 Sep  1 14:49 ifconfig
-r-x------  1 bin   bin       215168 Sep  1 14:50 init
-r-xr-xr-x  1 bin   bin       147464 Sep  1 14:50 ipf
-r-xr-xr-x  1 bin   bin       140664 Sep  1 14:50 ipfw
-r-xr-xr-x  1 bin   bin        42776 Sep  1 14:50 kldload
-r-xr-xr-x  1 bin   bin        43960 Sep  1 14:50 kldstat
-r-xr-xr-x  1 bin   bin        43644 Sep  1 14:50 kldunload
-r-xr-xr-x  1 bin   bin        59312 Sep  1 14:50 ldconfig
-r-xr-xr-x  1 bin   bin        47156 Sep  1 14:50 md5
-r-xr-xr-x  1 bin   bin        42964 Sep  1 14:50 mknod
-r-xr-xr-x  1 bin   bin        49664 Sep  1 14:50 modload
-r-xr-xr-x  1 bin   bin        43604 Sep  1 14:50 modunload
-r-xr-xr-x  1 bin   bin       165072 Sep  1 14:50 mount
-r-xr-xr-x  1 bin   bin        51284 Sep  1 14:50 mount_cd9660
-r-xr-xr-x  5 bin   bin        49868 Sep  1 14:50 mount_devfs
-r-xr-xr-x  1 bin   bin        49760 Sep  1 14:50 mount_ext2fs
-r-xr-xr-x  5 bin   bin        49868 Sep  1 14:50 mount_fdesc
-r-xr-xr-x  5 bin   bin        49868 Sep  1 14:50 mount_kernfs
-r-xr-xr-x  2 bin   bin       135712 Sep  1 14:50 mount_mfs
-r-xr-xr-x  1 bin   bin       161840 Sep  1 14:50 mount_msdos
-r-xr-xr-x  1 bin   bin       135616 Sep  1 14:50 mount_nfs
-r-xr-xr-x  1 bin   bin        59280 Sep  1 14:50 mount_null
-r-xr-xr-x  1 bin   bin       224376 Sep  1 14:50 mount_portal
-r-xr-xr-x  5 bin   bin        49868 Sep  1 14:50 mount_procfs
-r-xr-xr-x  5 bin   bin        49868 Sep  1 14:50 mount_std
-r-xr-xr-x  1 bin   bin        61408 Sep  1 14:50 mount_umap
-r-xr-xr-x  1 bin   bin        59364 Sep  1 14:50 mount_union
-r-xr-xr-x  1 bin   bin       232008 Sep  1 14:50 mountd
-r-xr-xr-x  2 bin   bin       135712 Sep  1 14:50 newfs
-r-xr-xr-x  1 bin   bin       116720 Sep  1 14:50 newfs_msdos
-r-xr-xr-x  1 bin   bin        43800 Sep  1 14:50 nextboot
-r-xr-xr-x  1 bin   bin       135648 Sep  1 14:50 nfsd
-r-xr-xr-x  1 bin   bin        60408 Sep  1 14:50 nfsiod
-r-xr-xr-x  1 bin   bin         1967 Sep  1 14:50 nologin
-r-xr-xr-x  1 bin   bin       124868 Sep  1 14:50 nos-tun
-r-sr-xr-x  1 root  bin       143344 Sep  1 14:50 ping
-r-xr-xr-x  1 bin   bin       150400 Sep  1 14:50 quotacheck
-r-xr-sr-x  2 root  tty       219088 Sep  1 14:49 rdump
-r-xr-xr-x  4 bin   bin       185296 Sep  1 14:50 reboot
-r-xr-sr-x  2 root  tty       242496 Sep  1 14:50 restore
-r-sr-xr-x  1 root  bin       151944 Sep  1 14:50 route
-r-xr-xr-x  1 bin   bin       198280 Sep  1 14:50 routed
-r-xr-sr-x  2 root  tty       242496 Sep  1 14:50 rrestore
-r-xr-xr-x  1 bin   bin       136032 Sep  1 14:50 rtquery
-r-xr-xr-x  1 bin   bin        76056 Sep  1 14:50 savecore
-r-xr-xr-x  1 bin   bin        73224 Sep  1 14:50 scsi
-r-xr-xr-x  1 bin   bin         3302 Sep  1 14:50 scsiformat
-r-sr-x---  1 root  operator  148904 Sep  1 14:50 shutdown
-r-xr-xr-x  1 bin   bin        64648 Sep  1 14:50 slattach
-r-xr-xr-x  1 bin   bin        45280 Sep  1 14:50 spppcontrol
-r-xr-xr-x  1 bin   bin        75416 Sep  1 14:50 startslip
-r-xr-xr-x  1 bin   bin        49096 Sep  1 14:50 swapon
-r-xr-xr-x  1 bin   bin        57428 Sep  1 14:55 sysctl
-r-xr-xr-x  1 bin   bin        51336 Sep  1 14:50 tunefs
-r-xr-xr-x  1 bin   bin       139016 Sep  1 14:50 umount

aout:

total 16548
-r-xr-xr-x  1 bin   bin        57344 Aug 30 16:51 adjkerntz
-r-xr-xr-x  1 bin   bin        53248 Aug 30 16:50 badsect
-r-xr-sr-x  1 bin   kmem      102400 Aug 30 16:50 ccdconfig
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:50 clri
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:51 comcontrol
-r-xr-xr-x  1 bin   bin       118784 Aug 30 16:50 disklabel
-r-xr-sr-x  1 bin   kmem      102400 Aug 30 16:50 dmesg
-r-xr-xr-x  1 bin   bin        98304 Aug 30 16:50 dset
-r-xr-sr-x  2 root  tty       217088 Aug 30 16:50 dump
-r-xr-xr-x  1 bin   bin        61440 Aug 30 16:50 dumpfs
-r-xr-xr-x  1 bin   bin        61440 Mar 25 12:53 dumplfs
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:50 dumpon
-r-xr-xr-x  4 bin   bin       184320 Aug 30 16:50 fastboot
-r-xr-xr-x  4 bin   bin       184320 Aug 30 16:50 fasthalt
-r-xr-xr-x  1 bin   bin        57344 Aug 30 16:51 fdisk
-r-xr-xr-x  1 bin   bin       192512 Aug 30 16:50 fsck
-r-xr-xr-x  1 bin   bin       278528 Aug 30 16:50 fsdb
-r-xr-xr-x  1 bin   bin        61440 Aug 30 16:50 fsirand
-r-xr-xr-x  1 bin   bin        61440 Aug 30 16:51 ft
-r-xr-xr-x  4 bin   bin       184320 Aug 30 16:50 halt
-r-xr-xr-x  1 bin   bin       151552 Aug 30 16:50 ifconfig
-r-x------  1 bin   bin       212992 Aug 30 16:50 init
-r-xr-xr-x  1 bin   bin       147456 Aug 30 16:50 ipf
-r-xr-xr-x  1 bin   bin       139264 Aug 30 16:50 ipfw
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:50 kldload
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:50 kldstat
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:50 kldunload
-r-xr-xr-x  1 bin   bin        57344 Aug 30 16:51 ldconfig
-r-xr-xr-x  1 bin   bin        49152 Aug 30 16:50 md5
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:50 mknod
-r-xr-xr-x  1 bin   bin        49152 Aug 30 16:50 modload
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:50 modunload
-r-xr-xr-x  1 bin   bin       163840 Aug 30 16:50 mount
-r-xr-xr-x  1 bin   bin        53248 Aug 30 16:50 mount_cd9660
-r-xr-xr-x  5 bin   bin        53248 Aug 30 16:50 mount_devfs
-r-xr-xr-x  1 bin   bin        53248 Aug 30 16:50 mount_ext2fs
-r-xr-xr-x  5 bin   bin        53248 Aug 30 16:50 mount_fdesc
-r-xr-xr-x  5 bin   bin        53248 Aug 30 16:50 mount_kernfs
-r-xr-xr-x  1 bin   bin        53248 Mar 25 12:53 mount_lfs
-r-xr-xr-x  2 bin   bin       135168 Aug 30 16:50 mount_mfs
-r-xr-xr-x  1 bin   bin       159744 Aug 30 16:51 mount_msdos
-r-xr-xr-x  1 bin   bin       135168 Aug 30 16:50 mount_nfs
-r-xr-xr-x  1 bin   bin        61440 Aug 30 16:50 mount_null
-r-xr-xr-x  1 bin   bin       221184 Aug 30 16:50 mount_portal
-r-xr-xr-x  5 bin   bin        53248 Aug 30 16:50 mount_procfs
-r-xr-xr-x  5 bin   bin        53248 Aug 30 16:50 mount_std
-r-xr-xr-x  1 bin   bin        65536 Aug 30 16:50 mount_umap
-r-xr-xr-x  1 bin   bin        61440 Aug 30 16:50 mount_union
-r-xr-xr-x  1 bin   bin       229376 Aug 30 16:50 mountd
-r-xr-xr-x  2 bin   bin       135168 Aug 30 16:50 newfs
-r-xr-xr-x  1 bin   bin       118784 Aug 30 16:50 newfs_msdos
-r-xr-xr-x  1 bin   bin       102400 Mar 25 12:53 newlfs
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:51 nextboot
-r-xr-xr-x  1 bin   bin       135168 Aug 30 16:50 nfsd
-r-xr-xr-x  1 bin   bin        65536 Aug 30 16:50 nfsiod
-r-xr-xr-x  1 bin   bin         1967 Aug 30 16:50 nologin
-r-xr-xr-x  1 bin   bin       126976 Aug 30 16:50 nos-tun
-r-sr-xr-x  1 root  bin       143360 Aug 30 16:50 ping
-r-xr-xr-x  1 bin   bin       151552 Aug 30 16:50 quotacheck
-r-xr-sr-x  2 root  tty       217088 Aug 30 16:50 rdump
-r-xr-xr-x  4 bin   bin       184320 Aug 30 16:50 reboot
-r-xr-sr-x  2 root  tty       237568 Aug 30 16:50 restore
-r-sr-xr-x  1 root  bin       151552 Aug 30 16:50 route
-r-xr-xr-x  1 bin   bin       196608 Aug 30 16:50 routed
-r-xr-sr-x  2 root  tty       237568 Aug 30 16:50 rrestore
-r-xr-xr-x  1 bin   bin       135168 Aug 30 16:50 rtquery
-r-xr-xr-x  1 bin   bin        77824 Aug 30 16:50 savecore
-r-xr-xr-x  1 bin   bin        77824 Aug 30 16:51 scsi
-r-xr-xr-x  1 bin   bin         3302 Aug 30 16:50 scsiformat
-r-sr-x---  1 root  operator  151552 Aug 30 16:50 shutdown
-r-xr-xr-x  1 bin   bin        69632 Aug 30 16:51 slattach
-r-xr-xr-x  1 bin   bin        45056 Aug 30 16:51 spppcontrol
-r-xr-xr-x  1 bin   bin        77824 Aug 30 16:51 startslip
-r-xr-xr-x  1 bin   bin        49152 Aug 30 16:51 swapon
-r-xr-xr-x  1 bin   bin        57344 Aug 30 16:56 sysctl
-r-xr-xr-x  1 bin   bin        49152 Aug 30 16:51 tunefs
-r-xr-xr-x  1 bin   bin       139264 Aug 30 16:51 umount

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809011037.UAA24513>