Questions tagged [fstab]

fstab is a file on in Unix / POSIX systems that stores settings about where devices system startup are mounted.

243 questions
79
votes
8 answers

Modify fstab entry so all users can Read and Write to an EXT4 Volume

I have an Ubuntu 10.04 box with an EXT4 partition. This partition is set to automatically mount in /etc/fstab. For the purposes of this post, we'll call it: /media/foo. Unfortunately, only root can create/delete files/directories on the root…
Phanto
  • 1,384
  • 3
  • 13
  • 17
45
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
  • 6,807
  • 11
  • 30
  • 30
31
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…
ACK_stoverflow
  • 768
  • 1
  • 8
  • 20
26
votes
4 answers

Is there any GUI tool to configure /etc/fstab?

I have little experiences in configuring the 'fstab'. I'm looking for any GUI tool that helps me with this. If possible based on gtk and should be available in Debian.
kravemir
  • 2,634
  • 6
  • 27
  • 38
26
votes
1 answer

fstab: When do you use the "dump" and "fsck" options?

I found a great tutorial on how to use fstab: http://www.tuxfiles.org/linuxhelp/fstab.html Using this tutorial, I was able to successfully get my SIMPLE mounting needs working. But during the article it says "I won't discuss [the dump and fschk…
Trevor Boyd Smith
  • 2,635
  • 11
  • 42
  • 60
21
votes
5 answers

Mounting ext4 drive with specified user permission

I want to mount a supplementary ext4 data disk drive with specified rwx permission for a certain user. The mount point is inside the home of such a user and it's owned by the user. I added the new data disk in /etc/fstab in the standard…
green69
  • 311
  • 1
  • 2
  • 3
19
votes
3 answers

Set proper rights for sshfs mountpoint so it can be shared with samba

I have a domain hoster that provides access via SSH. My platforms are: Gentoo 2.6.36-r5 Windows (XP/Vista/7) I work on my Windows, I use Gentoo to do all the magic Windows can't do. Therefore I use sshfs to mount the remote public directory for my…
CS01
  • 395
  • 1
  • 4
  • 13
18
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: modifying /etc/fstab to add…
ccpizza
  • 7,456
  • 6
  • 54
  • 56
17
votes
3 answers

UNIX - mount: only root can do that

I need to allow a non-root user to mount/unmount a device. I am a total noob when it comes to UNIX, so please dumb it down for me. I've been looking all over teh interwebz to find an answer and it seems everyone is giving the same one, which is to…
Travesty3
  • 553
  • 3
  • 6
  • 15
15
votes
4 answers

My virtualbox fstab will not auto-mount on reboot?

I am able to mount my drive manually like this (ubuntu): sudo mount -t vboxsf C_DRIVE /mnt/saga_c But when I try and add it to my fstab it does not mount when I restart the machine. Is there something wrong with my /etc/fstab line: C_DRIVE …
stephenmm
  • 1,297
  • 5
  • 14
  • 24
15
votes
2 answers

What does "sw" option mean in /etc/fstab?

In my Ubuntu 14.04 /etc/fstab, I have following line: UUID=e4YGg1-2bHU-Ylum-3FwK-MK3s-1Fjf-ZvQEh2 none swap sw 0 0 Which seems pretty current for swap. I can't figure out what the sw option stand for. There is no…
Cinlloc
  • 153
  • 1
  • 1
  • 6
13
votes
1 answer

Mount specific fstab entry

Sometimes you need to disconnect and reconnect mounts that have gone bad and don't want to disconnect + reconnect the entire list of fstab entries. Is this possible without having to basically rerun the full underlying mount command that fstab…
Sridhar Sarnobat
  • 1,395
  • 2
  • 13
  • 25
10
votes
1 answer

Why mount a folder to a folder in fstab?

I'm on an Ubuntu server with fstab like this: /dev/xvds /home/ubuntu/stuff auto defaults,nofail,nobootwait 0 2 /home/ubuntu/stuff /home/bob/things auto defaults,nofail,nobootwait,bind 0 2 I thought that fstab was for mounting devices to folders.…
Matt
  • 278
  • 1
  • 2
  • 12
9
votes
1 answer

How can mount work with an empty fstab?

From the Arch Linux installation guide: The /etc/fstab file contains static filesystem information. It defines how storage devices and partitions are to be mounted and integrated into the overall system. It is read by the mount command to determine…
user1301428
  • 3,325
  • 11
  • 37
  • 55
9
votes
2 answers

Processing fstab with mount -a failed

I use Windows 11 as operating system. Its build number is: 22000.348 I installed Debian from store, and then I installed Windows Subsystem for Linux Preview. WSL version is: 2 Debian runs correctly and there is no problem with it. But when I run…
Parsa
  • 213
  • 3
  • 6
1
2 3
16 17