- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is lost+found directory ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2003 12:14 AM
тАО01-29-2003 12:14 AM
I see the directory lost+found in some
directories alone. What is that ?
I understand it is being creaated by
system. When it is being created !
Thanks
R. Ezhil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2003 12:21 AM
тАО01-29-2003 12:21 AM
Re: What is lost+found directory ?
lost+found directory is created when the file system is made by newfs.
fsck copies problem ("lost") files here. fsck can't create it's own directories so newfs must do this first.
regards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2003 12:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2003 12:40 AM
тАО01-29-2003 12:40 AM
Re: What is lost+found directory ?
lost+found has created on every file system and it purpose is to keep "bad" or corrupted files, created by fsck. Sometime is very important to recover useful, but lost information from there using methods like:
#file /lost+found/badfile - to find owner or
type of lost file
#strings /lost+found/badfile - to find text
passages there
...so on
Run fsck also try to recover files from this directory.
Regards, Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2003 02:40 AM
тАО01-29-2003 02:40 AM
Re: What is lost+found directory ?
"man -k keyword" and "man -f file" often help to find information.
In this case "man -k lost+found" would have pointed you to mklost+found(1M), which in turn points you to the mentioned fsck(1M) and mkfs(1M).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2003 04:19 AM
тАО01-29-2003 04:19 AM
Re: What is lost+found directory ?
Also, the whatis database (found at /usr/share/lib/whatis) must be manually created and then updated on a regular basis to capture any new man pages. To create the database the first time:
catman 11m23457
which will take several hours. The funny options are actually Unix 'bricks' or manuals. The term brick comes from the appearance of the the printed collection of man pages (each about the size of as brick). 11m23457 says: format all the pages for sections (bricks) 1 1m 2 3 4 5 7. Section 1 is for general Unix commands, section 1m is for root-only commands, section 2 is for system calls, and so on.
Without the -w option to catman, all the requested pages will be formatted as well as indexed, thus saving time ("Reformatting entry. Wait...") but using a few extra megs of space in /usr/share and other man page locations. catman follows the pathnames found in the variable $MANPATH and $MANPATH is automatically set in /etc/profile from the file /etc/MANPATH. Thius, to add a new location for man pages, just edit /etc/MANPATH and add the new location. Details are found in (you guessed it): man man. You'll see %L occasionally in the MANPATH and this is for language localization where additional pages are found using LOCALE settings.
A great way to keep man -k accurate and up to date is to run catman -m 11m23457 as a part of the reboot processes. -m merges new entries into the whatis database.
Bill Hassell, sysadmin