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

learn more… | top users | synonyms

1
vote
2answers
55 views

Location of automounted USB devices

I am creating a GUI app using tkinter and python. The app calls for a user to plug in a usb flash drive containing video files. I am launching the app with openbox. The USB does not seem to be ...
2
votes
0answers
22 views

Why does mounting external harddrive trigger a UFW event?

Today I noticed when I plug in my 2TB external Toshiba hard drive, it triggers a ufw event in my logs: Jul 20 11:24:20 linuxbox kernel: [152873.728277] [UFW BLOCK] IN=inet1 OUT= MAC= SRC=xxxa DST=...
3
votes
4answers
5k views

How to automatically mount remote directories on login / startup

Everytime I boot, I use sshfs to mount remote directories. I am thinking to put these short commands in my .bashrc, but that does not seem to be The Right Way™. What is the proper way to run sshfs on ...
1
vote
0answers
32 views

Integration of `afuse` with `sshfs` as a (systemd?) user-daemon spawned from login or first shell

To facilitate working with remote files, I setup afuse with sshfs to run from my .bashrc. It works, after bash init all my remote trees from ~/.ssh/config/ are mounted on-demand under ~/scp/, but ...
0
votes
1answer
17 views

Automounting internal partition and usb

I'm running arch Linux with i3 window manager and I'm wondering if there's a way to replicate Ubuntu behavior about auto mounting internal partitions and USB. More precisely: Mount all partitions ...
1
vote
0answers
23 views

SELinux prevents auto-umount of ecryptfs

