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.

74 questions
45
votes
4 answers

Automatically mount an EBS volume upon starting an Amazon EC2 Linux instance

I have an EBS volume (e.g. /dev/sdf) that has been attached to an EC2 instance (which boots from a different EBS volume), and I have mounted the volume (through mount /dev/sdf /data). When I stop and start again the instance, the volume is still…
user560494
  • 915
  • 1
  • 9
  • 12
13
votes
2 answers

Android Radio Interface Layer (RIL) and /dev/

Does anyone know how the RIL (/hardware/reference/reference-ril/) determines what gets mounted in /dev/ when the baseband radio gets initiated? In older phones and in other documentation, GSM phones use /dev/smd0. Not all phones use /dev/smd0. I am…
bertoe
  • 151
  • 2
  • 5
9
votes
2 answers

bindfs, inverse operation?

In my .bashrc I have function bindfs () { mkdir -p ~/$1 sudo /usr/bin/bindfs -u $(id -u) -g $(id -g) $1 ~/$1 } in order to be able, as a normal user, to read, write, execute files on ext3 file systems auto-mounted below /media/. This works…
AlexG
  • 342
  • 4
  • 15
6
votes
2 answers

Mount Second Partition on Android Device with vold

I want to have access to an ext4 partition, without using Data2SD yet, on the SD card of my HTC Vision running the Virtuous Unity 1.3.0 ROM. I modded my /system/etc/vold.fstab file from this: dev_mount sdcard /mnt/sdcard auto…
songei2f
  • 649
  • 4
  • 10
  • 22
6
votes
2 answers

Are there programmable automount/autofs hooks in linux/systemd?

I'd like to have a program executed before a mount attempt is made for a particular device/share/mount. For example, I'd like for autofs/amd to control /data/{1..10}, and when a process opens /data/4 (and /data/4 is not currently mounted), a script…
Brian Chrisman
  • 3,482
  • 1
  • 15
  • 16
5
votes
1 answer

automount w/ sshfs on macOS catalina

I am trying to setup automount of SSH endpoints using automount and sshfs on macOS Catalina. However, it is not working and I am not sure why. /etc/auto_master +auto_master # Use directory service #/net -hosts …
Vivek Rai
  • 890
  • 1
  • 9
  • 22
4
votes
1 answer

Permanent mount volume via sshfs Sierra

I am trying to permanently mount a volume via sshfs on mac. I have tried to follow the instructions in how-to-get-automount-and-sshfs-osxfuse-working-with-yosemite (Although I have Sierra, I couldn't find instructions for it so I thought to give it…
Bob
  • 49
  • 2
4
votes
2 answers

How to run a shell script after a device is mounted using UDEV

I wanted to know how to run a script after a usb pen drive is inserted and auto-mounted Till know i am able to run a script as soon as the device is inserted, however the mounting of the device takes place after the shell script action has ended
Ishan Karve
  • 101
  • 2
  • 6
4
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
  • 5,882
  • 7
  • 49
  • 86
3
votes
2 answers

Is it possible to automount drive using wsl --mount after restart?

I am able to mount my ext4 partition in wsl-2 using the following command in powershell: wsl --mount \\.\PHYSICALDRIVE4 --partition 1 However when I either restart my computer or run wsl --restart the partition is unmounted and I have to run the…
Jscore
  • 375
  • 1
  • 5
  • 14
3
votes
0 answers

Mounting NTFS partition at boot with NTFS-3G and making it show up (and be accesible) in user interfaces (Files, Nemo, etc)

I have a NTFS partition (without Windows having ever been installed in it) that I want to mount automatically after boot - but specifically using NTFS-3G so chown and chmod can be used on its folders. Here is what I added to my…
AndraSol
  • 65
  • 6
3
votes
0 answers

Solaris Autofs with ldap/AD

Iv'e added my solaris server to Active Directory using LDAP, I am trying to use automounting from AD. I have created a powershell script to create the NisObjects for automouting: Import-Module…
user2716281
  • 155
  • 3
  • 11
3
votes
3 answers

Dynamic IP in /etc/fstab

I am trying to use elastic file system (EFS) in AWS... My goal is to auto-mount it using /etc/fstab Since EC2 instances are auto scaled across available zones, EFS mount IP's change depending on the instance's zone. At the moment AWS provides this…
Jsp
  • 166
  • 1
  • 2
  • 13
3
votes
2 answers

SD card: how to force the kernel to read the WP pin again without removing the sdcard

I have the following udev rules to mount the first partition of the sd card to /mnt/sdcard. KERNEL=="mmcblk0p1", SUBSYSTEMS=="mmc", ATTRS{name}=="?*", ATTRS{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}",…
leszek.hanusz
  • 5,152
  • 2
  • 38
  • 56
2
votes
1 answer

Mounting EFS using .ebextensions file

I am deploying a PHP app using AWS Elastic Beanstalk. I would like to use EFS I've already built. I'm using a .ebextension folder using following link as…
NetSystemAdmin
  • 505
  • 1
  • 6
  • 16
1
2 3 4 5