Re: OT - gap -Re: Using bind mount

2016-01-16 Thread Daniel Bareiro
On 15/01/16 08:47, Chris Bannister wrote: > On Thu, Jan 14, 2016 at 04:50:04PM +, Lisi Reisz wrote: >> ;-) >> >> And please, no group "hugs" among strangers. ;-) > I remember a 'poster' I had years ago which read "There are no strangers > here, only friends we haven't met." ;-) What a good

Re: OT - gap -Re: Using bind mount

2016-01-15 Thread Steve Matzura
On Fri, 15 Jan 2016 14:36:24 +, you wrote: >:-) O.K. Please, no group "hugs" among friends I haven't met yet. ;-) Let's >wait until we know each other better. ;-) My arms are at my sides where they belong. :-)

Re: OT - gap -Re: Using bind mount

2016-01-15 Thread Lisi Reisz
On Friday 15 January 2016 11:47:32 Chris Bannister wrote: > On Thu, Jan 14, 2016 at 04:50:04PM +, Lisi Reisz wrote: > > ;-) > > > > And please, no group "hugs" among strangers. ;-) > > I remember a 'poster' I had years ago which read "There are no strangers > here, only friends we haven't met."

Re: OT - gap -Re: Using bind mount

2016-01-15 Thread Chris Bannister
On Thu, Jan 14, 2016 at 04:50:04PM +, Lisi Reisz wrote: > ;-) > > And please, no group "hugs" among strangers. ;-) I remember a 'poster' I had years ago which read "There are no strangers here, only friends we haven't met." ;-) -- "If you're not careful, the newspapers will have you hating

Re: OT - gap -Re: Using bind mount

2016-01-14 Thread Lisi Reisz
On Thursday 14 January 2016 16:07:56 Steve Matzura wrote: > Whoa folks, let's apply the brakes. > > The fact is, if you think about it, Lisi is quite correct, but for a > reason she may not even realize. Visually impaired people, at least > those of us whose visual impairment is to the point where

Re: OT - gap -Re: Using bind mount

2016-01-14 Thread Steve Matzura
Whoa folks, let's apply the brakes. The fact is, if you think about it, Lisi is quite correct, but for a reason she may not even realize. Visually impaired people, at least those of us whose visual impairment is to the point where we don't use print at all, don't hear in paragraphs, but anybody wh

Re: OT - gap -Re: Using bind mount

2016-01-14 Thread Lisi Reisz
On Thursday 14 January 2016 11:01:22 Daniel Bareiro wrote: > On 13/01/16 19:08, Lisi Reisz wrote: > > On Wednesday 13 January 2016 09:38:12 Steve Matzura wrote: > >> And once again, I ask you to hand me the spatula so's I can scrape the > >> egg off my face. I completely forgot I needed to `mkdir -

Re: OT - gap -Re: Using bind mount

2016-01-14 Thread Daniel Bareiro
On 13/01/16 19:08, Lisi Reisz wrote: > On Wednesday 13 January 2016 09:38:12 Steve Matzura wrote: >> And once again, I ask you to hand me the spatula so's I can scrape the >> egg off my face. I completely forgot I needed to `mkdir -p' the mount >> point directory! IT WORKS! Didn't I say I was mis

Re: Using bind mount

2016-01-14 Thread Steve Matzura
Jonathan, On Wed, 13 Jan 2016 16:07:47 +, you wrote: >On Wed, Jan 13, 2016 at 04:38:12AM -0500, Steve Matzura wrote: >> Now to look up the syntax for putting it into fstab to make it >> permanent. THANK YOU AGAIN EVER SO MUCH! > >The syntax is > /olddir /newdir none bind

Re: OT - gap -Re: Using bind mount

2016-01-14 Thread Lisi Reisz
On Thursday 14 January 2016 10:09:30 Steve Matzura wrote: > On Wed, 13 Jan 2016 22:08:02 +, Lisi wrote: > >On Wednesday 13 January 2016 09:38:12 Steve Matzura wrote: > >> And once again, I ask you to hand me the spatula so's I can scrape the > >> egg off my face. I completely forgot I needed to

Re: OT - gap -Re: Using bind mount

2016-01-14 Thread Steve Matzura
On Wed, 13 Jan 2016 22:08:02 +, Lisi wrote: >On Wednesday 13 January 2016 09:38:12 Steve Matzura wrote: >> And once again, I ask you to hand me the spatula so's I can scrape the >> egg off my face. I completely forgot I needed to `mkdir -p' the mount >> point directory! IT WORKS! Didn't I say

