Sponsored Content
Full Discussion: help with ls please
Top Forums UNIX for Dummies Questions & Answers help with ls please Post 9413 by guest100 on Friday 26th of October 2001 09:29:58 AM
Old 10-26-2001
help with ls please

Below there is a sample of ls in the root (/) directory. Does anyone know why the 'lost+found' directory has 8192 in size while it is completely emply????




<pre>
drwxr-xr-x 36 root root 1536 Oct 26 13:31 ./
drwxrwxrwt 7 sys sys 3250 Oct 26 14:20 tmp/
drwxrwxrwx 2 root other 512 Aug 10 18:28 prod/
drwxrwxrwx 2 root other 512 Aug 10 18:29 ort/
drwxrwxrwx 2 root other 512 Mar 19 2001 cdrom/
drwxrwxrwx 2 root other 512 Mar 20 2001 tftpboot/
drwxrwxrwx 2 root root 512 Mar 19 2001 volmgt/
drwxrwxrwx 2 root root 512 Mar 20 2001 TT_DB/
drwxrwxrwx 2 root root 8192 Mar 19 2001 lost+found/
drwxrwxrwx 2 root sys 512 Mar 19 2001 export/
drwxrwxrwx 2 root sys 512 Mar 19 2001 mnt/
drwxrwxrwx 2 root sys 512 Mar 19 2001 sbin/
drwxrwxrwx 4 root root 512 Aug 14 11:04 u04/
drwxrwxrwx 4 root sys 512 Mar 19 2001 devices/
drwxrwxrwx 5 root root 512 Aug 9 16:46 u02/
drwxrwxrwx 6 root root 512 Sep 28 10:43 u01/
drwxrwxrwx 8 root root 512 Aug 22 09:06 u03/
drwxrwxrwx 9 root sys 512 Mar 19 2001 kernel/
drwxrwxrwx 10 root sys 512 Sep 3 16:25 opt/
drwxrwxrwx 11 root sys 3584 Oct 9 14:21 dev/
drwxrwxrwx 18 root sys 1024 Mar 19 2001 platform/
drwxrwxrwx 23 ort clarify 512 Sep 27 09:45 home/
drwxrwxrwx 26 root sys 512 Aug 3 14:52 var/
drwxrwxrwx 31 root sys 1024 Mar 29 2001 usr/
drwxrwxrwx 33 root sys 3584 Oct 26 09:25 etc/
lrwxrwxrwx 1 root root 9 Mar 19 2001 bin -> ./usr/bin/
lrwxrwxrwx 1 root root 9 Mar 19 2001 lib -> ./usr/lib/

</pre>
 
rpm2cpio(1)							   User Commands						       rpm2cpio(1)

NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive SYNOPSIS
rpm2cpio [file.rpm] DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu- ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out- put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility. EXAMPLES
Example 1: Converting an rpm file example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks Example 2: Converting from standard input example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrpm | +-----------------------------+-----------------------------+ SEE ALSO
cpio(1), attributes(5) NOTES
rpm2cpio handles versions 3 and 4 RPMs. SunOS 5.10 20 Aug 2001 rpm2cpio(1)
All times are GMT -4. The time now is 10:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy