Questions tagged [automount]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

How to stop Linux from auto-mounting USB drives?

I am trying to move my main desktop from a tower system to a NUC. Both tower and NUC are running Linux Mint (v19.3 and v20.1). The tower had an external toaster-drive socket into which I could plug a ...
0
votes
1answer
27 views

Auto-mounting usb drive to certain dirrectory arch linux

I've been using arch for a while, and use udisks with udiskie to automount my usb drives. I have one usb drive that I store my code on, and often have to go to in the terminal. don't like having to ...
0
votes
0answers
32 views

How disable automount on windows 10 for USB mass storage devices?

I want windows 10 to not automount the USB mass storage volume that I plug on my computer. It seems that there is 3 ways to do that : executing in administrator mode : mountvol /N, then mountvol /R ...
0
votes
1answer
59 views

Overriding udisks2 /media/$USER/mount with custom fixed mount point for specific volume, under Debian Buster

I am using Debian Buster, 10.7, and I am relatively new to udev/udisks2/systemd and have been making a effort to get to know them better and have learned quite a lot, though I cannot seem to figure ...
0
votes
1answer
22 views

USB mount directory remains after power loss

How can I prevent, or clean up (in an unprivileged way), the USB mount directories that remain after a power loss? Here I'm inserting my USB stick: There are no other USB sticks present, and I ...
0
votes
0answers
12 views

USB Hub - External Drive - RJ 45 Connection

I recently bought a USB 3 hub with a RJ45 connection. I just wanted to get rid of some of the 5+ cables sticking out from my laptop. I have connected a self powered external drive, mouse, keyboard, ...
0
votes
0answers
51 views

How do I auto-browse wildcard autoFS mounts?

In my /etc/auto.master file I have the following line: /my/mount/point /etc/auto.master.d/mymounts.autofs --timeout=300,browse In /etc/auto.master.d/mymounts.autofs I have: * -fstype=nfs4 myserver:/...
1
vote
1answer
163 views

Ubuntu 20.04 - gui app for easily mount usb drive

I am trying to connect a memory card reader by usb and i am very lazy to do it manually. Considering that this is a quite basic operation, is there a GUI app that I can use to mount the usb drive ...
1
vote
1answer
30 views

How USB automount works internally in ubuntu 18.04?

I just want to understand how USB automount works in Ubuntu especially in 18.04. When an USB drive is connected to USB port what all things happen and what utilities or scripts or udev rules(probably) ...
0
votes
1answer
136 views

AMD RaidXpert2 / Ryzen (X570) - Windows 10 - How to automount array?

The problem is very simple. If you use RAIDXpert2 - so AMD's in-built RAID utility - the array will NOT auto-mount after a reboot. On each reboot I have to open the RAIDXpert2 utility, click Disk ->...
0
votes
1answer
235 views

Disable automount of removable media in GNOME/Nautilus

Using GNOME 3, how can I disable automounting removable media and if possible, do so using the drive ID?
2
votes
0answers
93 views

How to auto-mount a bitlocker-encrypted vhdx on a network share as soon as it is available?

I have a VHDX file on a (samba) network share I'd like to automatically mount that VHDX file (including entering the bitlocker key) whenever I join the network that contains that file. How can I ...
0
votes
0answers
103 views

Setting NOEXEC for all removable drives

