Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2018 11:10:24 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        Mori Hiroki <yamori813@yahoo.co.jp>, Kyle Evans <kevans@freebsd.org>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: od command behavior change
Message-ID:  <905310.42079.qm@web101719.mail.ssk.yahoo.co.jp>
In-Reply-To: <872196.52013.qm@web101713.mail.ssk.yahoo.co.jp>
References:  <967709.5440.qm@web101702.mail.ssk.yahoo.co.jp> <CACNAnaEeUDzJKvVXvRd%2BeUr7yaTNoUz5OyrrMBV8i4kSKaWA-g@mail.gmail.com> <872196.52013.qm@web101713.mail.ssk.yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi=0A=0AI see man page that write j option can set only 512 bound blocks.=
=0A=0AI understand "-j 0x0004" is only bug and work old time.=0A=0AThanks=
=0A=0AHiroki Mori=0A=0A=0A----- Original Message -----=0A> From: Mori Hirok=
i <yamori813@yahoo.co.jp>=0A> To: Kyle Evans <kevans@freebsd.org>=0A> Cc: "=
freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>=0A> Date: 2018/4/5, Th=
u 10:08=0A> Subject: Re: od command behavior change=0A> =0A> Hi=0A> =0A> I =
try to patch. But it's not change.=0A> =0A> # /tmp/od -j 0x0004 -N 6 -t x1 =
/dev/flash/spi0s.u-boot-env=0A> =0A> od: /dev/flash/spi0s.u-boot-env: Inval=
id argument=0A> 0000004=0A> =0A> ----- Original Message -----=0A>> From: Ky=
le Evans <kevans@freebsd.org>=0A>> To: Mori Hiroki <yamori813@yahoo.co.jp> =
=0A>> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>=0A>> Date: =
2018/4/4, Wed 22:03=0A>> Subject: Re: od command behavior change=0A>> =0A>>=
 On Tue, Feb 13, 2018 at 8:32 PM, Mori Hiroki <yamori813@yahoo.co.jp> =0A> =
wrote:=0A>>>  Hi=0A>>> =0A>>>  I use od command get mac address from flash.=
=0A>>> =0A>>>  CURRENT od command change behavior.=0A>>> =0A>>>  OLD od=0A>=
>> =0A>>>  # od -j 0x0004 -N 6 -t x1 /dev/flash/spi0s.u-boot-env=0A>>>  000=
0004=A0 =A0 00=A0 18=A0 84=A0 12=A0 34=A0 56=0A>>>  0000012=0A>>> =0A>>>  C=
URRENT od=0A>>> =0A>>>  # od -j 0x0004 -N 6 -t x1 /dev/flash/spi0s.u-boot-e=
nv=0A>>>  od: /dev/flash/spi0s.u-boot-env: Invalid argument=0A>>>  0000004=
=0A>>> =0A>>>  Is this bug?=0A>>> =0A>> =0A>> Probably- does applying [1] f=
ix it? Having this ioctl result in total=0A>> failure was probably not a gr=
eat decision, since noseek() will=0A>> probably still work.=0A>> =0A>> Than=
ks,=0A>> =0A>> Kyle Evans=0A>> =0A>> [1] https://people.freebsd.org/~kevans=
/od-fix.diff=0A>> =0A>> =0A>> =0A> ________________________________________=
_______=0A> freebsd-mips@freebsd.org mailing list=0A> https://lists.freebsd=
.org/mailman/listinfo/freebsd-mips=0A> To unsubscribe, send any mail to =0A=
> "freebsd-mips-unsubscribe@freebsd.org"=0A> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?905310.42079.qm>