Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm interested in mount/umount usb and other devices directly from emacs.
In many file mangers (like nautilus) the devices are automatically discovered and indicated with an icon, it's possible to do something smart for emacs (maybe in dired)?
(defun sudo-shell-command (command) "Execute a shell-command with sudo tramp." (shell-command (concat "echo " (read-passwd (concat "[sudo] password for " user-login-name ": ")) " | sudo -S " command)))
Required, but never shown
7 months ago