Questions tagged [automount]

For questions regarding the auto-mounting of filesystems, for example, automatic reading of usb storage, enabled in many operating systems.

For questions regarding the auto-mounting of filesystems, for example, automatic reading of usb storage, which is enabled in many operating systems.

66 questions
2
votes
0 answers

LXDE & udev on Raspbian --Run script on USB Drive when plugged

Running LXDE on Raspbian. I want to run a script on a usb flash drive when the device is plugged. Any flash drive, not a specific one. This is to provide code updates to customers without requiring a keyboard or mouse attached to one of several…
Dave Thomas
  • 81
  • 10
2
votes
2 answers

VirtualBox: mounting shared folder fails during start-up, but succeed from shell

Problem description: When I boot my VirtualBox Guest OS, the mounting of the shared file-system - which is referenced in /etc/fstab - fails. However, after login - mount -a succeeds. Details: The boot process gets stuck here ... ... and pressing s…
boardrider
  • 4,470
  • 5
  • 39
  • 65
2
votes
1 answer

seamlessly automount ecryptfs using ssh key auth?

Is there any way to automount ecryptfs mounts when logging in via ssh key and without additional user interaction? For example, is there any ssh extension that tells the client to decrypt some remote stuff like the ecryptfs passwd by using its…
user1050755
  • 9,463
  • 3
  • 35
  • 51
2
votes
1 answer

permission error after mongodb dbpath change

I have moved my mongodb db path to a different mount location as my root directory was getting full. I moved it to a much bigger partition that is mounted under my home directory (which is also a separate partition from root). First I stopped…
dave
  • 827
  • 1
  • 7
  • 18
2
votes
2 answers

how to mount an ext3 formated pendrive on different machines?

I have been having problems mounting a pendrive on two different machines (one with Lubuntu 13.04, another with Lubuntu 12.04, if that is relevant). I have to chown -R all the time, e.g, at home I copy data to, and then if I want to use it at work,…
sanjshakun
  • 525
  • 4
  • 13
2
votes
1 answer

What's the "Invalid syntax" in this LDAP automount command/file?

I want to use LDAP to automount the user's home and the nfs. I followed this tutorial to configure ldap and automount. (automount information: fstype=nfs,hard,intr,nodev,nosuid,rw 192.168.0.1:/home/serveur/dupont) dn: cn=dupont, ou=nfs, ou=services,…
Hallux
  • 21
  • 1
  • 4
2
votes
0 answers

How to keep usb device system file permission e.g. /dev/disk2 in Mac OS X?

Beside using Disk Arbitrator, it can stop the device from auto mount, I would like to change the permission of a specific USB device for future use. For example, my diskXXX is may be change from disk1 or disk2 but I would like the device permission…
AvengerMoJo
  • 108
  • 5
1
vote
0 answers

Intermittent failure executing on USB insert with auto-mount on Raspberry Pi

I've set up a raspberry pi to execute a command if a USB stick is inserted, and the command calls an executable on the stick. This works about 80% of the time, but intermittently fails - seemingly at random. Because of the unpredictability I assume…
tomfumb
  • 3,371
  • 2
  • 29
  • 43
1
vote
1 answer

Bash autorun bash script on USB connect fails to get USB info

I wrote a script to get all the USB info. So far when I run the script with the USB already connected everything works fine. USB_NAME=$(blkid | grep -oP '(?<=LABEL=").+?(?=")' | tail -1) USB_DEVICE=$(blkid -o device | tail -1) USB_TYPE=$(blkid |…
tiger_groove
  • 836
  • 12
  • 32
1
vote
1 answer

How does one configure shared folders to automount for arch/manjaro linux VM in virtualbox?

I have a manjaro/arch virtual machine running in virtualbox with a windows 10 host. I have configured the shared folder I want to share in virtualbox as c:\tfs with the name tfs but it doesn't show up in the linux vm anywhere. I am able to mount…
Brandon Søren Culley
  • 3,801
  • 1
  • 25
  • 27
1
vote
0 answers

Autofs: cifs_mount failed w/return code = -112

So I have had a server 2008 file share mounted on my CentOs 7 server for about 3 months with no issues. Today, the mount went down and refuses to go back up. Every time i try to ls -al the mounted folder I get cifs_mount failed w/return code = -112.…
Bill Garrison
  • 2,180
  • 3
  • 29
  • 67
1
vote
2 answers

mvn fails on automounted directories

On a non-automounted filesystem, "mvn clean" works (so does "mvn package"). On a filesystem that's automounted, "mvn clean" fails in the following way: $ mvn clean [INFO] Scanning for projects... [INFO] [INFO]…
user2569618
  • 802
  • 2
  • 11
  • 31
1
vote
1 answer

Starting a system service in a Docker container

I am running a Docker container where the application needs to have the autofs service running, but it's not currently run by default. The container already uses supervisord to manage several background processes, so I figure I should add the…
Matt Chambers
  • 1,994
  • 1
  • 19
  • 39
1
vote
1 answer

KDE won't automount dvd on CentOS

This is driving me crazy. I have CentOS 5.5 installed running KDE desktop. I have an NEC 3550 DVDRW drive on /dev/hda. When I put in a DVD, I want it to automount it and provide an icon on the desktop, as well as under /media mount point. It will…
Rodney Burton
  • 417
  • 8
  • 18
1
vote
1 answer

What is the workflow for automount in Gnome 2.30?

I have a ASUS laptop with Fedora 13. My problem is that any USB storage I connect does not automount. I have other computer with Fedora 13 which does not have the problem. I have not be able to find any difference in configuration between my laptop…
pablaasmo
  • 556
  • 9
  • 16