LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2017, 08:18 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Mounting vs Bind Mounting:quick Question.


Ok my set up is two hdd's one laptop. sda is deadecated to two Linux OS's and home/user

sdb got three partitions win rescue, win10, extra NTFS formatted space
Code:
Device     Boot     Start        End    Sectors   Size Id Type
/dev/sdb1  *         2048     718847     716800   350M  7 HPFS/NTFS/exFAT
/dev/sdb2          718848  205518847  204800000  97.7G  7 HPFS/NTFS/exFAT
this 3rd partition is to be used as shared space between Linux ~ Windows.
Code:
/dev/sdb3       205518848 1465143295 1259624448 600.7G  7 HPFS/NTFS/exFAT
Can I just do a striaght forward mount that partition into my /home/user/Downloads Directory, or does it have to be a bind mount to get that extra space into /home/user/Downloads ?

1
Code:
/dev/sdb3 /home/user/downloads ntfs-3g defaults 0 0
or
2
Code:
/dev/sdb3 /media/storage ntfs-3g defaults 0 0 
/media/storage  /home/user/downloads none bind

Last edited by BW-userx; 01-10-2017 at 09:29 AM.
 
Old 01-10-2017, 02:29 PM   #2
jmgibson1981
Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 676

Rep: Reputation: Disabled
Should be able to mount it either way you want. I don't know the technical differences between regular and bind mounting. just know that the most direct path is usually the best option. don't overcomplicate a simple mount by mounting it twice.

I've been using linux for 4 years now give or take, and a few weeks ago when I got a usb 3.0 storage drive for my server was the first time I ever used bind mounting, and then only because of existing database storage paths for my kodi media center stuff.

Last edited by jmgibson1981; 01-10-2017 at 02:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Quick question on USB mounting Flz Linux - Hardware 1 12-18-2005 04:37 PM
Quick mounting question viniosity Linux - Newbie 2 03-23-2005 11:51 AM
quick question - mounting/unmounting drives tw001_tw Linux - Software 2 05-13-2004 08:09 PM
Quick Mounting Novell Volumes saurya_s Linux - Software 2 12-19-2003 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:21 PM.

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