Commit d95a8496 authored by TheOuterLinux's avatar TheOuterLinux

...

parent ab4c08a6
This diff is collapsed.
Dependencies
============
* bash
* eject
* Optional: udisks2
bashmount should work on all distributions with a recent version of lsblk.
Installation
============
1. As root, copy "bashmount" to "/usr/bin" or any other location in $PATH:
install -m755 bashmount /usr/bin/bashmount
2. Backup any existing configuration files.
3. As root, copy "bashmount.conf" to "/etc/bashmount.conf" for global
configuration:
install -m644 bashmount.conf /etc/bashmount.conf
4. Optionally, copy "bashmount.conf" to "$HOME/.config/bashmount/config"
for per-user configuration:
mkdir -p $HOME/.config/bashmount/
install -m644 bashmount.conf $HOME/.config/bashmount/config
5. Optionally, copy "bashmount.1" to "/usr/share/man/man1":
gzip -9 bashmount.1
install -m644 bashmount.1.gz /usr/share/man/man1/bashmount.1.gz
6. Make life a bit easier by setting an alias in "$HOME/.bashrc":
alias bm='bashmount'
bashmount 3.2.0 (2014-04-19)
- Shorten long device names and add padding so that device labels all
align vertically, making things easier to read
- Add show_full_device_names option to bashmount.conf
bashmount 3.1.1 (2014-04-04)
Thanks to Lukas B. (aka https://github.com/vitamins) for these changes:
- Avoid forked grep process
bashmount 3.1.0 (2014-04-04)
- Add logic to display disks with no partitions (eg, internal storage on
some portable media devices)
bashmount 3.0.3 (2014-03-24)
Thanks to Lukas B. (aka https://github.com/vitamins) for these changes:
- Save UI space by removing bashmount header
- Add `--version` command-line option
bashmount 3.0.2 (2014-03-23)
Thanks to Lukas B. (aka https://github.com/vitamins) for these changes:
- Fix newline in UI (again)
- Use new syntax for cryptsetup
bashmount 3.0.1 (2014-03-23)
- Default to 'noatime' instead of 'relatime' in the default mount options
Thanks to Lukas B. (aka https://github.com/vitamins) for these changes:
- When udisks=1 and udisksctl is not available, fail with a message
- Fix handling of read-only mounting
bashmount 3.0.0 (2014-03-23)
- Allow pressing [enter] to refresh device list
bashmount 3.0.0beta2 (2014-03-23)
- Fix newline in UI
bashmount 3.0.0beta1 (2014-03-23)
- Autodetect the presence of udisksctl, but also allow to manually disable
the use of udisks
- Re-order the configuration file and remove redundant options
- Allow blacklisting by TYPE
- The first three custom commands are now built-in to bashmount, so only
custom4_command, custom5_command and custom6_command are configurable
- Remove show_device_path option, and instead always show the device path
bashmount 3.0.0alpha1 (2014-03-23)
Many thanks to Lukas B. (aka https://github.com/vitamins) for porting
bashmount to use lsblk where appropriate and a variety of other changes:
- Information retrieval is now based on `lsblk` instead of `udisksctl`,
which allows us to get rid of a lot of horrible parsing
- Devices are sorted by internal media, removable media and optical media
- Only partitions are listed, no disks
- Opened luks containers are also listed by default
Configuration file:
- Add "mount_command" and "unmount_command" which can be configured by the
user
- "optical_devices" and "removable_devices" are no longer present
- "show_internal" is set to '1' by default
- "show_removable_device_filename" and "show_optical_device_filename" have
been replaced by a single variable named "show_device_path"
- "fancy_sort" is no longer present
bashmount 2.0.0alpha1 (2013-08-31)
- Port to udisks2
- New configuration file
- New dependency on `eject`
bashmount 1.6.2 (2012-02-06)
- Add some comments
- Add AUTHORS, INSTALL and README.pod files, which obsolete the README
file
- Add NEWS file, which obsoletes the ChangeLog file
- Add man page
- Change default filemanager to the shell when no configuration file can
be found
bashmount 1.6.1 (2012-02-05)
- Fix a small bug in print_submenu_commands()
- Keep lines of code more strictly within 80 character width limit
- Change default filemanager to the shell
- Aesthetic improvements to the code
bashmount 1.6.0 (2011-11-23)
- Add ability to blacklist devices based on arbitrary string matches
bashmount 1.5.3 (2011-11-04)
- Make sure the mount status is up to date in print_submenu_commands()
bashmount 1.5.2 (2011-11-04)
- Fix bugs in print_submenu_commands() due to an incorrect variable
declaration and a typo
bashmount 1.5.1 (2011-09-20)
- Fix bug in fancy_sort() due to an incorrect variable declaration
bashmount 1.5.0 (2011-09-16)
- Refactor code
- Unset GREP_OPTIONS in case the user has it set in their environment
- Move a misplaced printf '\n'
- Fix handling of functions that have not been set in the configuration file
- Remove specification of the udisks command path in the configuration file
- Add some more comments
bashmount 1.4.1 (2011-09-08)
- Add declaration of two variables
bashmount 1.4.0 (2011-09-06)
- Refactor code
- Add options to run any arbitrary command immediately after a successful
mount or unmount operation, such as commands to spin down a device
- If an operation fails in the device sub-menu, do not return to the top
menu
bashmount 1.3.1 (2011-05-31)
- Fix display of optical device number
bashmount 1.3.0 (2011-05-26)
- Fix declaration of arrays
- Fix handling of devices with 10 or more partitions
- Add a fancy_sort option in the configuration file for a very hack way to
make sure /dev/sdc11 does not come before /dev/sdc2 in the menu (which
occurs due to a shortcoming of the sort command)
- Use printf instead of echo
bashmount 1.2.0 (2011-05-23)
- Refactor code
- Fix "unmount all" command
- Exit correctly if there are errors on sourcing the configuration file
- Various minor aesthetic improvements
bashmount 1.1.4 (2011-05-19)
- Refactor code
bashmount 1.1.3 (2011-05-08)
- Fix numbering and display of devices
bashmount 1.1.2 (2011-05-08)
- Improve configuration file
bashmount 1.1.1 (2011-05-08)
- Fix handling of /dev/mmcblk* devices both in the script and in the
configuration file
bashmount 1.1.0 (2011-05-08)
- Improve configuration file
- Improve help screen
- Add support for matching /dev/mmcblk* devices such as SD card readers
bashmount 1.0.0 (2011-04-27)
- Initial release
=head1 NAME
bashmount - tool to mount and unmount removable media
=head1 SYNOPSIS
I<bashmount>
=head1 DESCRIPTION
bashmount is a menu-driven bash script that can use different
backends to easily mount, unmount or eject removable devices
without dependencies on udisks or any GUI. An extensive
configuration file allows many aspects of the script to be
modified and custom commands to be run on devices.
bashmount can also be used alongside any automounting solutions,
such as graphical file managers, udev rules or Udiskie.
=head1 FILES
=over 4
=item B</etc/bashmount.conf>
Default configuration file
=back
=head1 BUGS
If you find any bugs, please send an email to the author, or create a new
issue at L<https://github.com/jamielinux/bashmount/issues>.
=head1 AUTHORS
Jamie Nguyen E<lt>j@jamielinux.comE<gt>
Lukas B.
=head1 COPYRIGHT
Copyright (C) 2013-2014 Jamie Nguyen <j@jamielinux.com>
Copyright (C) 2014 Lukas B.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License v2 as published by the
Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
......@@ -20,7 +20,8 @@ aptitude - high-level interface to the package manager
arpon - ARP handler inspection
arpwatch - keep track of ethernet/ip address pairings
asciinema - terminal session recorder
aureport - a tool that produces summary reports of audit daemon logs
aureport - a tool that produces summary reports of audit daemon logs
bashmount - tool to mount and unmount removable media
cacademo, cacafire - libcaca's demonstration applications
cfdisk - an ncurses partition editor
chmod - change file mode bits (read, write, execute)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment