Questions tagged [automount]

133 questions
47
votes
3 answers

What does "auto-mount" do in VirtualBox shared folder setup?

In VirtualBox, Ubuntu guest, Windows 7 host, I click this "Auto-mount" box, but it doesn't seem to have any effect. I have to edit fstab to get it to mount. So what is it for?
endolith
  • 7,704
46
votes
3 answers

Mac Lion: fstab is deprecated. so what replaces it to prevent a partition from mounting?

If fstab is deprecated in Lion (and before, I think?) how does one, properly, prevent a partition from mounting on system boot? This is loosely related to this question which as of this post has no answer. Edit: So my confusion comes from reading…
Meltemi
  • 7,097
  • 11
  • 33
  • 30
37
votes
2 answers

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 entries NOT auto mounted. So why would you ever put an…
21
votes
2 answers

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 seem to exist: manually modifying /etc/fstab to…
ccpizza
  • 8,241
19
votes
8 answers

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 of which prevent the phone from allowing a data…
18
votes
5 answers

How to set default permissions for automounted FAT drives in Ubuntu 9.10?

I've got many FAT32 drives that I'd like to mount in Ubuntu such that they have permission mode 700 for directories and 600 for all other files. By default, they have 755 for all files, which is not particularly useful since almost no…
user35138
12
votes
1 answer

How do I mount a sparse disk image permanently?

On Mac OS X 10.6.7, when I mount a sparse disk image (either by double-clicking it or using hdid from the command line), the image: Appears on my desktop Needs to be re-mounted every time I log in I'd like to set up the equivalent of an /etc/fstab…
mpontillo
  • 941
11
votes
6 answers

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 But if I add this line to /etc/fstab and restart, I…
10
votes
4 answers

How do I mount a USB in plain XMonad?

Now that I am using XMonad I find that my USB devices no longer automount when I plug them into my computer. How do I get them to automount again just like they did when I was using gnome?
9
votes
3 answers

How to mount removable media in /media/

I have a Debian sid system (Wheezy) (and same question for arch as well), without any desktop environment (and no Xorg at all). I can mount my SD-cards, USB sticks, external HDD manually with mount / umount with the suitable entries in /etc/fstab…
cblab
  • 301
7
votes
2 answers

Could I add an item in `/etc/fstab` to bind an old directory with a new one?

I have a problem with binding two directories. The problem comes that storage on hard disk is almost run out and I install another disk moving files in ~/Documents/ into one folder of the new disk. I still want mount --bind folder_on_new_disk…
7
votes
1 answer

Directory invisible until I cd into it

I have a mysterious directory that doesn't list until I cd into it. Then it does just fine. Then it vanishes again periodically. bash-3.00$ pwd /sde bash-3.00$ ls -la total 16 drwxr-xr-x 4 root root 0 May 18 16:46 . drwxr-xr-x 29 root root…
Cam Jackson
  • 2,586
7
votes
4 answers

auto-mounting shared folders in VirtualBox

I am writing to ask what the effect of the auto-mounting process is in VirtualBox, and where the folders can be accessed within a guest Linux system if auto-mount is used. I have VirtualBox 4.0.4 installed on Mac OS 10.6.7, with Guest Additions…
6
votes
2 answers

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: sshfs user@desk:/home/user desk and I can even use…
Adam
  • 212
  • 1
  • 2
  • 9
6
votes
1 answer

How to automount ntfs partation on raid0 in arch linux with systemd

Recently, I switched from initscript to systemd followed this wiki, and I got error like this during boot: Job dev-md126p5.device/start timed out This is my fstab: /dev/mapper/VGLinux-lvroot / ext4 rw,relatime,stripe=64,data=ordered 0…
dawnstar
  • 161
1
2 3
8 9