fstab is a file on in Unix / POSIX systems that stores settings about where devices system startup are mounted.
Questions tagged [fstab]
254 questions
90
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,504
- 3
- 14
- 17
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…
ACK_stoverflow
- 907
28
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,704
27
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,924
22
votes
6 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
- 321
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
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
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
- 563
- 3
- 6
- 16
16
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
- 163
15
votes
3 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
- 271
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
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,552
12
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
- 298
11
votes
2 answers
Is relatime better than noatime on fstab for SSD?
A lot of tutorials says to use noatime on fstab when you have an SSD, but for me seems the relatime will works nicely.
Some quotes:
Add the "noatime" (or "relatime") mount option in /etc/fstab, to disable (or significantly reduce) disk writes…
Samuel G. P.
- 211