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

learn more… | top users | synonyms

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 ...
2
votes
4answers
8k views

Device is Mounting as Read Only (Can Copy Files as Root)

I am attempting to mount my Amazon Kindle, 3rd Edition. It automounts correctly and when I run mount -l, I get the following output: /dev/sdg1 on /media/usb0 type vfat ...
2
votes
5answers
1k views

sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)

I just installed the latest Ubuntu 12.04 and obviously it screws something up. I'm not sure if this has anything to do with the fact that I have a Raid 1 but at the moment, I have sda and sdb which ...
4
votes
1answer
2k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
5
votes
2answers
2k views

Mount ubuntu one or similar web storage services without their clients

I want to mount a folder to sync with my Ubuntu One account. The only restriction is that I don't want to use the client provided. I use Arch Linux if it counts. And if you can provide a general ...
4
votes
4answers
2k views

fstab not mounting a disk on boot

I'm running Arch Linux on a Macbook. I want to automatically mount my Macintosh partition when booting Arch, so I added the following to /etc/fstab: /dev/sda2 /media/Machintosh hfsplus defaults 1 2 ...
7
votes
4answers
13k views

automount nfs: autofs timeout settings for unreliable servers - how to avoid hangup?

I'm running a small server for our flat share. It's mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s ...
1
vote
0answers
1k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
3
votes
2answers
4k views

Nautilus, mount ISO file with right-click menu

I am using Nautilus now, and back then when i was using Ubuntu i could right-click on an ISO file and automount it without the need to issue any command. But now i am using Nautilus in Archlinux and ...
3
votes
3answers
3k views

Automount external storage as user readable and writable in Debian XFCE?

I have Debian Wheezy installed with the latest XFCE desktop environment. In the XFCE settings, I specified that external media be automounted upon insertion. However, when I plug in my USB stick, it ...
1
vote
1answer
1k 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 ...
3
votes
3answers
9k 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 ...
4
votes
1answer
131 views

Mount and automount and security problems

Are there any security problems related with (auto)mounting device?
2
votes
1answer
612 views

Running a command when a CD/DVD/BD inserted

This seems like a simple question to me, but after two nights of searching and tinkering, I haven't been able to find anything promising. I am running a headless Ubuntu server. I want to be able to ...
9
votes
3answers
8k 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 ...
4
votes
2answers
2k views

How do you protect a plain text credentials file with the username and password?

I am trying to setup an auto-mounting network drive. The network drive requires a user/pass. In the man page for "mount.cifs" there are two ways to provide the user/pass. [not recommended] put the ...
3
votes
1answer
568 views

NFS mount to a subdirectory of already mounted directory

We have a strange scenario (AIX 5.3) - There is a directory /mnt to which an NFS share from windows server1 is mounted Then there is another directory /mnt/subdir1 to which NFS share from windows ...
2
votes
1answer
539 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...
1
vote
1answer
157 views

Comprehensive /etc/auto.disks script for autofs that takes into consideration all mounted disks, including NTFS and FAT32?

Does anyone have a more comprehensive /etc/auto.disks script for autofs that takes into consideration all mounted disks, even NTFS, FAT32? So all that's needed to mount any attached drive is ls ...
2
votes
0answers
700 views

Automounting not working correctly for CIFS shares; weird results

I followed the guide on this page to get samba shares working via autofs: http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs Servers and Configuration My Samba server (remote) ...
1
vote
1answer
734 views

Automount lookup failed. How to determine what is trying to access the file?

Is there a way to find out what is trying to mount this file? Jul 13 14:27:24 myhost automount[13527]: lookup(file): lookup for tmp_dir failed Something is looking for "tmp_dir", and I've ...
3
votes
1answer
657 views

Auto mount cd or dvd on CLI based ubuntu server

I am using Ubuntu server as a samba server. The solution I am looking for is whenever the disks are inserted (cd or dvd) they should get auto-mounted to /cdrom directory. Are there any tools for ...
2
votes
1answer
820 views

How to mount a USB stick in FreeBSD?

I am running a FreeNAS (FreeBSD version) on a DELL R310, but when I connect a USB stick it does not automatically get mounted. The same stick does get automatically mounted in CentOS/Fedora. How do I ...
4
votes
2answers
662 views

Can I easily remount an external USB drive without unplugging it?

Sometimes, a USB drive (or equivalent) that I have plugged in to my machine gets unmounted. Now, I know I could unplug it and plug it back in to remount it, but is it possible to easily do it from ...
5
votes
4answers
3k views

Detect if a (NTFS) drive is mounted or not. If not then mount it

I want to sync an USB drive with a folder located on a NTFS partition which is not mounted at boot time. I have found a command to do that: rsync -axu /media/USB/folder /home/user/folder. But I have ...
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 ...
4
votes
1answer
365 views

Disable /net ghosting for autofs5

I recently have been trying out Arch Linux. It seems that their autofs has a usability bug, although I confess that I'm new enough to Arch that I may be missing something horribly obvious. I want ...
1
vote
2answers
726 views

Stop USB mobile broadband automatically mounting as drive

UPDATE 3: This is what I get from lsusb: oshirowanen@laptop:~$ sudo lsusb [sudo] password for oshirowanen: Bus 001 Device 003: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636 As I have tried the ...
1
vote
0answers
329 views

How can I automount devices with no desktop environment? [duplicate]

Possible Duplicate: Replacement for halevt? I've installed Arch Linux on my computer and I'm not using a desktop environment. I just have Openbox window manager installed and bit by bit ...
5
votes
3answers
4k 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
705 views

When networkmanager is used, OpenSuSe gets stuck during boot for 10 minutes

I have this problem on all machines that I every installed (different configurations, different geographical locations, even different OpenSuSe versions) and it's extremely irritating. When I turn on ...
2
votes
1answer
346 views

Automounting in KDE-3.5.10 without HAL

community! I have Gentoo(amd64) installed with KDE-3.5.10 desktop from kde-sunset overlay. Recently I have upgraded xorg-server from 1.7 to 1.9 and now want to extinguish hal completly. The only ...
4
votes
2answers
879 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 ...
1
vote
1answer
1k views

Why is my fstab entry for an external USB drive not working?

I have an external USB drive which my system recognizes as /dev/sdb1. I want to have it automounted with 755 permissions on boot and shared over the network with samba. I created the mount point ...
10
votes
4answers
7k 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 ...
1
vote
2answers
919 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 ...
6
votes
1answer
263 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 ...
1
vote
1answer
391 views

Auto mount HP USB Flash drive Error

I am using RHEL 5, If i plug my USB Flash drive i'm getting Error message as follows, This much days It work smoothly, And now it working with windows XP well. Where is the problem ? How can i ...
3
votes
2answers
898 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 ...
1
vote
1answer
824 views

How do I stop thunar trying auto-mount a partition

When I plug in SIPOD, my pet ipod, thunar tries to auto-mount two partitions instead of one. This annoying pop-up is starting to kill me: This is what /dev/sde looks like: $ sudo file -s ...
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 ...
5
votes
1answer
1k views

Automatically mount network drive when available

I have a NAT drive, that is accessible via SMB. I have an entry in fstab to mount it at boot. But if the drive is not switched on it is not mounted during boot and I have to manually mount later. (The ...