small corrections for af drives Reference: /n/atom/patch/applied/atazzaf Date: Tue Jan 21 09:12:13 CET 2014 Signed-off-by: quanstro@quanstro.net --- /sys/src/cmd/atazz/main.c Tue Jan 21 09:12:00 2014 +++ /sys/src/cmd/atazz/main.c Tue Jan 21 09:12:01 2014 @@ -900,6 +900,9 @@ print("geometry %llud %ud", nsect, ss); if(f.c | f.h | f.s) print(" %ud %ud %ud", f.c, f.h, f.s); + i = f.lsectsz; + if(f.physshift) + print(" # psect %d; lsect %d", i << f.lsectsz, i); print("\n"); penabled(buf, buf + sizeof buf, id); print("enabled\t%s\n", buf); @@ -1432,7 +1435,7 @@ p = seprint(p, e, "dev\t%s\n", path); p = seprint(p, e, "flags\t"); p = pflag(p, e, d); - p = seprint(p, e, "lsectsz\t" "%ud ptol %ud\n", d->lsectsz, 1<physshift); + p = seprint(p, e, "lsectsz\t" "%ud ltop %ud\n", d->lsectsz, 1<physshift); p = seprint(p, e, "geometry %llud %ud\n", d->nsect, d->secsize); if(d->c | d->h | d->s) seprint(p, e, "chs\t%d %d %d\n", d->c, d->h, d->s);