Automounting is the process where mounting and unmounting of certain filesystems is done automatically by a daemon.

learn more… | top users | synonyms

7
votes
3answers
6k views

Automount USB drives with no GUI requirement (halevt replacement)

For minimal installations of Debian, I have been using halevt to enable automounting of USB drives. Halevt is reliable and requires no configuration aside from installing the package. Now, halevt has ...
4
votes
3answers
12k views

Automounting USB sticks on Debian

I'm running Debian Squeeze on a plug computer (so SSH only, no GUI) and what I'm trying to do is get it so that when a USB stick is plugged in, it gets automatically mounted. What I've done is ...
5
votes
1answer
3k views

Udev rule is not being used?

I'm setting up udev to handle my external USB hard drive when it gets plugged in and removed (no mounting yet). So far, I've made two new rules in /etc/udev/rules.d/10-local.rules to log ...
7
votes
2answers
362 views

Triggering an action when a specific volume is connected

I have a USB key that contains my keepass2 password database and I'd like to perform some actions when it is plugged into my computer, namely: Auto-mount it to some specific location When the ...
6
votes
1answer
277 views

Automounting plugged devices in linux

Auto-mounting seems to be a bit of a messy thing in linux. The options to automount ranges from autofs, udev, hal or even filemanagers. What is the best-practice method to enable automounting on ...
4
votes
2answers
1k views

USB storage devices aren't automatically mounted when inserted on a fresh install of Debian 6.0

I installed Debian 6.0 (squeeze) a few days ago on my machine. I installed the default GNOME desktop, standard settings. Unfortunately, I just noticed that when I plug in USB storage devices (external ...
12
votes
4answers
9k views

Mounting USB disks automatically (How it works)

Background: I am trying to mount a usb disk as read only but my ubuntu install is mounting it rw when I plug the disk in. I can unmount the disk manually and remount it manually as read only with ...
12
votes
3answers
11k views

Does mount always require root privileges?

I was under the impression that any sort of call to mount requires root privileges. But recently I was told "You should instead create appropriate entries in /etc/fstab so that the filesystems can be ...
10
votes
5answers
579 views

How does mounting on the GUI work “under the hood”

UPDATE Please correct me if I'm wrong: For working on my computer, with a GNU/Linux Distribution named Debian, I know two ways to enter a command, start an application, open a file, etc.: a ...
7
votes
1answer
1k views

Suggestions needed for udev, udisks, autofs, notification setup for a complete automounting solution on Linux

Continuing on Automounting plugged devices in linux, which left things a bit basic. Running Gentoo, I'm automounting a combination of local and network devices on my laptop with autofs-5.0.4-r5. Doing ...
3
votes
2answers
3k views

How to automatically mount an USB device on plugin-time on an already running system?

I know how to use /etc/fstab to automatically mount devices on boot or when doing sudo mount -a, which works perfectly fine. For example, here is my current line for my device UUID=B864-497A ...
3
votes
1answer
2k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
1
vote
2answers
961 views

How to get my USB stick to auto-mount?

I used to be able to have my USB stick auto-mount when I plugged it in, on my GNOME desktop. After some fiddling with my system, it doesn't happen anymore. I now have to resort to doing this using the ...
3
votes
3answers
366 views

Removable USB stick listed as non-removable in /sys/block?

In my question Bash script to output path to USB flash memory stick I got stuck on a problem nobody else seems to be having. (The issue also impedes my desire to use this answer: ...
1
vote
1answer
119 views

Where is my tablet's memory card mounted on laptop?

I connected my Asus fonepad7 tablet to my laptop via usb. My laptop automatically detects it & opens. But I'm unable to find where the memory card of my tablet mounted on laptop. Just see below, ...
1
vote
1answer
2k views

Debian squeeze post-installation automount problem, USB port confused for /dev/cdrom0

Usually when I install Linux on a laptop, I use the following command $ dd if=installcdrom.iso of=/dev/sdX where sdX is the inserted, unmounted USB stick (sdb usually), and installcdrom.iso is a ...
0
votes
0answers
26 views

automount usb drive [duplicate]

I have a RaspberryPi with Raspbian (no GUI, only terminal). I want to use it as a music player (I will install a music daemon with web interface). Currently, when want to mount an external usb drive, ...
0
votes
1answer
527 views

How to set default auto mount options for removable media?

I have quite a bit of removable media (flash drives, external hard drives, etc) that I want to adjust auto mount options for. How does one do this? Is there something similar to /etc/fstab?