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 I see man page that write j option can set only 512 bound blocks. I understand "-j 0x0004" is only bug and work old time. Thanks Hiroki Mori ----- Original Message ----- > From: Mori Hiroki <yamori813@yahoo.co.jp> > To: Kyle Evans <kevans@freebsd.org> > Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> > Date: 2018/4/5, Thu 10:08 > Subject: Re: od command behavior change > > 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@freebsd.org> >> To: Mori Hiroki <yamori813@yahoo.co.jp> >> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@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@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 >> >> >> > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to > "freebsd-mips-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?905310.42079.qm>
