This python module provides support for retrieving mount information and assists in mounting and unmounting.
Project description
jk_mounting
Introduction
This python module provides support for retrieving mount information and assists in mounting and unmounting.
Information about this module can be found here:
How to use this module
Import
To import this module use the following statement:
import jk_mounting
Retrieve Information
In order to get information about what kind of devices are mounted, use the following command:
mounter = jk_mounting.Mounter()
for mi in mounter.getMountInfos(isRegularDevice = True):
print(mi)
Mount a Device
To mount a device you can use the following command:
mounter = jk_mounting.Mounter()
mounter.mount("/dev/sdd1", "/mnt")
Contact Information
This is Open Source code. That not only gives you the possibility of freely using this code it also allows you to contribute. Feel free to contact the author(s) of this software listed below, either for comments, collaboration requests, suggestions for improvement or reporting bugs:
- Jürgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de
License
This software is provided under the following license:
- Apache Software License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jk_mounting-0.2021.11.15.tar.gz
.
File metadata
- Download URL: jk_mounting-0.2021.11.15.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e140dd8f41bc03f3b8f10da7e80d1850d7b7460ce20777a73470aafb6239ed8 |
|
MD5 | 32b998d0b6fdc503fb1c25ee80a8b7e7 |
|
BLAKE2b-256 | e11ac86f51ef46daf256e8670855217a05be1155979d47666c3c9951a6dd1560 |