• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

data/H04-Feb-2021-3,6271,102

doc/H03-May-2022-6,5936,038

m4/H04-Feb-2021-125114

modules/H04-Feb-2021-21,19513,376

packaging/H04-Feb-2021-638487

po/H04-Feb-2021-204,585169,596

src/H04-Feb-2021-53,59537,400

tools/H04-Feb-2021-3,7373,213

udisks/H03-May-2022-4,9303,161

.gitignoreH A D04-Feb-20211.5 KiB9088

AUTHORSH A D04-Feb-20213.9 KiB103100

COPYINGH A D04-Feb-202143.2 KiB849696

HACKINGH A D04-Feb-20214 KiB11983

Makefile.amH A D04-Feb-20212.8 KiB9070

NEWSH A D04-Feb-2021111.8 KiB2,9222,446

README.mdH A D04-Feb-20212.9 KiB10464

TRANSLATINGH A D04-Feb-2021732 2315

acinclude.m4H A D04-Feb-202110.4 KiB320283

autogen.shH A D04-Feb-2021767 3423

configure.acH A D04-Feb-202127 KiB853740

zanata.xmlH A D04-Feb-20212 KiB789

README.md

1CI status
2=========
3
4<img alt="CI status" src="https://fedorapeople.org/groups/storage_apis/statuses/udisks-master.svg" width="100%" height="300ex" />
5
6
7OVERVIEW
8========
9
10The UDisks project provides a daemon, tools and libraries to access and
11manipulate disks, storage devices and technologies.
12
13For API stability and intended audience of UDisks, see the API STABILITY and
14AUDIENCE section of the `udisks(8)` man page (`doc/man/udisks.xml` in the
15tarball and git repository).
16
17
18LICENSE
19=======
20
21See the COPYING file for the license. In a nutshell, the daemon and tools are
22licensed under the GPLv2 (or later) and libraries are licensed under LGPLv2 (or
23later).
24
25
26INSTALLATION
27============
28
29UDisks has several dependencies listed in `packaging/udisks2.spec`.
30
31If you run rpm based distro, install the dependencies by:
32
33    # dnf builddep -y packaging/udisks2.spec
34
35AUTOTOOLS
36---------
37
38To configure and install the UDisks, perform following tasks:
39
40    $ ./autogen.sh
41
42Additional functionality of UDisks for monitoring and management is split
43into several modules: *BCache, BTRFS, iSCSI, libStorageManagement, LVM2, LVM
44Cache and zRAM*. By default, no additional module will be built.
45
46To build UDisks with (a) chosen module(s), provide or leave these
47configuration options for the `configure` script:
48
49    $ ./configure --enable-bcache --enable-btrfs --enable-iscsi
50                  --enable-lsm --enable-lvm2 --enable-lvmcache
51                  --enable-zram
52
53It is possible to enable all the modules at once:
54
55    $ ./configure --enable-modules
56
57The actual build and installation:
58
59    $ make
60    # make install
61
62RELEASES
63========
64
65Releases of UDisks are available in compressed tarballs from
66
67 https://github.com/storaged-project/udisks/releases
68
69
70BUGS and DEVELOPMENT
71====================
72
73Please report bugs via the GitHub's issues tracker at
74
75 https://github.com/storaged-project/udisks/issues
76
77 ### Running out of development source tree
78 If you would like to run out of the source tree for development without installing,
79 please do the following below.
80
81 **Note: Assuming you are in the base of the source tree and
82 you don't have udisks already installed**
83
84 * Build the source `$ ./autogen.sh --enable-modules --enable-debug && make`
85 * To run the daemon and splunk around with dbus clients
86   * copy the needed files, policy kit, dbus config, and udev rules
87     ```
88     sudo cp data/*.policy /usr/share/polkit-1/actions/
89     sudo cp modules/*/data/*.policy /usr/share/polkit-1/actions/
90
91     sudo cp data/org.freedesktop.UDisks2.conf /usr/share/dbus-1/system.d/
92
93     sudo cp data/80-udisks2.rules /usr/lib/udev/rules.d/
94     ```
95   * Get the udev rules to run `sudo udevadm control --reload && udevadm trigger && udevadm settle`
96 * Start the daemon `# ./udisksd --debug --uninstalled --force-load-modules`
97 * Start a client, eg. `# d-feet`
98
99 ### Run the unit tests
100
101 `./autogen.sh --enable-modules --enable-debug && make && make ci`
102
103
104