I am using fedora 30 and I would like to prevent removable drives from being mounted with executable permissions. From my research I have found that Nautilus handles the auto-mounting(using Gnome on ...
1
vote
1answer
4k views

macOS Catalina automount (net drives) broken

I'm currently running a beta of Catalina on a macbook. Which by the way if you intend to try, save yourself lots of pain and wait for official release, it's as buggy as can be. Security and permission ...
1
vote
1answer
502 views

Changing file permissions after mounting with fstab

I want to mount a drive with following default permissions: files: -rw-r--r-- folders: drwxr-xr-x owned by default user/group (1000) Which lead me to this fstab entry: UUID=XXX /media/drive ntfs ...
0
votes
1answer
54 views

Windows automount drive by label

Is there any way to automount windows drives (volumes) by label on an ntfs folder? I would like to have something similar to what is done in most linux distros (assign a folder as a mountpoint ...
3
votes
1answer
518 views

MacOS - Map network drive on boot

On my mac I'd like to move my home directory to a Synology NAS. I'm unable to figure out how to mount the NAS drive on boot up. My workaround is to use a local user to auto-mount the drive, but that ...
0
votes
1answer
75 views

How do I automount luks encrypted external HD?

I have an external HD encrypted with luks. I would like it to automount on my home computer (using a key file stored at my $HOME directory) any time I plug it in (not necessarily at boot time) and ask ...
0
votes
1answer
90 views

Why is writing on auto mounted partition not possible?

Despite it has rw option. An extraction of fstab: /dev/disk/by-uuid/0109cc2c-414c-42dc-8a99-3ffe529020fe /mnt/0109cc2c-414c-42dc-8a99-3ffe529020fe auto rw,exec,noatime,x-gvfs-show 0 0 This entry was ...
0
votes
2answers
108 views

MS Office DVD failing to mount

I'm at a small charity installing MS Office on several Windows 10 laptops (they already have Office installed on most of their PCs and apparently have a site license, although nobody knows who ...
0
votes
1answer
72 views

Trigger file copy upon device insertion (without depending on systemd)

I would like to automatically have some files form a storage device copied upon its insertion. I am looking to use one and the same method on both systems which use systemd and systems using init ...
1
vote
1answer
376 views

autofs mounts in parent directory

For many years I have a problem with autofs, now. I thought there was a bug in the autofs version in my repository. Unfortunately, even after several system as well as distribution upgrades covering ...
11
votes
6answers
20k views

Win 10 Linux Subsystem: Auto-mount network drives

I have no problems mounting a network drive W: with the following command: sudo mount -t drvfs W: /mnt/htdocs In /proc/mounts the corresponding line then is: W: /mnt/htdocs drvfs rw,relatime 0 0 ...
17
votes
2answers
10k views

Automounting USB drives on a headless systemd linux box

Approaches to auto-mounting devices in Linux keep changing, and googling returns quite a few solutions with various degrees of applicability for modern systemd-based boxes. The following approaches ...
1
vote
1answer
1k views

USB drive with multiple partitions on Windows 10 - 1703

This concerns an issue with an USB flash drive on Windows 10 - 1703 (occuring on both, Home and Prof) The USB drive has a DOS partition table, the first (primary) partition is type 07 and formatted ...
1
vote
0answers
794 views

USB auto passthrough to KVM

I feel like there should be an answer for this but everything I have tried seems to land me in the same boat. I am trying to use a single USB port on my computer that gets a USB -> microSD card reader ...
1
vote
1answer
208 views

Automounting a virtualBox partition on RHEL - EmergencyMode at Boot

Question referenced: My virtualbox fstab will not auto-mount on reboot? I am trying to mount a vboxsf partition on RHEL7 at startup. mount -t vboxsf share /home/user/Windows works fine after i ...
1
vote
0answers
549 views

autofs cifs mount(s) hang / become momentarily unreachable

I use autofs on my Fedora 25 desktop in order to access some cifs mounts on my work network. /etc/auto.master: /home/user/work/mountpoint /etc/auto.custom --timeout=43200 --ghost /etc/auto.custom: ...
13
votes
7answers
24k views

How to prevent “Unable to open MTP device” popups from opening?

I often plug my Android device into the USB drive simply for charging purposes with no intention to use the filesystem (and with the screen off or with the USB settings in "charging only" mode, either ...
4
votes
1answer
4k views

USB automount fail “Not Authorized”

USB automount worked well for several month but after some updates Nautilus displays . With these commands it works well : aubin@Breizh-Atao:~$ sudo fdisk -l [...] Disk /dev/sdf: 15.6 GB, ...
2
votes
1answer
5k views

How to Identify automount mount path

I need to know all the mount points monitored by autofs/automount. I came across "automount -m" to dumpmaps and "/etc/init.d/autofs status" in the older versions. But these commands doesn't work ...
1
vote
1answer
1k views

How do I tell Windows to keep internal disks offline?

I don't want Windows to bring disks that are internal online automatically. Windows To Go has such a feature that can be set via an XML file; however, it requires jumping through a lot of hoops, ...
1
vote
0answers
422 views

autofsldap mounts /home, but not /share

I am pulling my hair out trying to make a client PC mount a /share folder automatically via autofsldap. Interestingly, mounting the /home directories works perfectly. The syslog contains no attempts ...
0
votes
1answer
348 views

automount usb on raspbian gives weird name to mount

My usb stick gets an ugly and very long name when automounted in raspbian. I would like to change 2 things here. 1st I want to get rid of that long name and have something like /media/usb 2nd, I'...
1
vote
0answers
976 views

OS X: mount_nfs & automount behave differently

I have an OS X El Capitan computer and a Linux Mint NFS server, both attached to the same OS X El Capitan Open-Directory Server. The exports of the server look like this: /Volumes/PDISK2 10.0.0.0/16(...
23
votes
1answer
27k views

What is the noauto mount flag for?

Entries in fstab exist ONLY to specify things to mount at system boot or manually with mount -a, right? But I was reading up on the noauto mount flag, which apparently makes corresponding fstab ...
1
vote
2answers
2k views

Mount USB flash drive via command line as it would be mounted automatically after the stick pluged in under Linux

When you insert a flash stick into USB port the following happens: The file system of each USB drive partition is detected automatically Partitions are mounted automatically to a temporary path like /...
0
votes
2answers
1k views

How I can properly auto-mount a drive using fstab?

On a raspberry pi, I can mount an external USB HDD via both sudo mount /dev/sda1 /media/sda1 and sudo mount -a. However, I can't seem to achieve the same effect inside fstab and a reboot. That file ...
1
vote
2answers
7k views

Autofs 770 mount point permission

In /etc/auto.sshfs I write this: -fstype=fuse,uid=worker,gid=workers,rw,allow_other [etc other options] Then it correctly sets the mount point permissions to worker:workers when it mounts ...
0
votes
1answer
104 views

Strange transport layer port number during nfs conversation

I use autofs to mount nfs shares, autofses part works well, I can reach the leaf folders, but when I try to access that folder the following packet exchange takes place and my shell stacks, it drops [...
2
votes
0answers
853 views

Automount Shared Folder in VirtualBox 5.0.2/VBoxManage Intern Procedure

First I wondered, that I found nothing to the topic. Maybe I’m not so good searching? However, following command creates a new Shared Folder in VBoxManage: .\VboxManage.exe sharedfolder add <...
3
votes
1answer
908 views

Remove static automount folder in Mac OS X 10.10.3

I have a strange apparently unused automount with nfs configured which I cannot remove. Probably, I mis-configured something when trying to set up LDAP or Kerberos a long while ago. Nothing special ...
2
votes
2answers
5k views

Windows Spanned Disk (LDM) automount

Every time i startup the server with 2x2tb raid harddrive i need to call the following methods to mount: ldmtool create all mount /dev/mapper/ldm_vol_SPONS_SERVER-Dg0_Volume1 /media/data Which is ...
1
vote
1answer
887 views

autofs NFS mount directory hung

I have a problem when executing "df -h" command it hungs, I know since there is a unreachable/not responding NFS path this is causing the hung. All my scripts dependent of df -h is also piling up ...
2
votes
1answer
273 views

Trying to auto-mount a VHD from microSD results in Error 0x80004005

I was following the instructions from this question down to the last detail, however on my Surface Pro 3, all I get when looking at Task Scheduling is an unknown error everytime I boot up my Tablet. ...
1
vote
2answers
7k views

Cannot write to any USB device mounted via Thunar file manager. Can only read as “root?”

I'm using Debian testing with XFCE as Desktop Environment and Thunar as filemanager. I've an issue regarding the mounting of USB mass storages such as USB flash drive. When I plug in the USB flash ...
3
votes
1answer
3k views

Windows To Go - prevent internal disks from going online

I created Windows To Go from Windows 8.1 Pro according to these manual http://www.howtogeek.com/196817/how-to-create-a-windows-to-go-usb-drive-without-the-enterprise-edition/. But host PC disks are ...
4
votes
2answers
11k views

How to use /etc/fstab and/or automount with sshfs on OSX?

I'm attempting to automount a directory from a remote Ubuntu machine on my Mavericks Mac. SSHFS works perfectly when mounted manually, in many different ways. The standard sshfs mount works great: ...
3
votes
1answer
5k views

Using a exFAT formatted disk for backups in Clonezilla

I want to create a backup image of my laptop disk to a 1TB external exFAT formatted disk using Clonezilla. However, it fails to recognize that the disk is exFAT, and it won't mount properly. How can ...
3
votes
1answer
2k views

Automount SMB using keychain password

Is there a way to use the automount service to mount my NAS share but without specifying my password in my SMB path? Currently, I have the following: /etc/auto_master # # Automounter master map # +...