Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacoby/mount.pl
Handles the mounting and unmounting of remote filesystems via FUSE and SSHFS
https://github.com/jacoby/mount.pl
fuse perl ssh
Last synced: 2 months ago
JSON representation
Handles the mounting and unmounting of remote filesystems via FUSE and SSHFS
- Host: GitHub
- URL: https://github.com/jacoby/mount.pl
- Owner: jacoby
- Created: 2011-11-28T15:53:54.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T20:26:23.000Z (about 6 years ago)
- Last Synced: 2024-05-08T18:54:21.422Z (8 months ago)
- Topics: fuse, perl, ssh
- Language: Perl
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Copyright 2011 Dave Jacoby
This program is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.----
Not too sure the format for this and what belongs here.
I created this program to handle via perl the increasingly large number of
SSHFS-mounted filesystems I was using. This program keeps track of the filesystems,
both remotely and local mountpoints, but not passwords.Configuration is held in ~/.mount.conf, which looks like this :
### .mount.conf
# like many config files, hashes comment outMachine1 |G|M|sshfs|machine1.long.url: | /home/me/Machine1
Machine2 |G| |sshfs|machine2.long.url: | /home/me/Machine2
# ^ M indicates mounting via mount-all setting
Machine2Log |G|M|sshfs|machine2.long.url:/var/log | /home/me/Machine2logThe fields are:
Name - the name of this mountpoint, for individual mounting and unmounting
Group - the name of the group this mountpoint is in, to allow the mounting
and unmounting of specific groups of file systems
M - indicates whether this gets mounted on mount-all
Protocol - right now, only sshfs is supported
Remote - follows the SSHFS syntax for remote mounts:
network_address:/remote/file/system/if/any
Local - where the mount point is on the local file systemUsage:
mount.pl
Mounts all
mount.pl -Q
Unmounts all
mount.pl -g Foo -g Bar
Mounts members of groups Foo and Bar
mount.pl -d Foo -d Bar
Unmounts members of groups Foo and Bar
mount.pl -m Blee -m Quuz
Mounts systems named Blee and Quuz
mount.pl -u Blee -u Quuz
Unounts systems named Blee and Quuz