Skip to main content

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:

License

This software is provided under the following license:

  • Apache Software License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jk-mounting, version 0.2020.3.13
Filename, size File type Python version Upload date Hashes
Filename, size jk_mounting-0.2020.3.13.tar.gz (11.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page