Coder Social home page Coder Social logo

mvollmer / udisks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from storaged-project/udisks

0.0 3.0 0.0 11.14 MB

The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies.

Home Page: http://storaged.org/doc/udisks2-api/latest/

License: Other

Makefile 2.58% M4 1.50% Shell 0.23% C 82.57% Python 13.12%

udisks's Introduction

CI status

CI status

OVERVIEW

The Udisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies.

For API stability and intended audience of Udisks, see the API STABILITY and AUDIENCE section of the udisks(8) man page (doc/man/udisks.xml in the tarball and git repository).

LICENSE

See the COPYING file for the license. In a nutshell, the daemon and tools are licensed under the GPLv2 (or later) and libraries are licensed under LGPLv2 (or later).

INSTALLATION

Udisks has several dependencies listed in packaging/udisks2.spec.

If you run rpm based distro, install the dependencies by:

# dnf builddep -y packaging/udisks2.spec

AUTOTOOLS

To configure and install the Udisks, perform following tasks:

$ ./autogen.sh

Additional functionality of Udisks for monitoring and management is split into several modules: BCache, BTRFS, iSCSI, libStorageManagement, LVM2, LVM Cache and zRAM. By default, no additional module will be built.

To build Udisks with (a) chosen module(s), provide or leave these configuration options for the configure script:

$ ./configure --enable-bcache --enable-btrfs --enable-iscsi
              --enable-lsm --enable-lvm2 --enable-lvmcache
              --enable-zram

It is possible to enable all the modules at once:

$ ./configure --enable-modules

The actual build and installation:

$ make
# make install

RELEASES

Releases of Udisks are available in compressed tarballs from

https://github.com/storaged-project/udisks/releases

BUGS and DEVELOPMENT

Please report bugs via the GitHub's issues tracker at

https://github.com/storaged-project/udisks/issues

Running out of development source tree

If you would like to run out of the source tree for development without installing, please do the following below.

Note: Assuming you are in the base of the source tree and you don't have udisks already installed

  • Build the source $ ./autogen.sh --enable-modules --enable-debug && make
  • To run the daemon and splunk around with dbus clients
    • copy the needed files, policy kit, dbus config, and udev rules
      sudo cp data/*.policy /usr/share/polkit-1/actions/
      sudo cp modules/*/data/*.policy /usr/share/polkit-1/actions/
      
      sudo cp data/org.freedesktop.UDisks2.conf /etc/dbus-1/system.d/
      
      sudo cp data/80-udisks2.rules /usr/lib/udev/rules.d/
      
    • Get the udev rules to run sudo udevadm control --reload && udevadm trigger && udevadm settle
  • Start the daemon # ./udisksd --debug --uninstalled --force-load-modules
  • Start a client, eg. # d-feet

Run the unit tests

./autogen.sh --enable-modules --enable-debug && make && make ci

udisks's People

Contributors

davidz25 avatar vojtechtrefny avatar vpodzime avatar phatina avatar martinpitt avatar tbzatek avatar tasleson avatar mvollmer avatar tsmetana avatar coldfix avatar dhodovsk avatar japokorn avatar mbiebl avatar pothos avatar azzar1 avatar cathay4t avatar rosslagerwall avatar stefwalter avatar wjt avatar cgwalters avatar psusi avatar segfault3 avatar squimrel avatar ensonic avatar hughsie avatar ondrejholy avatar hjmallon avatar felixonmars avatar hadess avatar prahal avatar

Watchers

James Cloos avatar  avatar  avatar

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.