Giter Club home page Giter Club logo

bashmount's People

Contributors

jamielinux avatar jonatanolofsson avatar nick87720z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bashmount's Issues

Extra line breaks in devices that are mounted multiple times

There are extra line breaks in the menu and submenu when a device has been mounted at multiple locations (as in bind mounts or btrfs subvolume mounts). These extra newlines make it harder to read the line numbers in the menu and break up the table layout:

bashmount-1a

bashmount-1b

lsblk: invalid option

An 'invalid option' error is issued:
mx@mx-lin ~/Downloads/bashmount-3.2.0 $ ./bashmount
lsblk: invalid option -- 'p'
Usage:
lsblk [options] [ ...]

One line looks suspicious:

mx@mx-lin ~/Downloads/bashmount-3.2.0 $ grep -n 'lsblk -p' bashmount
500: all=( $(lsblk -plno NAME) )

The '-p ' option does not exist, according to 'man lsblk'.
Using here Ubuntu 14.04

After upgrading, bashmount exits with error if colorize is disabled

I have been running bashmount for a long time with colorize disabled. After updating to 4.3.1 from a much older version, bashmount no longer runs with colorize='0'. I get the error:

line 213: BOLD: unbound variable

I find that in line 116-130, BOLD (and other variables) are being set only if colorize is enabled.

I got bashmount to work by adding an else clause is needed that sets all these variables to ""

else
        declare -r ALL_OFF=""
        declare -r BOLD=""    
        declare -r BLUE=""
        declare -r GREEN=""
        declare -r RED=""

does not properly exit after opening a device

Command: 3o
==> Opening /dev/sdd1 ...
[alad@arbellen BACKUP USB] $ cd
[alad@arbellen ~]$ bashmount
Command: 3u
Error unmounting /dev/sdd1: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error unmounting /dev/sdd1: Command-line `umount "/media/BACKUP USB"' exited with non-zero exit status 32: umount: /media/BACKUP USB: target is busy

If you use "exit" to first terminate $SHELL bashmount launched, it works as intended. Not quite sure how to handle this, unless you opened a new terminal... something like

cd "${1}" && (setsid "$SHELL" &)

forks a new shell and exits bashmount, but the user doesn't see it.

Support udisks2

udisks has been moved to udisksctl. Not sure yet if anything else is different.

Unable to unmount because bashmount keeps target busy

When trying out bashmount, I discovered that when I attempt to unmount the device, I get
Error unmounting /dev/sdf1: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdf1: target is busy
When I check lsof, I find that bashmount is keeping the target busy, preventing itself from unmounting it
bashmount 24464 dfowl cwd DIR 8,81 16384 1 /run/media/dfowl/DFO_USB

ejecting not working without sudo password

Command: 8e

==> Ejecting /dev/sdd2 ...

eject: cannot open /dev/sdd: Permission denied

Press [enter] to continue: 

Doesnt seem to eject device without sudo password. Mounting and unmount works fine though without any password requirements.

using: udisk2

"No devices" as regular user

Hi,
This issue is more to get some help than a real issue.
I am a long term, very satisfied user of bashmount.
I have two computers, one is running xmonad installed after a lubuntu install. Bashmound works fine on it.
I have been obliged to reinstall my system on the other computer with a kubuntu install DVD, and then installed xmonad.
On this one, bashmount gives me a "no devices" message when invoked. It works perfectly as root.
The user account I log into is the member of the following groups. They are the same as on my lubuntu box.
less /etc/group |grep plainuser 8 adm:x:4:syslog,plainuser 7 cdrom:x:24:plainuser 6 sudo:x:27:plainuser 5 dip:x:30:plainuser 4 plugdev:x:46:plainuser 3 lpadmin:x:121:plainuser 2 lxd:x:131:plainuser 1 plainuser:x:1000: 0 sambashare:x:132:plainuser
Any idea to fix this problem ?

==== AUTHENTICATING FOR org.freedesktop.udisks2.filesystem-mount-system ====

I have been using bashmount for weeks, it is a really nice tool.

But recently I convert my Manjaro to Archlinux using third party script, it made a lot of changes and uninstallation.

Now when I try to mount the second SSD in my PC, it asks for password

==== AUTHENTICATING FOR org.freedesktop.udisks2.filesystem-mount-system ====
Authentication is required to mount _SSD model_ (/dev/nvme1n1p1)
Authenticating as: user
Password:

I'm not familiar with this udisks2 (already installed), how can I solve this issue, I mean mount/umount drive without permission like old days?

Allow "per filesystem" options

Would it be possible to allow to specify options only for specific file systems.
For example, I would like to use compress=zstd on btrfs.
Using this options give errors on other fs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.