- 论坛徽章:
- 0
|
本人用的是双系统
C盘装WINDOWS XP, 剩下的空间装REDHAT LINUX AS 5.1
------------------------------------------------------------------------------------------------------------
vim /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap
------------------------------------------------------------------------------------------------------------
[root@localhost ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda5 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
----------------------------------------------------------------------------------------------------------------
[root@localhost ~]# tune2fs -l /dev/VolGroup00/LogVol00
tune2fs 1.39 (29-May-2006)
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: a6792aee-f33d-448a-90f4-7ec205d57bb5
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 13893632
Block count: 13885440
Reserved block count: 694272
Free blocks: 3778047
Free inodes: 13670567
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1020
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 32768
Inode blocks per group: 1024
Filesystem created: Tue Oct 21 17:29:24 2008
Last mount time: Wed Nov 26 08:43:17 2008
Last write time: Wed Nov 26 08:43:17 2008
Mount count: 53
Maximum mount count: -1
Last checked: Tue Oct 21 17:29:24 2008
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
First orphan inode: 11010050
Default directory hash: tea
Directory Hash Seed: da04ddb9-7c96-4563-9dde-f4070b5d572c
Journal backup: inode blocks
高手能给解释这些概念吗
例如:block size/fragment size
----------------------------------------------------------------------------------------------------------------
[root@localhost ~]# ls -ls
total 88
8 -rw------- 1 root root 2556 Oct 21 09:48 anaconda-ks.cfg
4 drwxr-xr-x 3 root root 4096 Nov 4 15:54 Desktop
48 -rw-r--r-- 1 root root 44136 Oct 21 09:48 install.log
12 -rw-r--r-- 1 root root 4923 Oct 21 09:47 install.log.syslog
8 -rw-r--r-- 1 root root 209 Oct 21 09:54 scsrun.log
4 drwxr-xr-x 5 root root 4096 Nov 4 13:25 software
4 -rw-r--r-- 1 root root 1770 Nov 4 13:43 sqlnet.log
[root@localhost ~]# ls -kls
total 88
8 -rw------- 1 root root 3 Oct 21 09:48 anaconda-ks.cfg
4 drwxr-xr-x 3 root root 4 Nov 4 15:54 Desktop
48 -rw-r--r-- 1 root root 44 Oct 21 09:48 install.log
12 -rw-r--r-- 1 root root 5 Oct 21 09:47 install.log.syslog
8 -rw-r--r-- 1 root root 1 Oct 21 09:54 scsrun.log
4 drwxr-xr-x 5 root root 4 Nov 4 13:25 software
4 -rw-r--r-- 1 root root 2 Nov 4 13:43 sqlnet.log
----------------------------------------------------------------------------------------------------------------
这下把东西补全了,
[ 本帖最后由 namexing 于 2008-11-26 17:42 编辑 ] |
|