Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 12-09-2004, 06:58 AM   #1
Registered: Nov 2004
Location: Wakefield, UK
Distribution: Linux Mint 2.1
Posts: 33

Rep: Reputation: 15
Invisible Directory

Installed upgrade from 10.1 CE to 10.1 Official via urpmi, all went smoothly. On reboot i lost my user home directory, which I was expecting as I have read a post with similar outcome. Removed original user and recreated account. Computer now works fine, but I have lost all my original settings, which I re-entered. Question is, I had Photos and MP3s in home directory of original user which are'nt there anymore, no problem as I can reload from CD backup. But here's the funny thing, if I run "locate *.mp3" or "locate *.jpg in a terminal, it comes back with a list of MP3 or JPG directories in my Home directory which simply are'nt there, where is it getting it's information from. Also running kdiskfree seems to show they are still there but can't see them in Konqueror? Do I need to remount these directories, or somehow incorporate them into the directory structure, but they are there according to "locate".
Old 12-09-2004, 07:27 AM   #2
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
Locate retrieves its information from a database which is daily rebuild by cron.
You could try running "updatedb" as root to update it.

Directories whose name start with a period tend to be invisible. Maybe that's what is happening in your case.


Old 12-09-2004, 07:27 AM   #3
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
"locate" bases its searches upon a snapshot of the filesystem, that should be regularly refreshed. That's why it is fast. If you want a "real result", use "find".

Old 12-09-2004, 07:31 AM   #4
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
First update locate's data base by opening a console and typing

updatedb &

You will get the prompt back immediately. Do not close the console.

Wait for it to finish. It may take 5-8 minutes or more.

Now run locate again against your missing files.

If it finds them, they are indeed there... but maybe not where you expect.
Old 12-09-2004, 08:05 AM   #5
Registered: Nov 2004
Location: Wakefield, UK
Distribution: Linux Mint 2.1
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks, I will try this when I get Home from work.
Old 12-09-2004, 08:38 AM   #6
Senior Member
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
If your original home directory truly is hidden, you should be able to see it in Konqueror by opening the View menu, then selecting the 'Show Hidden Files' option.

If after updating the database as suggested earlier the files are still found, then you may be able to learn where the directory is mounted by looking at /etc/fstab.

If your /home directory was located in its own volume before you upgraded, is it possible it was mounted under the /mnt directory? (just thinking 'off the cuff' ... ).
Old 12-09-2004, 03:26 PM   #7
Registered: Nov 2004
Location: Wakefield, UK
Distribution: Linux Mint 2.1
Posts: 33

Original Poster
Rep: Reputation: 15
Yes they have definately gone, so restered from CD, thanks to all concerned.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory with .htaccess is invisible?! Barca Linux - General 5 02-23-2005 12:28 PM
X11 directory invisible? astrowill Linux - Newbie 3 07-22-2004 12:46 PM
Problem moving directory - invisible bits? slakmagik Linux - Software 9 12-01-2003 05:11 PM
invisible directory prowlerxpla Linux - Software 1 09-11-2003 09:50 AM
files invisible gunz Linux - General 2 08-04-2003 06:28 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration