LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-31-2018, 10:54 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
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.
 
Old 10-31-2018, 12:05 PM   #2
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
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)
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
options in /etc/fstab not working correctly Slacker133701 Linux - Newbie 2 06-11-2017 12:25 AM
path changes after using Bind in fstab mtn12857 Linux - Newbie 7 02-04-2016 03:19 PM
Raw socket and bind question, how to implement correctly. coolsti Linux - Networking 1 06-28-2009 11:49 PM
Define Optical disk devices correctly in /etc/fstab (Fedora) wombat53 Linux - Hardware 6 07-30-2008 07:41 AM
Editing fstab correctly bernstein Linux - Newbie 8 04-04-2005 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration