Mailinglist Archive: opensuse (3100 mails)
| < Previous | Next > |
mysterious hardlink count for LVM2 reiserfs mounted on / in Suse-10
- From: Digvijoy Chatterjee <digvijoy_chatterjee@xxxxxxxxxxx>
- Date: Fri, 10 Mar 2006 10:34:04 +0530
- Message-id: <1141967044.6567.6.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi All,
The hardlink count for / should be 3 + (number of immediate subdirs)
it is however 4 + (no of immediate subdirectories) as here :i am not
able to figure that out by any stretch of imagination
myshec44191d:/ # ls -al
total 34
drwxr-xr-x 22 root root 512 Mar 9 20:16 .
drwxr-xr-x 22 root root 512 Mar 9 20:16 ..
drwxr-xr-x 2 root root 48 Feb 15 10:54 agnimnt
drwxr-xr-x 2 root root 2896 Mar 9 20:19 bin
drwxr-xr-x 4 root root 1024 Jan 6 10:51 boot
drwxr-xr-x 13 root root 16240 Mar 10 10:18 dev
drwxr-xr-x 102 root root 8984 Mar 9 20:18 etc
drwxr-xr-x 29 root root 1008 Feb 17 15:43 home
drwxr-xr-x 11 root root 3976 Jan 6 10:52 lib
drwxr-xr-x 4 root root 104 Feb 17 16:34 media
drwxr-xr-x 2 root root 48 Sep 9 21:57 mnt
drwxr-xr-x 18 root root 904 Mar 9 10:45 opt
dr-xr-xr-x 136 root root 0 Mar 8 16:20 proc
drwx------ 66 root root 5600 Mar 10 10:28 root
drwxr-xr-x 3 root root 9744 Jan 7 11:33 sbin
drwxr-xr-x 5 root root 120 Jan 6 11:17 srv
drwxr-xr-x 10 root root 0 Mar 8 16:20 sys
drwxrwxrwt 15 root root 688 Mar 10 10:30 tmp
drwxr-xr-x 16 root root 432 Feb 23 11:21 usr
drwxr-xr-x 15 root root 384 Jan 6 10:45 var
myshec44191d:/ # ls |wc -l
18 ,
there are 18 subdirectories so it should be 21 ,however it is 22.
This is mount status
myshec44191d:/ # mount
/dev/mapper/system-root on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda20 on /boot type ext2 (rw,acl,user_xattr)
/dev/mapper/system-home on /home type reiserfs (rw,acl,user_xattr)
/dev/mapper/system-usr on /usr type reiserfs (rw,acl,user_xattr)
usbfs on /proc/bus/usb type usbfs (rw)
Regards
Digz
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
| < Previous | Next > |