FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-05-2011, 09:52 AM
Ed Greshko
 
Default Mounting issues

Christopher Svanefalk <christopher.svanefalk@gmail.com> wrote:

>Hey guys,
>
>alright, I have the following issue: I was experimenting with mounting
>SMB
>shares on my machine lately, and mounted a remote share to a local
>folder
>(no special commands passed, just a standard mount). What I did not
>know was
>that mount seems to remove all files resident in the mount-folder prior
>to
>the mount.
>
>My question is: is there any way to get the files I had in the folder
>prior
>to the mount back? Or will I have to use a recovery tool? If so, which
>one
>would you recommend?
>

Unmount and you'll see the files are still there.



--
Sent from my Android tablet with K-9 Mail.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 09:54 AM
"n2xssvv.g02gfr12930"
 
Default Mounting issues

On 05/06/11 10:27, Christopher Svanefalk wrote:
> Hey guys,
>
> alright, I have the following issue: I was experimenting with mounting
> SMB shares on my machine lately, and mounted a remote share to a local
> folder (no special commands passed, just a standard mount). What I did
> not know was that mount seems to remove all files resident in the
> mount-folder prior to the mount.
>
> My question is: is there any way to get the files I had in the folder
> prior to the mount back? Or will I have to use a recovery tool? If so,
> which one would you recommend?
>
> Thanks in advance!
>
> Chris
>

Chris, I thing you'll find that when you mount a directory to another
location, you don't actually lose what was originally there, but
effectively hide it. Hence it is best to mount to an empty directory.

HTH

cpp4ever

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 09:56 AM
David
 
Default Mounting issues

On 5 June 2011 19:27, Christopher Svanefalk
<christopher.svanefalk@gmail.com> wrote:
> Hey guys,
> alright, I have the following issue: I was experimenting with mounting SMB
> shares on my machine lately, and mounted a remote share to a local folder
> (no special commands passed, just a standard mount). What I did not know was
> that mount seems to remove all files resident in the mount-folder prior to
> the mount.
> My question is: is there any way to get the files I had in the folder prior
> to the mount back? Or will I have to use a recovery tool? If so, which one
> would you recommend?

The usual behaviour of a mountpoint is that the previous contents if
any become invisible during the mount, and become visible again when
you unmount. I'm not sure about SMB though. Did you try umount yet?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 10:14 AM
Christopher Svanefalk
 
Default Mounting issues

You are all right, I had to reboot my system due to a crash, but after that I could see everything again. Thanks!
On Sun, Jun 5, 2011 at 11:56 AM, David <bouncingcats@gmail.com> wrote:

On 5 June 2011 19:27, Christopher Svanefalk

<christopher.svanefalk@gmail.com> wrote:

> Hey guys,

> alright, I have the following issue: I was experimenting with mounting SMB

> shares on my machine lately, and mounted a remote share to a local folder

> (no special commands passed, just a standard mount). What I did not know was

> that mount seems to remove all files resident in the mount-folder prior to

> the mount.

> My question is: is there any way to get the files I had in the folder prior

> to the mount back? Or will I have to use a recovery tool? If so, which one

> would you recommend?



The usual behaviour of a mountpoint is that the previous contents if

any become invisible during the mount, and become visible again when

you unmount. I'm not sure about SMB though. Did you try umount yet?

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-05-2011, 10:17 AM
Christopher Svanefalk
 
Default Mounting issues

in other words: it would appear that the files never dissapeared, and that an unmount reverted the visibility of the folder to what was there before. Quite a relief! Thanks again

On Sun, Jun 5, 2011 at 12:14 PM, Christopher Svanefalk <christopher.svanefalk@gmail.com> wrote:

You are all right, I had to reboot my system due to a crash, but after that I could see everything again. Thanks!

On Sun, Jun 5, 2011 at 11:56 AM, David <bouncingcats@gmail.com> wrote:


On 5 June 2011 19:27, Christopher Svanefalk

<christopher.svanefalk@gmail.com> wrote:

> Hey guys,

> alright, I have the following issue: I was experimenting with mounting SMB

> shares on my machine lately, and mounted a remote share to a local folder

> (no special commands passed, just a standard mount). What I did not know was

> that mount seems to remove all files resident in the mount-folder prior to

> the mount.

> My question is: is there any way to get the files I had in the folder prior

> to the mount back? Or will I have to use a recovery tool? If so, which one

> would you recommend?



The usual behaviour of a mountpoint is that the previous contents if

any become invisible during the mount, and become visible again when

you unmount. I'm not sure about SMB though. Did you try umount yet?

--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines





--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 10:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org