免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 24690001 | 回复: 24690001
打印 上一主题 下一主题

跪求高手出手相助:lsattr出现----------I-- 如何解除I? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-11 14:08 |只看该作者 |倒序浏览
[root@TEXT spool]# lsattr
----------I-- ./clientmqueue

这个I代表什么意思呢?

我尝试用chattr修改
[root@TEXT spool]# chattr -I clientmqueue
Usage: chattr [-RV] [-+=AacDdijsSu] [-v version] files...
[root@TEXT spool]#

没有这个参数


跪求高手出手相助:lsattr出现----------I-- 如何解除I?

论坛徽章:
0
2 [报告]
发表于 2011-04-11 15:41 |只看该作者
根据节点索引来删除

文件目录下

ls -i   文件

目录下删除文件

find  .  -inum  节点数值   -exec rm -rf {}  \;

论坛徽章:
0
3 [报告]
发表于 2011-04-11 15:46 |只看该作者
感谢大侠出马,但是还是不行


[root@TEST clientmqueue]# ls -i qfp39K23Yk024870
1443456 qfp39K23Yk024870
[root@TEST clientmqueue]# find  .  -inum  1443456   -exec rm -rf {}  \;
rm: 无法删除 “./qfp39K23Yk024870”: 只读文件系统

论坛徽章:
0
4 [报告]
发表于 2011-04-11 15:49 |只看该作者
回复 3# fangcz206


    这个是默认的 I  啊

论坛徽章:
0
5 [报告]
发表于 2011-04-11 16:02 |只看该作者
[root@TEST spool]# lsattr
------------- ./repackage
------------- ./squid
------------- ./at
------------- ./vbox
------------- ./cron
------------- ./anacron
------------- ./squirrelmail
------------- ./rwho
------------- ./imap
------------- ./uucppublic
------------- ./exim
------------- ./news
------------- ./samba
------------- ./mail
------------- ./cups
------------- ./postfix
----------I-- ./clientmqueue
------------- ./fax
------------- ./mqueue
------------- ./uucp
------------- ./mailman
------------- ./lpd

论坛徽章:
0
6 [报告]
发表于 2011-04-11 16:21 |只看该作者
回复 5# fangcz206


    默认的

论坛徽章:
1
天秤座
日期:2013-10-23 13:20:42
7 [报告]
发表于 2011-04-11 17:13 |只看该作者
man chattr
......
  The âIâ attribute is used by the htree code to indicate that a direc-
  tory is behind indexed using hashed trees. It may not be set or reset
  using chattr(1), although it can be displayed by lsattr(1).
......

论坛徽章:
0
8 [报告]
发表于 2011-04-11 20:41 |只看该作者
man chattr
......
  The âIâ attribute is used by the htree code to indicate that a dir ...
jerryjzm 发表于 2011-04-11 17:13



    我看过了,但是现在里面放了8G多的东西,盘快满了,又删不掉

论坛徽章:
0
9 [报告]
发表于 2011-04-12 09:59 |只看该作者
The 'I' attribute is used  by  the  htree  code  to
       indicate  that  a directory is behind indexed using
       hashed trees.  It may not be  set  or  reset  using
       chattr(1),   although   it   can  be  displayed  by
       lsattr(1).

论坛徽章:
0
10 [报告]
发表于 2011-04-12 21:47 |只看该作者
The 'I' attribute is used  by  the  htree  code  to
       indicate  that  a directory is behind in ...
ouyxia 发表于 2011-04-12 09:59



   谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP