forked from openkylin/xfce4-mount-plugin
48 lines
1.7 KiB
Plaintext
48 lines
1.7 KiB
Plaintext
|
# ================================================ #
|
||
|
# Version 1.1.0. for Xfce Panel 4.12.0 and higher #
|
||
|
# Ported and maintained by Fabian Nowak and others #
|
||
|
# ================================================ #
|
||
|
https://docs.xfce.org/panel-plugins/xfce4-mount-plugin
|
||
|
|
||
|
xfce4-mount-plugin - version 1.1.0
|
||
|
|
||
|
This little plugin behaves like the "kwikdisk - removable media utility"
|
||
|
shipped with KDE.
|
||
|
|
||
|
Press it and it will display a list of items representing your various devices.
|
||
|
If you click on an unmounted devices it will mount it and vice versa. There is
|
||
|
a warning in case a device can't be mounted or when unmounting fails.
|
||
|
|
||
|
The plugin displays various information on each device:
|
||
|
"device name" > "mount point" ["used size"/"total size"] "available size" free
|
||
|
and an obvious progress bar.
|
||
|
|
||
|
The plugin works in a very simple way. It builds a list of devices from your
|
||
|
/etc/fstab (using setfsent() and getfsent() ) and gets device stats from the
|
||
|
list of mounted devices (i.e. same data as the 'df' command), using setmntent()
|
||
|
and getmntent(). On *BSD systems it uses getmntinfo().
|
||
|
For mouting a device, the plugin simply runs a "mount /mount_point/ " command
|
||
|
if no other command is explicitly specified in the options dialog.
|
||
|
|
||
|
Acknowledgements go to the following people for several major or minor reasons,
|
||
|
mostly for nice ideas and features, but also for bugfixes and other stuff:
|
||
|
|
||
|
- The one guy with the "no device names" patch
|
||
|
- Landry Breuil
|
||
|
- Christoph Kühne
|
||
|
- Pavol Rusnak
|
||
|
- Lionel Le Folgoc
|
||
|
- Enrico Troeger
|
||
|
- Sergei "GeoNix"
|
||
|
- Neoklis
|
||
|
- Robby Workman
|
||
|
- Matthias Eller
|
||
|
- Jari Eskelinen
|
||
|
- Joost Kremers
|
||
|
- Jean-Baptiste Dulong
|
||
|
- Raphael Groner
|
||
|
- skunnyk
|
||
|
|
||
|
Thank you.
|
||
|
|