Questions tagged [fstab]

/etc/fstab is the file in UNIX/Linux systems that defines file systems that are mounted on boot or available to be manually mounted.

/etc/fstab is the file in UNIX/Linux systems that defines file systems (independent directory trees) that are mounted on boot or available to be manually mounted.

60 questions
10
votes
1 answer

How to mount a substed drive in windows Ubuntu subsystem

My development environment on Windows includes substed folders, i.e. the folder c:\MyBuild may be substed to a drive letter, say t: In a Ubuntu subsystem terminal, I can bind the folder to a mount, as this sudo mount --bind /mnt/c/MyBuild…
Totte Karlsson
  • 1,216
  • 1
  • 13
  • 39
4
votes
1 answer

in WSL on SD Card, git insufficient permission for adding an object

I'm trying to get Git working on my System, but I always get the error error: insufficient permission for adding an object to repository database ....../.git/objects I'm working on a Surface Pro 5 in Windows Subsystem for Linux with…
Nico G.
  • 155
  • 1
  • 5
3
votes
0 answers

Uboot : mount can't find root partition in /etc/fstab

I am on a BeagleBone Black with Debian Jessie 8.5 , so the BBB boots from the eMMc. My goal is to use SPI, but the cape manager was not available so according to RobertCNelson , I have set the linux image 3.8.13. Everything boots fine, but when I…
RebeCca
  • 47
  • 1
  • 4
2
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
  • 45
  • 4
2
votes
1 answer

Can't execute a .sh script from mounted disk (Ubuntu 18.04): zsh: permission denied

Ubuntu 18.04 - Installed Zsh and Oh-My-Zsh from here. Given the following echo '#!/bin/bash\n\nls ~;' >> myscript.sh chmod 755 ./myscript.sh ./myscript.sh Executed in my home folder, all goes as expected and it lists files in my home folder output…
rogodeter
  • 400
  • 7
  • 18
2
votes
1 answer

Mount entry in fstab with go

Is there a way to mount a ssh device with Go using an entry in fstab where the mount options are defined. I have been trying syscall.Mount without success. func main() { src := "jeanluc@:/home/jeanluc" target :=…
ripat
  • 2,714
  • 3
  • 20
  • 34
1
vote
0 answers

Setting user permissions for a directory mounted in /etc/fstab

My embedded Linux system is using an admin user account to make some restricted administration tasks. The home directory for that user is /mnt/foo. That directory is the mount point for a partition mounted by /etc/fstab on boot: /dev/mmcblk1p6 …
aicastell
  • 1,744
  • 14
  • 26
1
vote
0 answers

Automounting sshfs with fstab, using passphrase-protected private key

I connect to my home server with ssh server, where server is configured in ~/.ssh/config as: Host server HostName {server-address} User me IdentityFile ~/.ssh/id_rsa IdentityFile is a passphrase-protected private key, so I have to enter…
Michael Murphy
  • 189
  • 1
  • 2
  • 13
1
vote
1 answer

Why SpringBoot app cannot access to remote files (sshfs) unless a user is connected to the server?

This question involves a raspberry pi 4 connected via Wifi to the internet, and running a SpringBoot app that generates a file tree with special values upon user request. The SpringBoot App needs compute the parent path of some files located on the…
HelloWorld
  • 2,111
  • 13
  • 21
1
vote
1 answer

sudo mount -t ntfs complains about not being in fstab only when done from bash

I have no problem with sudo mount -t ntfs4 server/drive /home/larry/folder but when I put this in a bash script it complains about not being in fstab. Can someone please help me here? Here is the complete script. It allows me to mount or umount the…
Larry
  • 13
  • 3
1
vote
0 answers

How add a folder with files inside AOSP root dir?

I'm trying to add a folder inside AOSP root directory using BOARD_ROOT_EXTRA_FOLDERS in Android.mk file, but when I flash it the folder or file isn't there. Also tried to use PRODUCT_COPY_FILES to insert folder (e.g. PRODUCT_COPY_FILES +=…
1
vote
1 answer

Bucket uploaded file not shown in all mounted VMs

I have a Google Cloud Storage Bucket which is mounted to 3 virtual machines using fstab. When I upload a file from another machine to google bucket using gsutil command, the uploaded file is accessible from only 2 vms (Set A). The other vm (Set B)…
Shadhini
  • 33
  • 5
1
vote
1 answer

Can't mount /mnt/x after reboot

After rebooting my server, I saw through nagios that my /mnt/gimli was only reachable on read-only mode. But I need it to be writable because some backups go there. To have in in rw mode, I tried unmounting and remounting /mnt/gimli, but got the…
Ethwall
  • 11
  • 3
1
vote
1 answer

Automatically mounting S3 bucket using s3fs on Amazon CentOS

I have tried all the answers provided in similar questions but none is helpful. I installed S3 Fuse so that I can mount S3 bucket. After the installation, I performed the following the steps: Step 1 Create the mount point for S3 bucket mkdir –p…
MyShade
  • 29
  • 1
  • 7
1
vote
1 answer

Slash added automaticaly before bucket name with fstab and gcsfuse

I use gcsfuse to mount bucket in google compute engine. For this i use this syntax in my fstab : my_bucket /my_bucket gcsfuse rw,uid=1001,gid=1002 But gcsfuse process is launch like this : /usr/bin/gcsfuse --foreground -o rw --uid 1001 --gid 1002…
Bastien D
  • 1,245
  • 2
  • 12
  • 25
1
2 3 4