Re: Reading an old HDD
On Thu 03 Oct 2024 at 20:26:55 (-0700), Will Mengarini wrote:
> The old HDD is mostly ext3; there was also an
> ext2 boot partition, and a swap partition. But
> the new Debian shows nothing new in `df`. Is
> there some other command I should use to probe for
> whether Debian knows there's a HDD connected by USB?
Take a look at /dev/disk/… where the names of the next level
of directories are self-explanatory. The files themselves
are all symlinks pointing to the kernel's device names.
Also /run/udev/data/b… where spinning rust disks are b8:N,
and N is a power of two for a disk, then N+1, N+2 etc for
the partitions. SSDs will be some other number like, say,
b259:0. The file contents are what udev has discovered.
Cheers,
David.
Reply to: