LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting vs Bind Mounting:quick Question. (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-vs-bind-mounting-quick-question-4175597153/)

BW-userx 01-10-2017 08:18 AM

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


jmgibson1981 01-10-2017 02:29 PM

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.


All times are GMT -5. The time now is 12:40 AM.