OT - gap -Re: Using bind mount

2016-01-13 Thread Lisi Reisz
On Wednesday 13 January 2016 09:38:12 Steve Matzura wrote: > And once again, I ask you to hand me the spatula so's I can scrape the > egg off my face. I completely forgot I needed to `mkdir -p' the mount > point directory! IT WORKS! Didn't I say I was missing something > stupid? :-) > > Now to look

Re: Using bind mount

2016-01-13 Thread Jonathan Dowland
On Wed, Jan 13, 2016 at 04:38:12AM -0500, Steve Matzura wrote: > Now to look up the syntax for putting it into fstab to make it > permanent. THANK YOU AGAIN EVER SO MUCH! The syntax is /olddir /newdir none bind You must put this after the /olddir (/mnt/nas) and /newdir (/hom

Re: Using bind mount

2016-01-13 Thread Steve Matzura
On Wed, 13 Jan 2016 10:01:03 +0300, you wrote: >strace is used for tracing system calls, it does not influence your >problem per se. Please install it first, run mount via strace second. In between your message and now, my mount problem was solved, but I installed strace anyway for future use. Th

Re: Using bind mount

2016-01-13 Thread Steve Matzura
On Tue, 12 Jan 2016 23:49:02 -0500, you wrote: >On 12/01/16 10:23 PM, Steve Matzura wrote: >> On Tue, 12 Jan 2016 18:12:11 -0300, Daniel wrote: >> >>> M... I used the following syntax: >>> >>> mount --bind /mnt/nas/doc /home/steve/doc >>> >>> >>> That works for you? >> Sorry ... >> >> mount: m

Re: Using bind mount

2016-01-12 Thread Reco
Hi. On Tue, 12 Jan 2016 22:30:03 -0500 Steve Matzura wrote: > Reco: > > On Wed, 13 Jan 2016 00:21:19 +0300, you wrote: > > >Please post the output of: > > > >strace mount -B /mnt/nas/doc /home/steve/doc > > I *knew* I was missing something. I get 'command not found". strace is used

Re: Using bind mount

2016-01-12 Thread Gary Dale
On 12/01/16 10:41 PM, Steve Matzura wrote: Gary: I just tried something similar with an NFS share and was able to do it. My situation was I have ///mnt mounted in ~/mnt. I was then able to (as root) mount -o bind ./mnt/archives ./mnt1 while in my normal ~ folder. You could also try mounting th

Re: Using bind mount

2016-01-12 Thread Gary Dale
On 12/01/16 10:23 PM, Steve Matzura wrote: On Tue, 12 Jan 2016 18:12:11 -0300, Daniel wrote: M... I used the following syntax: mount --bind /mnt/nas/doc /home/steve/doc That works for you? Sorry ... mount: mount point docs does not exist That error would indicate that /home/steve/doc

Re: Using bind mount

2016-01-12 Thread Steve Matzura
Gary: >I just tried something similar with an NFS share and was able to do it. >My situation was I have ///mnt mounted in ~/mnt. I was then >able to (as root) mount -o bind ./mnt/archives ./mnt1 while in my normal >~ folder. > >You could also try mounting the share locally or sharing the "doc"

Re: Using bind mount

2016-01-12 Thread Steve Matzura
Reco: On Wed, 13 Jan 2016 00:21:19 +0300, you wrote: >Please post the output of: > >strace mount -B /mnt/nas/doc /home/steve/doc I *knew* I was missing something. I get 'command not found".

Re: Using bind mount

2016-01-12 Thread Steve Matzura
On Tue, 12 Jan 2016 22:56:28 +0100, you wrote: >Le 12/01/2016 22:12, Daniel Bareiro a écrit : > >> mount --bind /mnt/nas/doc /home/steve/doc >> >> >> That works for you? > >I use such syntax failry often > >jdd Even on a virtual filesystem like a Windows share or NAS volume? Am I maybe missing a

Re: Using bind mount

2016-01-12 Thread Steve Matzura
On Tue, 12 Jan 2016 18:12:11 -0300, Daniel wrote: >M... I used the following syntax: > >mount --bind /mnt/nas/doc /home/steve/doc > > >That works for you? Sorry ... mount: mount point docs does not exist

Re: Using bind mount

2016-01-12 Thread Gary Dale
p /mnt/nas # mount.cifs //ds1/vol1 /mnt/nas -o [various options] When I 'ls -l /mnt/nas', I see all the directories at the top level of //ds1/vol1. Fine. Now, according to everything I've read about bind mount, I should be able to: # mount -o bind /mnt/nas/doc /home/steve/doc where `do

Re: Using bind mount

2016-01-12 Thread jdd
Le 12/01/2016 22:12, Daniel Bareiro a écrit : mount --bind /mnt/nas/doc /home/steve/doc That works for you? I use such syntax failry often jdd

Re: Using bind mount

2016-01-12 Thread Reco
rooted > elsewhere, thus: > > # mkdir -p /mnt/nas > # mount.cifs //ds1/vol1 /mnt/nas -o [various options] > > When I 'ls -l /mnt/nas', I see all the directories at the top level of > //ds1/vol1. Fine. > > Now, according to everything I've read about bin

Re: Using bind mount

2016-01-12 Thread Daniel Bareiro
On 12/01/16 18:12, Daniel Bareiro wrote: > Now I see why I used mount with bind instead of hard links as saying in > a previous email :) I'm sorry. I meant to symlinks. Best regards, Daniel signature.asc Description: OpenPGP digital signature

