Re: A Basic Mount Observation

2019-05-07 Thread Thomas Schmitt
Hi, Cindy Sue Causey wrote: > $ ls > $ *STILL. crickets.* You need to re-enter the directory, because the thing which now has its name is not the directory which you entered before mount. All programs which show the mounted content have addressed the directory by its name after the mount operati

Re: A Basic Mount Observation

2019-05-07 Thread Bob Weber
On 5/7/19 12:02 PM, Cindy Sue Causey wrote: I didn't fully *cognitively* grasp what you're saying, BUT I did grasp enough to attempt the following via xfce4-terminal: $ cd /mountpoint $ ls $ *(anticipated) crickets* $ sudo (YEAH, I KNOW!) mount LABEL=buster-backup /mountpoint $ ls $ *mammoth-siz

Re: A Basic Mount Observation

2019-05-07 Thread Dan Ritter
Cindy Sue Causey wrote: > On 5/7/19, to...@tuxteam.de wrote: > > > > Makes sense: the current shell (and that is from where we're looking > > at things) keeps the current working directory, CWD, open. This inode > > doesn't go away after a mount -- thus as long as the shell doesn't > > close it (

Re: A Basic Mount Observation

2019-05-07 Thread Cindy Sue Causey
On 5/7/19, to...@tuxteam.de wrote: > On Tue, May 07, 2019 at 11:20:57AM -0400, Dan Ritter wrote: >> Martin McCormick wrote: >> >I may just be remembering things the wrong way [...] > > [about not immediatlely "seeing" the results of a mount on the CWD] > > [...] > >> mkdir point >> cd point >>

Re: A Basic Mount Observation

2019-05-07 Thread Cindy Sue Causey
On 5/7/19, Martin McCormick wrote: > This Summer will mark 30 years since I first laid hands on a > unix-like system. I probably was introduced to unix mount points > very shortly after starting in the unix world which reminded me a > lot of MSDOS except that there aren't nearly as many gotchas a

Re: A Basic Mount Observation

2019-05-07 Thread tomas
On Tue, May 07, 2019 at 11:20:57AM -0400, Dan Ritter wrote: > Martin McCormick wrote: > > I may just be remembering things the wrong way [...] [about not immediatlely "seeing" the results of a mount on the CWD] [...] > mkdir point > cd point > touch original > ls [practical demonstration i

Re: A Basic Mount Observation

2019-05-07 Thread Dan Ritter
Martin McCormick wrote: > I may just be remembering things the wrong way but it > seems like that for most of my memory, one could be root and, if > you cd'd to a mount point, one could mount /dev/whatever on that > mount point and immediately see the top of the new tree you had > just mount