Hello,
Please, excuse my bad english !
I created a repertory named "tribunal10062021" and put in several files (2 PDF and an openoffice text). I modified the openoffice text today.
Now, when I open the repertory, I find nothing in it . But I suppose the files are still there because if I go to see the repertory properties, I have this : https://c.gmx.fr/@562951818338899669/8n ... PcCqrGULCg
How can I open again the files ?
Thank you
Files disappeared from /mnt/sdb, what happened to them? (Solved)
Moderator: Forum moderators
-
- Posts: 186
- Joined: Fri Aug 21, 2020 11:07 pm
- Location: France
- Has thanked: 44 times
- Been thanked: 13 times
Files disappeared from /mnt/sdb, what happened to them? (Solved)
- Attachments
-
- emptyRepertory.jpg (10.68 KiB) Viewed 1435 times
Re: Files disappeared, what happened to them?
Is a file system mounted on /mnt/sdb ?
You can show the files in /mnt in a Rox window, right click sdb, and select Properties
in the menu.
Does it say that it's a folder
or does it say that it's a mount point
?
Usually what happens is you forget to mount the file system on /mnt/sdb and put files in /mnt/sdb .
/mnt/sdb is just an ordinary folder if nothing is mounted on it. So what you put in /mnt/sdb will go into the save file or save folder, or into the ram tmpfs if you are running "live" (pfix=ram) or mode 13.
Usually, you can unmount /mnt/sdb and find the lost files in /mnt/sdb, which you can move somewhere else.
If unmounting from the right click menu doesn't work, you can type (paste) this in a text terminal (console).
umount-FULL /mnt/sdb
By the way, usually the file systems are in a partition, like /dev/sdb1 or /dev/sdb2
/dev/sdb would be a drive formatted like a floppy disk.
Are you sure /mnt/sdb is right?
What do you get if you type blkid
in a terminal?
-
- Posts: 186
- Joined: Fri Aug 21, 2020 11:07 pm
- Location: France
- Has thanked: 44 times
- Been thanked: 13 times
Re: Files disappeared from /mnt/sdb, what happened to them?
Hello,
Of course sdb is mounted !
blkid : https://c.gmx.fr/@562951818338899669/xf ... 0ER62LKUXg
Thank you for your help
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: Files disappeared from /mnt/sdb, what happened to them?
You should try to unmount /mnt/sdb.
Then goto /mnt and remove directory /mnt/sdb.
Now mount /mnt/sdb again.
Though, I'm not sure it will have any effect, but sometimes when something had gone wrong on mount/unmount the existing /mnt/sdb may hide the content of the mounted /mnt/sdb directory. I experienced such a few times some years ago.
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
- BologneChe
- Posts: 510
- Joined: Sun Aug 23, 2020 12:29 am
- Location: Stoneham, Québec
- Has thanked: 319 times
- Been thanked: 140 times
Re: Files disappeared from /mnt/sdb, what happened to them?
@gilles
Essayez de faire une recherche avec pfind.
Born to lose; live to win
Re: Files disappeared from /mnt/sdb, what happened to them?
Of course sdb is mounted !
Exactly.
If you forget to mount sdb, every thing you put in sdb is in the folder /mnt/sdb
If you then mount /dev/sdb on /mnt/sdb,
then every thing that was put in the (unmounted) folder will be there, but invisible.
I would make sure /mnt/sdb is unmounted
.Then if /mnt/sdb is really empty,
then you are sure that they are not there.
Then you can do what BologneChe suggests, faire une recherche avec pfind.
Re: Files disappeared from /mnt/sdb, what happened to them?
I suppose the files are still there because if I go to see the repertory properties, I have this
If you think there are invisible hidden files in a directory,
you can see hidden files that have a file name beginning with a "." (point)
by clicking the eye icon on the Rox filer bar at the top,
then Rox will show any hidden files too.
128KB is not big, for 2 pdf and an openoffice document with formatting.
Maybe the file system on sdb is damaged. USB flash drives can sometimes not work properly.
-
- Posts: 186
- Joined: Fri Aug 21, 2020 11:07 pm
- Location: France
- Has thanked: 44 times
- Been thanked: 13 times
Re: Files disappeared from /mnt/sdb, what happened to them?
Hello,
Finaly, I solved the problem another way : I used windows instead of linux. The files were still there but as "read only". So I did a copy of the text file and saved it in another folder, and moved the two PDF files to the new folder. And deleted (with windows) the old folder
Now, I should like to know how to do with puppy linux if I have again the same problem.
Thank you
- Flash
- Moderator
- Posts: 1003
- Joined: Tue Dec 03, 2019 3:13 pm
- Location: Arizona, U.S.
- Has thanked: 56 times
- Been thanked: 135 times
Re: Files disappeared from /mnt/sdb, what happened to them? (Solved)
It's good that you solved your problem, but the way you did it makes it hard to say what caused the problem in the first place or how you might have solved it with Linux.