Date: Wed, 30 Sep 2020 18:25:55 +0200 From: Polytropon <freebsd@edvax.de> To: Christoph Kukulies <kuku@kukulies.org> Cc: freebsd-questions@freebsd.org Subject: Re: concluding from dd raw dump size to disk mfgr Message-ID: <20200930182555.54725564.freebsd@edvax.de> In-Reply-To: <F5976B86-7257-4507-A53C-4511674549D5@kukulies.org> References: <876b79ff-b781-fede-a4de-cb58becd557c@kukulies.org> <20200930133550.24c382b6.freebsd@edvax.de> <F5976B86-7257-4507-A53C-4511674549D5@kukulies.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Sep 2020 14:59:32 +0200, Christoph Kukulies wrote: > [...] > > > Am 30.09.2020 um 13:35 schrieb Polytropon <freebsd@edvax.de>: > > > > On Wed, 30 Sep 2020 09:40:00 +0200, Christoph Kukulies wrote: > >> I made a dd dump of a raw disk device the other day. The size of the > >> dump is exactly > >> > >> 500107862016 bytes in size, corresponding to 997773168 sectors (512bytes). > >> > >> I would like to dump this file back to a physical device. Best would be > >> the one which fits exactly that size. Unfortunately I presently don't > >> know what drive mfgr./type this corresponds to. Is there a way to find out? > > > > A convenient way is to use the following command: > > > > # diskinfo -v <device> > > > > Also check the corresponding entry in the "dmesg" output. > > > > Note that AF devices might prefer a sector size of 4kB (4039 > > > What is „AF“ devices? This is short for "advanced format", indicating that those devices use a sector size of 4096 bytes ("4K-drives") instead of 512 bytes. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200930182555.54725564.freebsd>