File: udev_support_README

package info (click to toggle)
zulucrypt 6.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,908 kB
  • sloc: ansic: 25,142; cpp: 23,281; makefile: 24; xml: 10; sh: 2
file content (34 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34


udev is a runtime dependency but it is configured at build time to remove a necessity to
manage yet another configuration option.

udev support is off by default because udev has a bad habit of identifying some clearly
external volumes as internal[1].

[1]https://wiki.archlinux.org/index.php/udev#Mark_internal_SATA_ports_as_eSATA

If udev support is off,volumes with entries only in /etc/fstab and /etc/crypttab will be
considered as system volumes.Section 6 of the FAQ has more information on additional
ways to make volumes be considered as system.

if udev support is on,udev will be consulted before a decision is being when if a volume
is to be considered system or not.Section 7 of the FAQ has more information on how to remove
a volume of a list of system volumes.

I recommend disabling udev support if you are building zuluCrypt for your own use and you have all your
internal volumes mentioned either in fstab or crypttab.

I recommend enabling udev support if you are packaging for distribution or if you dont use
/etc/fstab or /etc/crypttab as a central place to manage system volumes.

To build with udev support add "-DUDEVSUPPORT=true" to cmake option list.

Example build steps to build with udev support

cd $SRC
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DUDEVSUPPORT=true -DCMAKE_BUILD_TYPE=RELEASE . ..
make
make install