Score:0

Simulate the same mounting behavior as when connecting a device via GUI, but via bash

it flag

When I normally connect a device, it automatically mounts it in /media/$USER/$LABEL and when I unplug it from the GUI, it automatically deletes the $LABEL folder in /media/$USER.
Instead when I use for example the mount command (I don't know if there are alternative commands), I am forced to create a mountpoint and to specify it together with the name of the disk.
How do I just specify the disk name in the "mount" command and have it automatically mount the device with the same behavior it does when I use the GUI?
Is there a script somewhere in the system that describes the automatic behavior it has (the list of commands it does) when a device is connected via the GUI?

Matias N Goldberg avatar
vg flag
See https://askubuntu.com/questions/270775/cli-mounting-vs-gui-mounting
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.