od command behavior change
Mori Hiroki
yamori813 at yahoo.co.jp
Thu Apr 5 01:08:32 UTC 2018
Hi
I try to patch. But it's not change.
# /tmp/od -j 0x0004 -N 6 -t x1 /dev/flash/spi0s.u-boot-env
od: /dev/flash/spi0s.u-boot-env: Invalid argument
0000004
----- Original Message -----
>From: Kyle Evans <kevans at freebsd.org>
>To: Mori Hiroki <yamori813 at yahoo.co.jp>
>Cc: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
>Date: 2018/4/4, Wed 22:03
>Subject: Re: od command behavior change
>
>On Tue, Feb 13, 2018 at 8:32 PM, Mori Hiroki <yamori813 at yahoo.co.jp> wrote:
>> Hi
>>
>> I use od command get mac address from flash.
>>
>> CURRENT od command change behavior.
>>
>> OLD od
>>
>> # od -j 0x0004 -N 6 -t x1 /dev/flash/spi0s.u-boot-env
>> 0000004 00 18 84 12 34 56
>> 0000012
>>
>> CURRENT od
>>
>> # od -j 0x0004 -N 6 -t x1 /dev/flash/spi0s.u-boot-env
>> od: /dev/flash/spi0s.u-boot-env: Invalid argument
>> 0000004
>>
>> Is this bug?
>>
>
>Probably- does applying [1] fix it? Having this ioctl result in total
>failure was probably not a great decision, since noseek() will
>probably still work.
>
>Thanks,
>
>Kyle Evans
>
>[1] https://people.freebsd.org/~kevans/od-fix.diff
>
>
>
More information about the freebsd-mips
mailing list