LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help me to correctly se 'tmount --bind' in /etc/fstab (https://www.linuxquestions.org/questions/slackware-14/help-me-to-correctly-se-tmount-bind-in-etc-fstab-4175641504/)

igadoter 10-31-2018 10:54 AM

Help me to correctly se 'tmount --bind' in /etc/fstab
 
Hi,this is my /etc/fstab
Code:

bash-4.4$ cat /etc/fstab
/dev/sda7        swap            swap        defaults        0  0
/dev/sda1        /                ext2        defaults        1  1
#/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro,comment=x-gvfs-show 0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      nosuid,nodev,noexec 0  0
/dev/sda5        /ntfs-spare      ntfs-3g    defaults        0  2

I want to add this
Code:

mount  /ntfs-spare/Slackware-current /home/ftp/pub/Linux/Slackware bind
Does it correct? What should be the values in two last columns? I appreciate help.

philanc 10-31-2018 12:05 PM

I would add the following line to /etc/fstab:
Code:

/ntfs-spare/Slackware-current /home/ftp/pub/Linux/Slackware none bind 0 0
(but I didn't test it)


All times are GMT -5. The time now is 07:57 PM.