5
votes
3answers
1k views

How can I create a udev rule to mount a USB drive read only?

I'm trying to set a particular USB drive to always mount read only. If I plug it in, it is seen as sdb with a single partition, sdb1. Here are some relevant udevadm lines (not the entire output of ...
1
vote
1answer
235 views

UDev automounting drives as 'usbhd' regardless of type and name on Ubuntu 12.10

I have 3 drives which I use for storage on my system. Here are their mounting points in /etc/fstab # <file system> <mount point> <type> <options> <dump> ...
2
votes
1answer
283 views

Prevent specific USB device from automounting

I have a SD card which is always inserted in my SD-card slot. However, I do not often use it (but do not want to take it out). Currently, it's being auto-mounted every time I start my computer. I feel ...
5
votes
1answer
2k 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 ...
3
votes
3answers
10k 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 ...
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
941 views

Auto-mounting to a directory other than /media in Fedora 13

I am using Fedora 13. I need to be able to configure how media are mounted automatically. For an example, I want to change the parent of all mounted media to be a directory other than /media. All the ...
4
votes
1answer
2k views

Preventing mounting some partition by user (gnome+udisk)

I'd like to prevent automounting one partition (known UUID etc. ) on one external harddrive. Others should be automounted. Distro is 'modern' (uses lots of beta software) and uses udisk+udev for ...