Permalink
Commits on Apr 19, 2014
  1. 3.2.0

    committed Apr 19, 2014
  2. Shorten long device names and pad to align nicely

    Device names that are very long (eg, >20 characters) are usually
    encrypted luks containers. For example:
      /dev/mapper/luks-1c3d4fe2-398c-82bf-ff73-9301029e039f
    
    We don't really need to show this whole string. Instead, we can remove
    the /dev/mapper prefix, show the last 6 characters, and as much of the
    start of the string as we can without exceeding a 22 character limit.
    We can also apply some padding so that all of the device labels align
    vertically, which makes things easier to read.
    
    A new show_full_device_names option is available in bashmount.conf and
    defaults to '0'. The full device name can always be seen by selecting
    the device, so the device sub-menus are not affected by this option.
    
    This was also a good opportunity to refactor some of the repeated code
    into a print_device_names() function.
    committed Apr 19, 2014
Commits on Apr 4, 2014
  1. 3.1.1

    committed Apr 4, 2014
  2. Merge pull request #7 from vitamins/master

    Small improvement to avoid forked grep process
    committed Apr 4, 2014
  3. In the function "list_devices", replace grep with regex when looking for

    partitions on a device.
    Only the presence of /dev/sda1 has to be checked, as /dev/sda2 implies the presence of /dev/sda1.
    This could be improved further by only checking if the next array element is /dev/sda1, as the array is already sorted.
    vitamins committed Apr 4, 2014
  4. 3.1.0

    committed Apr 4, 2014
  5. Add logic to display disks with no partitions

    Normally we don't want to see a 'disk', but if it has no partitions (eg,
    internal storage on some portable media devices) then it should be visible.
    committed Apr 4, 2014
Commits on Mar 24, 2014
  1. 3.0.3

    committed Mar 24, 2014
  2. Merge pull request #6 from vitamins/master

    Add command line parameter '--version'.
    committed Mar 24, 2014
  3. Add command line parameter '--version'.

    Handle incorrect parameters.
    Do not show bashmount version on the top.
    Shorten space between prompt and last separator.
    vitamins committed Mar 24, 2014
Commits on Mar 23, 2014
  1. 3.0.2

    committed Mar 23, 2014
  2. Merge pull request #5 from vitamins/master

    Fix newline in UI, second try.
    committed Mar 23, 2014
  3. Fix newline in UI, second try.

    vitamins committed Mar 23, 2014
  4. Revert "Fix newline in UI"

    This reverts commit bc755b3.
    
    Unless you want to have empty lines in between devices, only one '\n' is necessary.
    vitamins committed Mar 23, 2014
  5. Make use of new syntax for cryptsetup.

    vitamins committed Mar 23, 2014
  6. 3.0.1

    committed Mar 23, 2014
  7. Default to noatime instead of relatime

    Udisks2 apparently doesn't support passing 'relatime' as an option.
    Let's revert back to the behaviour of bashmount1 and bashmount2.
    committed Mar 23, 2014
  8. Merge pull request #4 from vitamins/master

    Fix dquotes.
    committed Mar 23, 2014
  9. Merge remote-tracking branch 'upstream/master'

    vitamins committed Mar 23, 2014
  10. Only use dquotes when variables are to be assigned.

    vitamins committed Mar 23, 2014
  11. Merge pull request #3 from vitamins/master

    Simplify read-only mounts & fix behaviour of "udisks" variable
    committed Mar 23, 2014
  12. Merge remote-tracking branch 'upstream/master'

    vitamins committed Mar 23, 2014
  13. Simplify handling of read-only mounts.

    Renamed variable "mount_options" to "default_mount_options".
    The variable "mount_options" is modified temporarily for read-only mounts and
    reset to "default_mount_options" afterwards.
    Uncomment variables in bashmount.conf that are set to defaults anyway.
    vitamins committed Mar 23, 2014
  14. Fix behaviour of "udisks" variable.

    If udisks is set to "auto", determine "udisks" as '1' or '0'.
    If udisks is set to "1", exit with error if udisks is not available.
    Without this change, "auto" and "1" are the same.
    Shorten tests.
    vitamins committed Mar 23, 2014
  15. 3.0.0

    committed Mar 23, 2014
  16. 3.0.0beta2

    committed Mar 23, 2014
  17. Fix newline in UI

    committed Mar 23, 2014
  18. 3.0.0beta1

    committed Mar 23, 2014
  19. Aesthetic changes

    committed Mar 23, 2014
  20. Allow blacklisting by TYPE

    committed Mar 23, 2014