Giter Site home page Giter Site logo

Comments (3)

hvhaugwitz avatar hvhaugwitz commented on July 22, 2024

Since v0.16.2 /dev/null is supported as output database.

What is the use case for using /dev/null as input database and what is the difference to just initialize the database with --init?

from aide.

Zugschlus avatar Zugschlus commented on July 22, 2024

You get a report as if you had an empty database before. And it's faster than --init.

And, I apologize, 13 years after the original report was filed, I do not remember much of my original use case. There is a possibility that I just thought "heck, it's one line of code, it might be useful for input database as well to be complete and orthogonal".

Greetings
Marc

from aide.

hvhaugwitz avatar hvhaugwitz commented on July 22, 2024

Using /dev/null as input database currently gives you a warning about missing db_spec:

mkdir /tmp/test
aide --config /dev/null --before database=file:/dev/null --before database_attrs=E --before root_prefix=/tmp/test --before '/ R' --check
File database must have one db_spec specification
Start timestamp: 2020-12-23 20:58:32 +0100 (AIDE 0.16.1)
AIDE found differences between database and filesystem!!
Root prefix: /tmp/test

Summary:
  Total number of entries:      1
  Added entries:                1
  Removed entries:              0
  Changed entries:              0

---------------------------------------------------
Added entries:
---------------------------------------------------

d++++++++++++++++: /

End timestamp: 2020-12-23 20:58:32 +0100 (run time: 0m 0s)

The warning will be removed in the next release of AIDE.

from aide.

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.