Guest: Ubuntu 19.04 Linux fbatschu-VirtualBox 5.0.0-38-generic #41-Ubuntu SMP Tue Dec 3 00:27:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Vbox GA: 6.1.2 r135662 ### first verify that we do get 'nlink' and 'size' information ### for both directories and files: fbatschu@fbatschu-VirtualBox:~$ cd /media/sf_Downloads/ fbatschu@fbatschu-VirtualBox:/media/sf_Downloads$ stat System\ Volume\ Information/ File: System Volume Information/ Size: 0 Blocks: 0 IO Block: 16384 directory Device: 2eh/46d Inode: 32 Links: 1 Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 998/ vboxsf) Access: 2020-03-25 13:05:28.220018158 +0100 Modify: 2019-10-30 14:38:51.452363543 +0100 Change: 2019-10-30 14:38:51.452363543 +0100 Birth: - fbatschu@fbatschu-VirtualBox:/media/sf_Downloads$ stat google-chrome/ File: google-chrome/ Size: 44 Blocks: 0 IO Block: 16384 directory Device: 2eh/46d Inode: 47 Links: 1 Access: (0770/drwxrwx---) Uid: ( 0/ root) Gid: ( 998/ vboxsf) Access: 2020-03-25 13:05:28.224018067 +0100 Modify: 2020-02-08 12:52:15.956420496 +0100 Change: 2020-02-08 12:52:15.956420496 +0100 Birth: - fbatschu@fbatschu-VirtualBox:/media/sf_Downloads$ stat xdm-login.xml File: xdm-login.xml Size: 2503 Blocks: 8 IO Block: 1048576 regular file Device: 2eh/46d Inode: 23 Links: 1 Access: (0770/-rwxrwx---) Uid: ( 0/ root) Gid: ( 998/ vboxsf) Access: 2019-12-12 16:47:01.516993348 +0100 Modify: 2019-12-11 17:29:57.571310830 +0100 Change: 2019-12-14 16:10:55.159257266 +0100 Birth: - fbatschu@fbatschu-VirtualBox:/media/sf_Downloads$ ls -lisa total 1173184 1 0 drwxrwx--- 1 root vboxsf 1762 Mär 23 09:30 . 262145 4 drwxr-xr-x 5 root root 4096 Dez 13 15:31 .. 54 4 -rwxrwx--- 1 root vboxsf 160 Mär 23 09:30 2020-03-23-08-30-22.026-VirtualBox-11113.log 40 4 -rwxrwx--- 1 root vboxsf 193 Dez 11 17:29 bla2.c 43 4 -rwxrwx--- 1 root vboxsf 197 Dez 11 17:29 bla3.c 42 4 -rwxrwx--- 1 root vboxsf 209 Dez 11 17:29 bla4.c 41 4 -rwxrwx--- 1 root vboxsf 181 Dez 11 17:29 bla.c 28 24 -rwxrwx--- 1 root vboxsf 22584 Dez 11 17:29 DevOps_vs_DevSecOps_Mginise-540x388.jpg 35 4 -rwxrwx--- 1 root vboxsf 959 Nov 18 15:24 dirtest3.sh 34 4 -rwxrwx--- 1 root vboxsf 330 Nov 18 15:24 dirtest.sh 33 13364 -rwxrwx--- 1 root vboxsf 14000000 Feb 13 15:37 disk1.img 46 13320 -rwxrwx--- 1 root vboxsf 14000000 Feb 8 08:40 disk2.img 22 48 -rwxrwx--- 1 root vboxsf 46337 Dez 11 17:29 ext.jpeg 38 0 -rwxrwx--- 1 root vboxsf 5242880 Dez 10 18:19 fsparse1.img 39 0 -rwxrwx--- 1 root vboxsf 838860800 Dez 10 18:19 fsparse2.img 36 4884 -rwxrwx--- 1 root vboxsf 5000000 Dez 10 18:17 fzero1.img 37 781252 -rwxrwx--- 1 root vboxsf 800000000 Dez 10 18:17 fzero2.img 47 0 drwxrwx--- 1 root vboxsf 44 Feb 8 12:52 google-chrome 29 8 -rwxrwx--- 1 root vboxsf 4175 Dez 11 17:29 loc_eps_water_lifecycle.gif 20 244 -rwxrwx--- 1 root vboxsf 247334 Dez 11 17:29 MDB_2016.pdf 25 4 -rwxrwx--- 1 root vboxsf 606 Dez 11 17:29 memmove.ksh 45 4 -rwxrwx--- 1 root vboxsf 1531 Feb 6 14:53 mmap_write_seek.c 52 22692 -rwxrwx--- 1 root vboxsf 23236390 Mär 16 15:27 Oracle_VM_VirtualBox_Extension_Pack-6.0.18.vbox-extpack 48 10744 -rwxrwx--- 1 root vboxsf 10997977 Feb 21 18:28 Oracle_VM_VirtualBox_Extension_Pack-6.1.4.vbox-extpack 44 16 -rwxrwx--- 1 root vboxsf 13093 Jan 30 12:18 public-yum-ol7.repo 18 4 -rwxrwx--- 1 root vboxsf 3520 Dez 11 17:29 reproduce.py 30 28 -rwxrwx--- 1 root vboxsf 26180 Dez 11 17:29 'Spiral_model_(Boehm,_1988).png' 27 4 -rwxrwx--- 1 root vboxsf 928 Dez 11 17:29 svc-xdm 32 0 drwxrwx--- 1 root vboxsf 0 Okt 30 14:38 'System Volume Information' 51 58356 -rwxrwx--- 1 root vboxsf 59754496 Mär 4 17:00 VBoxGuestAdditions_6.1.5-136327.iso 50 58356 -rwxrwx--- 1 root vboxsf 59756544 Mär 4 16:27 VBoxGuestAdditions_6.1.97-136310.iso 53 100296 -rwxrwx--- 1 root vboxsf 102701948 Mär 16 15:28 virtualbox-6.0_6.0.18-136238~Ubuntu~bionic_amd64.deb 49 91728 -rwxrwx--- 1 root vboxsf 93925840 Feb 21 18:29 virtualbox-6.1_6.1.4-136177~Ubuntu~bionic_amd64.deb 23 4 -rwxrwx--- 1 root vboxsf 2503 Dez 11 17:29 xdm-login.xml 26 16 -rwxrwx--- 1 root vboxsf 14036 Dez 11 17:29 zpool-integrity-testing.txt ### Now use mtree from the BSD ports: $ apt info mtree-netbsd Package: mtree-netbsd Version: 20180822-4 Priority: optional Section: universe/utils Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: John Goerzen Bugs: https://bugs.launchpad.net/ubuntu/+filebug Depends: libc6 (>= 2.14), libmd0 (>= 0.0.0) Homepage: http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/pkgtools/mtree/README.html fbatschu@fbatschu-VirtualBox:/media/sf_Downloads$ mtree -c # user: fbatschu # machine: fbatschu-VirtualBox # tree: /media/sf_Downloads # date: Wed Mar 25 13:17:04 2020 # . /set type=file uid=0 gid=998 mode=0770 nlink=1 flags=none . type=dir time=1584952222.265864026 2020-03-23-08-30-22.026-VirtualBox-11113.log \ size=160 time=1584952222.265864026 DevOps_vs_DevSecOps_Mginise-540x388.jpg \ size=22584 time=1576081797.395315823 MDB_2016.pdf \ size=247334 time=1576081797.635309014 Oracle_VM_VirtualBox_Extension_Pack-6.0.18.vbox-extpack \ size=23236390 time=1584368870.45978188 Oracle_VM_VirtualBox_Extension_Pack-6.1.4.vbox-extpack \ size=10997977 time=1582306131.173424176 Spiral_model_(Boehm,_1988).png \ size=26180 time=1576081797.223320704 VBoxGuestAdditions_6.1.5-136327.iso \ size=59754496 time=1583337602.438647685 VBoxGuestAdditions_6.1.97-136310.iso \ size=59756544 time=1583335640.216849311 bla.c size=181 time=1576081797.595310149 bla2.c size=193 time=1576081797.587310376 bla3.c size=197 time=1576081797.603309922 bla4.c size=209 time=1576081797.603309922 dirtest.sh size=330 time=1574087046.147428626 dirtest3.sh size=959 time=1574087046.175427891 disk1.img size=14000000 time=1581604635.317367874 disk2.img size=14000000 time=1581147609.551727400 ext.jpeg size=46337 time=1576081797.383316164 fsparse1.img \ size=5242880 time=1575998351.244541229 fsparse2.img \ size=838860800 time=1575998362.632179381 fzero1.img size=5000000 time=1575998240.971325099 fzero2.img size=800000000 time=1575998264.170874252 loc_eps_water_lifecycle.gif \ size=4175 time=1576081797.231320477 memmove.ksh size=606 time=1576081797.451314234 mmap_write_seek.c \ size=1531 time=1580997222.278629650 public-yum-ol7.repo \ size=13093 time=1580383123.543301714 reproduce.py \ size=3520 time=1576081797.619309468 svc-xdm size=928 time=1576081797.567310943 virtualbox-6.0_6.0.18-136238~Ubuntu~bionic_amd64.deb \ size=102701948 time=1584368894.253272640 virtualbox-6.1_6.1.4-136177~Ubuntu~bionic_amd64.deb \ size=93925840 time=1582306171.789511482 xdm-login.xml \ size=2503 time=1576081797.571310830 zpool-integrity-testing.txt \ size=14036 time=1576081797.303318434 # ./System Volume Information System\sVolume\sInformation \ type=dir time=1572442731.452363543 # ./System Volume Information .. # ./google-chrome google-chrome type=dir time=1581162735.956420496 # ./google-chrome/PepperFlash PepperFlash type=dir time=1581161560.19988741 latest-component-updated-flash \ size=208 time=1581161560.19988741 # ./google-chrome/PepperFlash/32.0.0.321 32.0.0.321 type=dir time=1581161559.999989284 libpepflashplayer.so \ size=18902624 time=1581161559.999989284 manifest.fingerprint \ size=66 time=1581161559.963990261 manifest.json \ size=2223 time=1581161559.963990261 # ./google-chrome/PepperFlash/32.0.0.321/_metadata _metadata type=dir time=1581161560.15988849 verified_contents.json \ size=1262 time=1581161560.19988741 # ./google-chrome/PepperFlash/32.0.0.321/_metadata .. # ./google-chrome/PepperFlash/32.0.0.321 .. # ./google-chrome/PepperFlash .. # ./google-chrome/WidevineCdm WidevineCdm type=dir time=1581161560.23988632 latest-component-updated-widevine-cdm \ size=41 time=1581161560.23988632 # ./google-chrome/WidevineCdm .. # ./google-chrome ..