05-14-2008
Lost+found
I need to try and sort 125gb of lost+found files and directories that look like from testing the files are good in some areas. Does anyone know of a script using strings, file, find, etc. to help sort something like this........can't find it on google.
thks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
after a crash of our SUN Server 220R on file system was corrupt
and I had run fsck getting a lost of files/dir's in the lost+found
of the file system loking like
drwxrwxr-x 2 lmxadmin DOS---- 512 Oct 31 21:04 #0007680
drwxrwxr-x 2 lammer DOS---- 512 Jan 29 09:29... (6 Replies)
Discussion started by: DPAI
6 Replies
2. UNIX for Advanced & Expert Users
Hi all
I am using SOLARIS 8 on Sun enterpris3000 server. Last night i got a file system corrupted adn some inconsistancy in the file system were shown when i run fsck -o p option.
Then i tried to fix it with fsck -F ufs -y /dev/md/rdsk/d1 option as i have given all yes response i cd not able to... (4 Replies)
Discussion started by: Prafulla
4 Replies
3. UNIX for Dummies Questions & Answers
what is the directory "lost+found" and how is it used? (2 Replies)
Discussion started by: Ben070371
2 Replies
4. UNIX for Advanced & Expert Users
hi all,
just wanted to know what is lost+found dir for?
tnx (1 Reply)
Discussion started by: bok
1 Replies
5. AIX
Hi,
I have a AIX 4.3.3 running on IBM pseries server.
I have some jfs filesystems running on it.
I dont see Lost+Found directory in them.
Can anybody guide me why it is not available.
Cheers,
Vinod.. (4 Replies)
Discussion started by: vinod2all
4 Replies
6. Solaris
If you delete your lost & found directory, how do you get it back, just do a mkdir? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
7. UNIX for Dummies Questions & Answers
Hi, upon reboot of our test solaris 9 box, I was prompted to run fsck on one of the filesystems (/var). This resulted in placing all the files in the lost+found directory. I have no backup. What are my options to place the files back to /var (from lost+found, is it possible?).
Appreciate any... (1 Reply)
Discussion started by: spricks
1 Replies
8. UNIX for Advanced & Expert Users
Does anyone have or know of a script to help sort and display a large lost+found directory? i've googled this but not much help
solaris 9
thanks (3 Replies)
Discussion started by: morrish
3 Replies
9. Red Hat
Hi All,
I am facing a problem of filesystem corruption,where i am trying to recover data with fsck -f <device name> ,now it restore the corrupted data in lost+found directory.Please let me know how to recover the data from lost+found directory.
Thanks,
Shailesh (1 Reply)
Discussion started by: sbapotikar
1 Replies
10. Red Hat
Hi,
What is lost+found in linux ?
Cheers,
snj (2 Replies)
Discussion started by: snjksh
2 Replies
LEARN ABOUT REDHAT
wrap-and-sort
WRAP-AND-SORT(1) General Commands Manual WRAP-AND-SORT(1)
NAME
wrap-and-sort - wrap long lines and sort items in Debian packaging files
SYNOPSIS
wrap-and-sort [options]
DESCRIPTION
wrap-and-sort wraps the package lists in Debian control files. By default the lists will only split into multiple lines if the entries are
longer than 80 characters. wrap-and-sort sorts the package lists in Debian control files and all .install files. Beside that wrap-and-sort
removes trailing spaces in these files.
This script should be run in the root of a Debian package tree. It searches for control, control.in, copyright, copyright.in, install, and
*.install in the debian directory.
OPTIONS
-h, --help
Show this help message and exit.
-a, --wrap-always
Wrap all package lists in the Debian control file even if the entries are shorter than 80 characters and could fit in one line line.
-s, --short-indent
Only indent wrapped lines by one space (default is in-line with the field name).
-b, --sort-binary-packages
Sort binary package paragraphs by name.
-k, --keep-first
When sorting binary package paragraphs, leave the first one at the top. Unqualified debhelper(7) configuration files are applied to
the first package.
-n, --no-cleanup
Do not remove trailing whitespaces.
-d path, --debian-directory=path
Location of the debian directory (default: ./debian).
-f file, --file=file
Wrap and sort only the specified file. You can specify this parameter multiple times. All supported files will be processed if no
files are specified.
-v, --verbose
Print all files that are touched.
AUTHORS
wrap-and-sort and this manpage have been written by Benjamin Drung <bdrung@debian.org>.
Both are released under the ISC license.
DEBIAN
Debian Utilities WRAP-AND-SORT(1)