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

Written 2 Sep 2026. This is a how-to, not a product card.

Peek at 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 don't 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 don't 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 computer (lsblk). If you only need which folders are already attached, that is see which folders are already attached (findmnt). If you only need labels and UUIDs printed as text, that is read disk labels and UUIDs (blkid). If you only need filesystem UUID paths, that is see stable disk names by UUID. If you only need hardware-style fixed names, that is see stable disk names by hardware id. If you only need udev's property scrapbook, that is peek at disk details with udevadm. If you only need room left on a path, that is see if the computer 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 computer, 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 you see 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. Don't invent one. Home-safe look only. Don't type interactive letters like n, d, or w. Don't format, wipe, remount, or edit fstab tonight.

Optional: after you plug in a USB for backup

Plug the stick into the computer. 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 folders are already attached. The backup job, once a path is live, is a backup of the house folder.

Useful extras, still a look

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

Look-only parted -l is its own note: peek at 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 see if the computer still has room. Disk names without tags are see disks and USB sticks on the computer. Mount maps are see which folders are already attached. Printed labels and UUIDs are read disk labels and UUIDs. Filesystem UUID paths are see stable disk names by UUID. Hardware-style fixed names are see stable disk names by hardware id. Udev properties are peek at disk details with udevadm.

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

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

What this is not

This is not lsblk. That lists disks and USB sticks by name: see disks and USB sticks on the computer. It is not findmnt. That shows which folders are already attached: see which folders are already attached. It is not blkid. That prints LABEL, UUID, and TYPE as text: read disk labels and UUIDs. It is not by-uuid. That lists filesystem UUID paths under /dev/disk/by-uuid: see stable disk names by UUID. It is not by-id. That lists hardware-style names under /dev/disk/by-id: see stable disk names by hardware id. It is not udevadm. That prints udev's property list: peek at disk details with udevadm. It is not parted -l. That is a second layout printout: peek at partition layout with parted. It is not disk-space (df). That shows how full a mounted path is: see if the computer still has room. It is not disk, which focuses on how big the main disk already is: see how big the computer disk already is. It is not 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 house folder.

What next

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

Skip

Sources

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

Also on this topic

SSH from the couchType commands on the computer from your laptop, on the house network. Password login first. Don't open this to the internet. See disks and USB sticks on the computerAfter 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 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 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 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 don't move when sdb becomes sdc. See stable 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 don't move when sdb becomes sdc. Peek at 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 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 computer still has roomBefore you buy a bigger drive, check free space with df. See how big the computer disk already isBefore you buy a tiny computer or a NAS, check how big the computer disk already is. See if the USB backup disk showed upBefore you trust the weekly copy, confirm the computer can see the USB disk. A backup of the house folderA second copy of the house folder, on a USB disk you already have, or on another computer. You don't need a NAS for this. Keep the computer on the house networkSSH and Pi-hole belong on the house network. Skip this if you never opened the router settings. Don't forward port 22.