Re: USB3 3TB HDD boot

2013-03-15 Thread Lennart Sorensen
On Thu, Mar 14, 2013 at 08:56:18PM -0600, Chris Murphy wrote: > Right, for a 4Kn drive, to read LBA 1 and get the GPT header I'd need: > > sudo dd if=/dev/disk3 skip=8 count=1 2>/dev/null | hexdump -C Wouldn't using 'bs=4096' make things simpler and more obvious? -- Len Sorensen __

Re: USB3 3TB HDD boot

2013-03-15 Thread Chris Murphy
On Mar 15, 2013, at 8:51 AM, Lennart Sorensen wrote: > On Thu, Mar 14, 2013 at 08:56:18PM -0600, Chris Murphy wrote: >> Right, for a 4Kn drive, to read LBA 1 and get the GPT header I'd need: >> >> sudo dd if=/dev/disk3 skip=8 count=1 2>/dev/null | hexdump -C > > Wouldn't using 'bs=4096' make

Re: USB3 3TB HDD boot

2013-03-15 Thread Bruce Dubbs
Chris Murphy wrote: On Mar 15, 2013, at 8:51 AM, Lennart Sorensen wrote: On Thu, Mar 14, 2013 at 08:56:18PM -0600, Chris Murphy wrote: Right, for a 4Kn drive, to read LBA 1 and get the GPT header I'd need: sudo dd if=/dev/disk3 skip=8 count=1 2>/dev/null | hexdump -C Wouldn't using 'bs=40

Re: [3/4] [PATCH] start angle (option of circular_progress) is measured in unusual quantities

2013-03-15 Thread Andrey Borzenkov
В Wed, 13 Mar 2013 14:52:13 +0400 Vladimir Testov пишет: > In current state, start angle is measured in "parrots", where 1 "parrot" = 1 > / > 256 of full circle. > > With simple patch we can set start angle in degrees (which makes no > difference > for the program, but makes configuration to

Re: USB3 3TB HDD boot

2013-03-15 Thread Lennart Sorensen
On Fri, Mar 15, 2013 at 09:59:22AM -0600, Chris Murphy wrote: > How would it? > > These structures are still predicated on a 512 byte block. The MBR is always > 512 bytes, but on a 4096/4096 4Kn drive, LBA 0 is 4096 bytes. So if I don't > want to see 3584 bytes of useless garbage, I can't set th

Re: [3/4] [PATCH] start angle (option of circular_progress) is measured in unusual quantities

2013-03-15 Thread Lennart Sorensen
On Fri, Mar 15, 2013 at 08:52:08PM +0400, Andrey Borzenkov wrote: > В Wed, 13 Mar 2013 14:52:13 +0400 > Vladimir Testov пишет: > > > In current state, start angle is measured in "parrots", where 1 "parrot" = > > 1 / > > 256 of full circle. > > > > With simple patch we can set start angle in de

Re: USB3 3TB HDD boot

2013-03-15 Thread Chris Murphy
On Mar 15, 2013, at 11:53 AM, Lennart Sorensen wrote: > On Fri, Mar 15, 2013 at 09:59:22AM -0600, Chris Murphy wrote: > >> If I want to see just the GPT header, which while only ~92 bytes, by spec it >> gets its own sector, there's far less superfluous information using a bs of >> 512 bytes