An open API service indexing awesome lists of open source software.

https://github.com/jonathanstowe/linux-udev

Access to udev managed devices
https://github.com/jonathanstowe/linux-udev

device linux perl6 udev

Last synced: 2 months ago
JSON representation

Access to udev managed devices

Awesome Lists containing this project

README

          

# Linux::Udev

Access to devices managed by ```udev``` on Linux

[![Build Status](https://travis-ci.org/jonathanstowe/Linux-Udev.svg?branch=master)](https://travis-ci.org/jonathanstowe/Linux-Udev)

## Synopsis

```perl6

use Linux::Udev;

my $udev = Linux::Udev.new;

for $udev.devices -> $device {
say $device;
}

```

## Description

This provides access to the devices managed by [udev](https://en.wikipedia.org/wiki/Udev) on Linux.

The facility is provided by a binding to ```libudev``` which is often packaged
as part of ```systemd```.

## Installation

Assuming you have a working installation of Rakudo Perl 6 the you should be
able to install this with ```zef``` :

zef install Linux::Udev

# or from a local clone

zef install .

Other installers may become available later, please see their documentation
for the details.

## Licence & Copyright

This is free software, please see the [LICENCE](LICENCE) file in the
distribution directory.

© Jonathan Stowe, 2016, 2017