Labthrift Labthrift What to buy. What to skip. Why.

Written 2 Sep 2026. This is a how-to, not a product card. Buy links are not tagged yet.

Peek at leftover-box partition tables with fdisk

After udevadm shows disk properties, use a look-only fdisk -l so you see the partition table layout — sizes and slice names — without creating, deleting, or rewriting anything.

A partition table is the map of how a disk is sliced into named pieces. fdisk -l prints that map as text. Tonight you only read. You do not enter the interactive editor, write a new table, format a slice, or wipe a disk.

Skip until SSH works

If you cannot log in from the couch yet, stop. That is SSH from the couch. Partition tables do not help a login that fails.

If you only need the list of disks and USB sticks, that is see disks and USB sticks on the leftover box (lsblk). If you only need which folders are already attached, that is see which leftover-box folders are already attached (findmnt). If you only need labels and UUIDs printed as text, that is read leftover-box disk labels and UUIDs (blkid). If you only need filesystem UUID paths, that is see stable leftover-box disk names by UUID. If you only need hardware-style fixed names, that is see stable leftover-box disk names by hardware id. If you only need udev’s property scrapbook, that is peek at leftover-box disk details with udevadm. If you only need room left on a path, that is see if the leftover box still has room (df).

What this is

fdisk is an old Linux tool that can both list and edit partition tables. The list switch is -l (the letter L). That is the only mode you use tonight.

Here is the one jargon split for tonight: lsblk shows a friendly tree of disks and slices. fdisk -l shows the same idea in a more technical printout — disk size, partition table type (often GPT or DOS/MBR), and each slice’s start/end/size. Same leftover box, table-style peek. Still no write, format, or wipe.

Practice: list the tables (look only)

SSH in from the couch. Then ask for the list:

fdisk -l

If the box says permission denied, try once with admin rights (still look-only):

sudo fdisk -l

You should see blocks of text — one per disk — naming the device (often /dev/sda or /dev/nvme0n1), the disk size, the partition table type, and a table of slices with names like /dev/sda1. In plain English: fdisk is reading the map that already lives on the disk, not drawing a new one.

Optional: limit the printout to one disk you already trust from lsblk:

sudo fdisk -l /dev/sda

Swap /dev/sda for the name on your box. Do not invent one. Home-safe look only. Do not type interactive letters like n, d, or w. Do not format, wipe, remount, or edit fstab tonight.

Optional: after you plug in a USB for backup

Plug the stick into the leftover box. Run lsblk so you know today’s letter, then run sudo fdisk -l on that whole-disk name (for example /dev/sdb, not a slice like sdb1). You should see a small table for the stick. Compare with blkid if you want LABEL/UUID next, or with udevadm if you want model/serial. If you need the mount map, that is see which leftover-box folders are already attached. The backup job, once a path is live, is a backup of the leftover-box folder.

Useful extras, still a look

Skip interactive fdisk (no bare fdisk /dev/… menu). Skip n / d / w / o / g as the lesson. Night one is -l only.

Look-only parted -l is its own note: peek at leftover-box partition layout with parted. Skip interactive parted write verbs, cfdisk, sfdisk, gdisk, mount, umount, rewriting disks, dd, shred, format, or rewriting fstab. Those are not this note.

Skip buying a NAS because a GPT line looks unfamiliar. Free room is leftover-box disk-space. Disk names without tags are leftover-box lsblk. Mount maps are leftover-box findmnt. Printed labels and UUIDs are leftover-box blkid. Filesystem UUID paths are leftover-box by-uuid. Hardware-style fixed names are leftover-box by-id. Udev properties are leftover-box udevadm.

Skip screen, tmux, and port 22 forwarding. Keep SSH on the house network: keep the leftover box on the house network.

Skip awk, sed, and install as new pages this cycle. For a second layout printout, see peek at leftover-box partition layout with parted.

What this is not

