This week we’ve been making operating systems for the Raspberry Pi 4. We discuss our favourite gadgets, bring you a verrrry long command line love and round up all your wonderful feedback.

It’s Season 13 Episode 18 of the Ubuntu Podcast! Alan Pope, Mark Johnson and Martin Wimpress are connected and speaking to your brain.

In this week’s show:

lsblk -bdno NAME,SIZE | grep -v loop | while read dev size; do model=$(</sys/block/$dev/device/model); hours=$(sudo smartctl -a /dev/${dev} | awk '/Power_On_Hours/ { gsub(/h.*/, "", $10); print $10 }'); years=$(bc <<< "scale=2; $hours / 24 / 365.25"); size_tib=$(bc <<< "scale=4; $size / 1024 / 1024 / 1024 / 1024"); printf "%s %6d hours (%5.2f years) %.2fTiB %s\n" $dev $hours $years $size_tib "$model"; done | sort -rnk 2

sdd  50346 hours ( 5.74 years) 2.73TiB TOSHIBA DT01ACA3
sdc  50346 hours ( 5.74 years) 2.73TiB TOSHIBA DT01ACA3
sda  50345 hours ( 5.74 years) 2.73TiB TOSHIBA DT01ACA3
sdb  50062 hours ( 5.71 years) 2.73TiB TOSHIBA DT01ACA3
sde  48991 hours ( 5.58 years) 0.23TiB VB0250EAVER

That’s all for this week! If there’s a topic you’d like us to discuss, or you have any feedback on previous shows, please send your comments and suggestions to [email protected] or Tweet us or Toot us or Comment on our Facebook page or comment on our sub-Reddit.


1 Comment » for S13E18 – Full moon
  1. Torin Doyle says:

    Lidl is pronounced like ‘Lee-dl’.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.