You are not logged in.

#1 2014-01-04 13:23:41

funnyman
Member
Registered: 2013-05-30
Posts: 12

fstab bindfs boot error

hello, I am using this fstab:

[root@alarmpi ~]# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
/dev/mmcblk0p1  /boot           vfat    defaults        0       0
/dev/sda1       /mnt/data       ext4    defaults        0       0
#
# shared folder in users homes
bindfs#/mnt/data/shared /mnt/data/homes/tom/shared  fuse perms=a=rX 0 0
bindfs#/mnt/data/shared /mnt/data/homes/karolina/shared fuse perms=a=rX 0 0
bindfs#/mnt/data/shared /mnt/data/homes/guest/shared fuse perms=a=rX 0 0
bindfs#/mnt/data/shared /mnt/data/homes/marca/shared fuse perms=a=rX 0 0
[root@alarmpi ~]#

It works well when mounting while system is already running using mount -av, but it stuck on boot. Bindfs is compiled, because package is not availible for my architecture (arm). What is wrong? Thank you for help.

Last edited by funnyman (2014-01-04 13:25:25)

Offline

#2 2014-01-04 15:19:23

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: fstab bindfs boot error

Two things:

1) Your syntax is wrong. mount, for historical reasons, understands the bindfs# prefix, but it's not understood by systemd's fstab parser. You need to use fuse.bindfs as the fstype, and get rid of the phony prefix.
2) You're posting on the wrong forum. This is x86 Arch Linux, not ARM.

Offline

#3 2014-01-04 16:46:54

funnyman
Member
Registered: 2013-05-30
Posts: 12

Re: fstab bindfs boot error

Apologize for wrong forum. I was expecting this problem as not depending on architecture.

What is the right syntax? "bindfs /mnt/data/shared /mnt/data/homes/tom/shared  fuse.bindfs perms=a=rX 0 0"? Everywhere (man page, help page, google,..) is the example which I used and I cant find anything related to fuse.bindfs, so I am afraid I wont make this without your help.

Offline

#4 2014-01-04 16:49:29

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: fstab bindfs boot error

Without the prefix entirely....

/mnt/data/shared /mnt/data/homes/tom/shared  fuse.bindfs perms=a=rX 0 0

Offline

#5 2014-01-04 16:55:50

funnyman
Member
Registered: 2013-05-30
Posts: 12

Re: fstab bindfs boot error

It's working well now. Thank you!

Offline

#6 2014-01-04 17:26:38

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: fstab bindfs boot error

Note that mount(8) documents this:

              The programs mount and umount support filesystem subtypes.  The subtype is defined by '.subtype' suffix.  For example  'fuse.sshfs'. It's recommended to use subtype notation rather
              than add any prefix to the mount source (for example 'sshfs#example.com' is deprecated).

Offline

Board footer

Powered by FluxBB