This is not leftover-box lsblk. That lists disks and USB sticks by name: see disks and USB sticks on the leftover box. It is not leftover-box findmnt. That shows which folders are already attached: see which leftover-box folders are already attached. It is not leftover-box blkid. That prints LABEL, UUID, and TYPE as text: read leftover-box disk labels and UUIDs. It is not leftover-box by-uuid. That lists filesystem UUID paths under /dev/disk/by-uuid: see stable leftover-box disk names by UUID. It is not leftover-box by-id. That lists hardware-style names under /dev/disk/by-id: see stable leftover-box disk names by hardware id. It is not leftover-box udevadm. That prints udev’s property list: peek at leftover-box disk details with udevadm. It is not leftover-box parted -l. That is a second layout printout: peek at leftover-box partition layout with parted. It is not leftover-box disk-space (df). That shows how full a mounted path is: see if the leftover box still has room. It is not leftover-box disk, which focuses on how big the main disk already is: see how big the leftover box disk already is. It is not leftover-box USB-disk, a shorter “did the stick show up?” check: see if the USB backup disk showed up. It is not the backup copy itself: a backup of the leftover-box folder.

What next

Need udev properties first? Peek at leftover-box disk details with udevadm. Need hardware-style fixed names? See stable leftover-box disk names by hardware id. Need filesystem UUID paths? See stable leftover-box disk names by UUID. Need labels and UUIDs printed? Read leftover-box disk labels and UUIDs. Need the disk-name list? See disks and USB sticks on the leftover box. Need which folders are already attached? See which leftover-box folders are already attached. Need room left on a path? See if the leftover box still has room. Stick visible and ready for a second copy? A backup of the leftover-box folder. Need how big the main disk already is? See how big the leftover box disk already is. Keep SSH on the house network: keep the leftover box on the house network. Need a second look-only layout printout? Peek at leftover-box partition layout with parted. Leftover-box-awk, leftover-box-sed, and leftover-box-install stay deferred this cycle.

Skip

Sources

Debian: fdisk(8). Ubuntu: fdisk(8). Official pages only. For udev properties, see peek at leftover-box disk details with udevadm. For hardware-style fixed names, see see stable leftover-box disk names by hardware id. For filesystem UUID paths, see see stable leftover-box disk names by UUID. For printed labels and UUIDs, see read leftover-box disk labels and UUIDs. For the disk-name list, see see disks and USB sticks on the leftover box. For the mount map, see see which leftover-box folders are already attached. For free room, see see if the leftover box still has room. For a second copy once a USB path is live, see a backup of the leftover-box folder. For the login, see SSH from the couch.

Also on this topic

SSH from the couchType commands on the leftover box from your laptop, on the house network. Password login first. Do not open this to the internet. See disks and USB sticks on the leftover boxAfter SSH works (and before you blame a missing USB backup), list disks and USB sticks with lsblk so you see names like sda and sdb without opening a disk app. See which leftover-box folders are already attachedAfter you can list disks with lsblk (and before you blame a missing USB backup), use findmnt to see which folders are already attached (mounted) so you know what is live as / or a USB path. Read leftover-box disk labels and UUIDsAfter you can list disks with lsblk and see which folders are attached with findmnt, use blkid to read labels, UUIDs, and filesystem types on disk slices so you can tell which stick or slice is which. See stable leftover-box disk names by UUIDAfter blkid shows labels and UUIDs, use ls on /dev/disk/by-uuid (and optional by-label) so you see the fixed paths Linux already made — names that do not move when sdb becomes sdc. See stable leftover-box disk names by hardware idAfter by-uuid shows filesystem UUID paths, use ls on /dev/disk/by-id (and optional by-path) so you see hardware-style fixed names — ata-…, usb-…, nvme-… — that do not move when sdb becomes sdc. Peek at leftover-box disk details with udevadmAfter by-id shows hardware-style fixed names, use udevadm info (look-only) on a disk path so you see the properties udev already knows — without mounting or rewriting anything. Peek at leftover-box partition layout with partedAfter fdisk -l shows the partition table, use parted -l (look-only) so you see a second layout printout — sizes and filesystem hints — without creating, resizing, or rewriting anything. See if the leftover box still has roomAfter the house folder is working, check that the leftover box is not filling up. Photos stop copying when the disk is full. You do not need a NAS for this look. See how big the leftover box disk already isBefore you buy a tiny computer or a NAS, check how big the leftover box disk already is. See if the USB backup disk showed upBefore you trust the weekly copy, confirm the leftover box can see the USB disk. A backup of the leftover-box folderA second copy of the house folder, on a USB disk you already have, or on another leftover computer. You do not need a NAS for this. Keep the leftover box on the house networkSSH and Pi-hole belong on the house network. Skip this if you never opened the router settings. Do not forward port 22.