[lug] 256 byte sector support.

stimits at comcast.net stimits at comcast.net
Sun Nov 5 13:28:45 MST 2017


I suspect that using such drives won't be an issue if you don't use them with a file system. You might try using dd to copy the raw bytes, and then loopback mount the dd file image as whatever file system type it is formatted as. You could use a block size of 256 (e.g., "dd if=/dev/whatever of=raw.img bs=256").
 
----- Original Message -----From: Dave Pitts <dpitts at cozx.com>To: lug at lug.boulder.co.usSent: Sun, 05 Nov 2017 20:22:51 -0000 (UTC)Subject: Re: [lug] 256 byte sector support.

Well:

After doing some digging through the SCSI driver, sd.c, I see that the 256 byte sector code was removed sometime between 2.6.39 and 3.18.79 (the versions that I currently have downloaded source for). So, it appears that these disks are no longer supported in any form. This is a bummer for me as I'll take old systems disks for people and offload the code and images. I guess I'll have to keep an old CentOS 5 system in the corner for this purpose...

> From: Zan Lynx<zlynx at acm.org>> To: "Boulder (Colorado) Linux Users Group -- General Mailing List"> <lug at lug.boulder.co.us>> Subject: Re: [lug] 256 byte sector support.> https://bugzilla.redhat.com/show_bug.cgi?id=134001>> That looks like a similar issue. It was never fixed in Fedora. It apparently applies to the SCSI emulation of some types of USB storage devices, like SD cards. Really old ones. 2 MB? Really?

> From:stimits at comcast.net> Sent: Saturday, November 4, 2017 12:51 PM> To: Boulder (Colorado) Linux Users Group -- General Mailing List> Subject: Re: [lug] 256 byte sector support.>> I don't know, but I am curious. What was the old config for this? I've only heard of a physical address block size of 512 bytes or more, and logical block addressing of 512 bytes or multiples. It is the idea of a block device being less than 512 bytes which I am wondering about...what is this device? How is it connected, e.g., is it SATA, PCIe, M.2?

-- Dave Pitts PULLMAN: Travel and sleep in safety and comfort.dpitts at cozx.com

_______________________________________________Web Page: http://lug.boulder.co.usMailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lugJoin us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20171105/dc6c5a0c/attachment.html>


More information about the LUG mailing list