I'm running SELinux and ecryptfs on a Debian machine. When a user logs out, unfortunately it's home directory is not unmounted, and I get the following error in audit.log: type=USER_AVC msg=audit(...
6
votes
2answers
2k views

How do I get systemd to start my ZFS mount script before doing anything else?

Right now I'm using zfsonlinux on Fedora 19, and it works excellently. Mounting works at bootup as planned using the initscript (included with zfs) that systemd calls, but there's a pretty significant ...
1
vote
1answer
30 views

How does Dolphin discover the disks to mount?

After I ran Dolphin, I noticed that two new mounts, like dev/sda1 for windows NTFS and dev/sdd1 have appeared in my system. Where are they defined? It is not surprise that I could not find them in /...
0
votes
0answers
149 views

Not able to automount NFS share

I am using RHEL 6 and not able to mount NFS Share via automount . My Config files are as follows :- #cat /etc/auto.master /mnt auto.mnt #cat /etc/auto.mnt /nfsshare -fstype=nfs,no_root_squash,rw,...
1
vote
0answers
83 views

Unable to unmount a partition - respawned by udev

I have set up the udev rules to automatically mount/unmount the removable devices with udev rules based on the answer to "How to mount removable media in /media/<LABEL> automatically when ...
1
vote
0answers
23 views

Automount with autofs, encfs and keyring access

I have build myself a nice setup: I have encrypted encfs folders that are mountable with autofs, i.e. when I enter the folders they will be automatically decrypted. I have the encfs password added to ...
1
vote
2answers
29 views

Automatic Mount at Boot For Xubuntu

I'm trying to follow these instruction to mount a second hard drive: https://help.ubuntu.com/community/InstallingANewHardDrive For automatic boot at mount it says I need to enter this into the ...
0
votes
1answer
69 views

Mount an hard drive at start-up

I'm using Fedora 23 with KDE Plasma. I'd like to mount automatically my hard-drive at start-up. Here is a screenshot of my situation : Any idea ? Thanks
0
votes
1answer
71 views

Automount USB sticks on fedora 22

I need to automount any USB stick that gets connect to any USB port. I am running Fedora 22. I thought this would be straightforward but it is taking a while for me to set up. The tutorial I find when ...
8
votes
2answers
326 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 ...
0
votes
1answer
33 views

Difference between automount and the use of udev rules and autofs to automatically mount and dismount USBs, CDs and DVDs

Ubuntu 16 (and 14 and 12 and 10) runs fuse-gvfs and does not need any daemons to mount USB drives. What is the difference between automount and the use of udev rules and autofs to automatically mount ...
4
votes
2answers
5k views

Mount a folder on a drive in fstab. Move?

I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
0
votes
0answers
38 views

How to fix the autofs procedure used for preserving the USB mount point in between reboots and USB reconnects?

I read the answers in this excellent Unix Stack Exchange article; Automounting USB sticks on Debian and tested it earlier yesterday on an Ubuntu Linux 16.04 instance , Lenovo Thinkstation quad core ...
2
votes
1answer
3k 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 ...
1
vote
0answers
43 views

Static CDC ACM device binding

I'm using a buildroot linux on IMX6 board. I have 2 CDC ACM device, a reader and a modem. My modem have always been on /dev/ttyACM0 and I want it to stay that way. The problem is that my reader is "...
0
votes
0answers
46 views

Why does Linux seem to automount NTFS USB drives under /media/LABEL but FAT32 USB drives under /media/usb[some_weird_number]?

I need them fat ones to be mounted under /media/LABEL as well... Running Raspbian (7.x something if I remember correctly). Does anybody know the solution?
2
votes
2answers
225 views

Mount error when automounting a LUKS-encrypted USB flashdrive

UPDATE 1: userone@desktop:~$ sudo umount "/media/userone/New Volume" umount: /media/userone/New Volume: mountpoint not found userone@desktop:~$ sudo cryptsetup luksClose /dev/mapper/luks-04cb4ea7-...
1
vote
0answers
19 views

systemd: gracefully fail backup when external disk not plugged in

I have a backup setup where I use systemd timers to do hourly, daily, weekly, and monthly backups. Each timer unit triggers a service that runs the backup script. The backup service units are of the ...
2
votes
1answer
106 views

According to which algorithm does Linux assign the hard drive letters?

I have observed that between repeated boots of the same system, the mapping between the device names /dev/sda, /dev/sdb/... and the physical hard drives stays the same. However I am not sure if it ...
0
votes
0answers
117 views

How to configure Mate to automount a disk despite kernel errors?

I am attempting to connect a Marantz Professional sound recorder over USB to a Raspberry Pi running Ubuntu Mate 15.10. The sound recorder should mount as a USB disk. I am receiving buffer overflow ...
3
votes
0answers
40 views

systemd: how to require and effect mounting a specific file system?

I would like to create a service file that, when started, causes a specified filesystem to be mounted before the action of the service file is performed (as it needs that file system to be available). ...
13
votes
4answers
7k views

CD disk not detected by Fedora on my Laptop

I rarely use cd's on my laptop, but I recall having the same problem a few months ago. When I put a cd in my DVD drive nothing happens. It kicked in last time without me doing anything but I don't ...
2
votes
2answers
2k views

How Do I use autofs to map a USB drive by its ID?

Goal I have a USB drive -- let's say the drive's ID is /dev/disk/by-id/thediskid I would like to mount the drive -- by ID -- to a folder (let's call it /MOUNT_FOLDER) Question What is the best ...
1
vote
1answer
2k views

How to Disable AutoMount of External Drives

Is it possible to Disable auto mount of External Harddrives or USB's in RHEL. For security reasons I have to disable this feature. And when I need it I will enable it back.
1
vote
1answer
76 views

Why can't I mount the disk now with limited memory?

Today I am experiencing problems on my laptop running Fedora 22 with a external USB 3 Seagate hard drive. I plugged the drive in and it wouldn't mount, instead showing low_memory errors in dmesg. ...
0
votes
1answer
146 views

Disabling USB automount in GNOME3

I'm trying to disable the USB automount in GNOME 3.14.1 (debian Jessie). I've modified the gnome media handling using dconf-editor, my configuration looks like this: I'm not sure of what proces or ...
0
votes
0answers
15 views

Cant interactive external program be executed using udev rules? [duplicate]

I am using following udev rule(s) to execute my program whenever block device (e.g. USB) will be attached. ACTION=="add", SUBSYSTEM=="block", PROGRAM+="/tmp/foo %k" or ACTION=="add", SUBSYSTEM=="...
1
vote
1answer
38 views

Ubuntu 14.04 LTS: Auto-mount partition

Here's the situation: I have a nice 399 GB NTFS partition with a lot of files on it I access regularly but still need to access in Windows. My question: What is the best way to automount this ...
2
votes
1answer
172 views

Debian Jessie FSTAB Automount network problem

Ok I made a reinstallation of my Debian 8 Jessie last night and my home Directory wasn't erased (don't know if any confs might interfere on this). So I have a Network CIFS share I wanna Automount... ...
1
vote
0answers
51 views

How to mount to subdirectory of autofs

I have follong problem - I'd like to use autfs in one place to mount to subdirectory of autofs. I.e. I'd like to have something like: foo -fs=... bar/baz -fs=... The problem is that (according to ...
8
votes
6answers
23k 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 (rw,noexec,nodev,sync,noatime,...
0
votes
1answer
162 views

udev disk mount permissions in linux

We would like to set up a customer account on our overo running embedded Angstrom along with ssh so they can log on to retrieve data. uname -a Linux pb014-01 2.6.32 #1 Wed Feb 29 15:17:02 GMT 2012 ...
3
votes
1answer
6k views

Mount external hard drive automatically

I have an external hard drive (WB My Passport), connected via a USB port. My OS is Elementary OS Freya on a Dell Vostro 1510. Currently, in order to mount the drive, I have to open the file manager, ...
3
votes
0answers
92 views

How to disable systemctl unit?

I have a home.mount unit that mounts my home directory to a partition different than what I wish. Things I have tried: Using fstab to override it. However, fstab does not mount /home unless I type ...
5
votes
2answers
13k views

How does _netdev mount option in /etc/fstab work?

I'd like to know what is the exact mechanism (implementation) used to defer mounting until after network interface is up when one uses _netdev option in /etc/fstab? Does systemd alter this behavior? ...
1
vote
1answer
21 views

What does automount do when no maptype is specified?

I have inherited a server with an entry in /etc/auto.master of /home auto.home. In the manual on this server (and on another more recent server) it's clear that map-type is optional. What I can't ...
5
votes
4answers
5k 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 ...
0
votes
1answer
319 views

How to mount a partition at startup in Linux Mint 17.2 KDE by using a GUI?

I would like to have a GUI to set one of my NTFS drives to be automatically mounted at startup as it contains data synchronized with apps that also run at startup (Dropbox, Megasync etc) which ...
1
vote
1answer
67 views

NFS mounts with non-matching UIDs/ usernames

There's a Linux machine where files are owned by a user named "lab" with a UID of 1000 (on the system). There's another Linux machine where files are owned by a user named "user" with a UID of 500 (on ...
1
vote
0answers
178 views

NFS Share on Centos 7 Fails to automount

I have a fresh install of Centos 7. I cannot seem to auto mount an NFS share located on 192.168.254.105:/srv/nfsshare from the Centos client. Mounting the share manually however, works perfectly. /...
2
votes
1answer
342 views

Debian VirtualBox auto mount fails on startup but works after login: mounting failed with the error: No such device

I have a VirtualBox Debianx64 system installed and I was trying to share a host folder to it. Following a tutorial, I came to a mount command: sudo mount -t vboxsf -o rw,uid=1000,gid=1000 [Virtual ...
2
votes
0answers
94 views

Linux Mint fails to boot if unable to mount (shared) device listed in fstab

I have a dual-booted system of Mint and Win7, both of which share an external drive storing non-essential files. I listed the drive in /etc/fstab/ UUID=693E145023EB681E /media/External_HDD ntfs-3g ...
2
votes
4answers
184 views

Automate Rename files from 1 to unlimited number

How to rename multiple files starting from 1 to unlimited ( to finish all files ) ? My files looks like: file.jpeg.jpg fileA.jpeg.jpg fileB.jpeg.jpg Output: 1.jpeg.jpg 2.jpeg.jpg 3.jpeg.jpg I'm ...
2
votes
1answer
735 views

Auto mounting other partitions in Arch Linux

I am using Arch Linux. Is there a way to automount other NTFS or Ext partitions automatically without configuring them in /etc/fstab?
0
votes
2answers
86 views

how to mount a filesystem without a mount point

In Ubuntu 14.04.3 inserting my SD card causes it to be automounted to a mount point that does not exist. How can I do this? /dev/mmcblk0p1 30780420 2269796 28510624 8% /media/admin/backup-...