Code Monkey home page Code Monkey logo

Comments (1)

bkw777 avatar bkw777 commented on June 15, 2024

Maybe logic / bash behavior and not timing. LS works all the way until the condition() at the end, even on a full disk with over 30 files. But always fails with a simple rl 2 2 read one logical sector 2 from physical sector 2, which is just a short 64 bytes on a normal filesystem disk.

Recording the same example rl 2 2 command using the same disk and the same usb-serial adapter on both linux and mac, one difference is on mac it tried to send the opr-mode command for "switch to fdc mode" first when it probably wasn't needed. If I reset the drive and manually give the fdc command seperately before giving the rl command, the rl command works perfectly, and works as many times as I want to re-run it.

So probably it's another bash behavior difference like the one that broke help(). I need to trace every step that should be changing the state of ${operation_mode} and find some situation where it's failing to change, or changing when it shouldn't, or maybe merely failing to be interpreted as whatever state it actually is, ie maybe the variable is correct but some logic that reads it is reading it wrong.

This is probably the same for freebsd too, just like the help() problem was the same on both.

from pdd.sh.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.