Re: Using bind mount

2016-01-12 Thread Daniel Bareiro
vol1. Fine. Good. > Now, according to everything I've read about bind mount, I should be > able to: > > # mount -o bind /mnt/nas/doc /home/steve/doc > > where `doc' is a directory on /mnt/nas as described above, and > `/home/steve/doc' is where I want it to app

Using bind mount

2016-01-12 Thread Steve Matzura
us options] When I 'ls -l /mnt/nas', I see all the directories at the top level of //ds1/vol1. Fine. Now, according to everything I've read about bind mount, I should be able to: # mount -o bind /mnt/nas/doc /home/steve/doc where `doc' is a directory on /mnt/nas as describ

Re: bind mount

2014-12-24 Thread peter
s a > solution? Oops; sorry. An ext filesystem allows a link. A FAT f.s. doesn't but a directory where the target is bind mounted is a useable substitute. Inconvenient that the bind mount requires root. Regards, ... Peter E. -- 123456789 1234567

Re: bind mount

2014-12-24 Thread peter
s a > solution? Oops; sorry. An ext filesystem allows a link. A FAT f.s. doesn't but a directory where the target is bind mounted is a useable substitute. Inconvenient that the bind mount requires root. Regards, ... Peter E. -- 123456789 1234567

Re: bind mount

2014-12-23 Thread peter
From: Andrei POPESCU Date: Mon, 22 Dec 2014 22:51:47 +0200 > What are you trying to accomplish? Mount a directory on a directory. Scroll down to "--bind". http://linux.die.net/man/8/mount Seems odd that ordinary mounts are available to users but "bind" is only for root. Thanks,

Re: bind mount

2014-12-23 Thread The Wanderer
On 12/23/2014 at 11:38 AM, pe...@easthope.ca wrote: > From: Andrei POPESCU Date: Mon, 22 Dec > 2014 22:51:47 +0200 >> What are you trying to accomplish? > > Mount a directory on a directory. Scroll down to "--bind". > http://linux.die.net/man/8/mount I think what Andrei meant is asking what y

Re: bind mount

2014-12-22 Thread Andrei POPESCU
On Lu, 22 dec 14, 11:03:07, pe...@easthope.ca wrote: > This line in /etc/fstab allows bind mounting, except that > the user option has no effect. > /usr/bin/aos /home/usr/.aoshome none bind,user > > There is no simple way to allow a user? What are you trying to accomplish? Kind regards, Andrei

bind mount

2014-12-22 Thread peter
This line in /etc/fstab allows bind mounting, except that the user option has no effect. /usr/bin/aos /home/usr/.aoshome none bind,user There is no simple way to allow a user? Thanks,... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Tel

Re: Setting [u|f]mask on a bind mount

2007-09-05 Thread Glen Pfeiffer
only way. Yes, I am trying to change the default permissions of *newly created* files. That is why I tried umask, but it doesn't work with a bind mount. > You would have to change the original mount point options in > order to do this. The directory would need to be on its own

Re: Setting [u|f]mask on a bind mount

2007-09-01 Thread Bob Proulx
t I cannot change the umask when mounting > with --bind. Correct. > Any ideas on how to achieve my goal? You would have to change the original mount point options in order to do this. The directory would need to be on its own filesystem. You could create a filesystem specific for this purpo

Setting [u|f]mask on a bind mount

2007-08-30 Thread Glen Pfeiffer
I tried mounting a directory like so: mount --bind -o umask=0117 /home/files /home/glen/files What I am shooting for, is that all files created in /home/glen/files will have the permissions 660. But the above command seems to have no effect on permissions of created files. I have also tried