Coder Social home page Coder Social logo

nbdtab systemd-mark about nbd HOT 2 CLOSED

networkblockdevice avatar networkblockdevice commented on June 19, 2024
nbdtab systemd-mark

from nbd.

Comments (2)

yoe avatar yoe commented on June 19, 2024

Well. It's a bug, but in the documentation.

It currently says "every option", but what it should say is "every option that can be used to set up a device". The -systemd-mark (or -m) option applies to the nbd-client process, not to the device. Similarly, the -list option also can't be specified in the nbdtab file, and that also isn't a bug.

Reading the nbdtab file in initramfs is not usually possible; after all, the nbdtab file is expected to be on the filesystem, not on the initramfs. Such initramfs environments are expected to deal with issuing the -m option themselves; it should not be necessary to specify that in configuration.

Of course, it's possible that you are trying to do something that I didn't think of, in which case I'm happy to be educated. In the absense of that, though, since specifying systemd-mark in nbdtab is highly unlikely to do what is expected, and since that that would cause confusion, I think the correct course of action here is to update the documentation and clarify that not all options make sense in an nbdtab file.

from nbd.

yoe avatar yoe commented on June 19, 2024

Fixed in the man page now.

from nbd.

Related Issues (20)

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.