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

learn more… | top users | synonyms

0
votes
0answers
7 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 ...
0
votes
0answers
15 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 ...
1
vote
0answers
30 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
37 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
125 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 ...
1
vote
0answers
13 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
62 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 ...
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 ...
0
votes
0answers
104 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
34 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
57 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
77 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 ...
1
vote
0answers
14 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 ...
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", ...
1
vote
1answer
20 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
78 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
35 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 ...
7
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 ...
0
votes
1answer
104 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
5k 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
81 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 ...
4
votes
2answers
10k 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
18 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
175 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
56 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
136 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. ...
1
vote
1answer
276 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
74 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
174 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
686 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
80 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% ...
5
votes
2answers
12k views

Unable to mount volume, an operation is already pending (with multiple users)

I'm running Linux Mint 14 - pretty much whatever the default install settings are. When I have multiple users logged in and I plug in a flash drive, or digital camera, or any other USB storage, rather ...
8
votes
4answers
19k 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 ...
0
votes
0answers
74 views

Automounting vfat usb drive

I use debian 8 with kde-full package, everything is up-to-date. I have 4 usb flash drives: all of them are formatted in Windows OS. But only Sandisk "14.9 GiB Removable Media" is automounted ...
0
votes
2answers
286 views

Disable USB partition from auto-mounting on Gnome 3.16

I have a Sony PRS-T1 ebook reader which is based on Android 2.2. When I connect it to my PC, it shows up as two USB partitions: READER and SETTING. The latter is a read-only partition, only useful the ...
1
vote
2answers
28 views

Where is the information about the file system format stored in External Hard Disks

I was reading about mounting in Operating Systems and have the following question related to it: When we plug an external hard disk it gets automatically mounted in our file system, the one our ...
0
votes
0answers
123 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 ...
23
votes
2answers
2k views

How does Linux know which USB hard drive is which?

Currently I have Linux Mint installed on my PC with a USB hard drive partition mounted as /home. This is working well. If I install a second USB hard drive, is there any chance Linux will get ...
3
votes
1answer
79 views

Why do you have to unmount a drive before formatting or resizing it?

I always have to unmount a filesystem/drive (like a USB) before formatting it or resizing it. Why is this necessary? On a related note (I feel like this would help me understand why it is necessary) ...
0
votes
0answers
30 views

Error in findmnt

I'm writing a backup script prompting the user to insert (mount) a given backup USB stick if it is not mounted. For this I use findmnt --source UUID="my uuid" --poll=mount --first-only. It works fine ...
0
votes
1answer
189 views

debian jessie: how to automount from tty1?

[Note: before you mark this a duplicate: There are several similar-looking questions in this stackexchange (which did not show before creating this question--one seems to get much better matches in ...
1
vote
1answer
65 views

what is the difference between mounting via command line and using GUI?

I am in great trouble as of now as if I have to mount my drive only using command line because if I mount my drive using GUI it gives me permission as read only for command line operations. See the ...
5
votes
1answer
480 views

Linux - mount command returns zero/0 but not working

Sounds strange, I have a shell script that it gets trigger by udev rules, to mount attached USB device to the system file tree. The script runs when an usb device attaches to system, so the rules ...
0
votes
0answers
163 views

CIFS Shares No Longer Automounting At Boot

I have a couple of CIFS shares that used to automount successfully (on an Arch Linux box) at boot but have recently stopped doing so. I've tried to discover why but am currently stumped so hope ...
1
vote
0answers
318 views

automount doesn't work in linux mint after upgrade to rafaela

I recently upgraded my mint, I'm using 64bit version on cinnamon. The problem is that ntfs partitions in the hard drive and flash drives and android attached phone don't show automatically in the ...