mss上无法删除大文件的解决方法

mss一代上无法删除大文件的解决方法:当遇到超大文件时(即使是纯英文文件名和路径),用rm这样的命令删除,会提示Value too large for defined data type,据称是BusyBox平台不支持造成的.本文提出解决方法,经本人测试有效.

1:系统环境
BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
2:问题
# rm -r Infile-o
rm: unable to stat `Incomplete-o/www.hhrz.net/(500).Days.of.Summer.2009.720p.BluRay.DTS.x264-WiKi.mkv.part': Value too large for defined data type。
rm: unable to remove `Incomplete-o/500': Directory not empty


3:解决步骤
# wget http://openmss.tongminh.nl/busybox-1.2.1
# cp busybox-1.2.1 /opt/bin
#chown +rx busybox-1.2.1
# busybox-1.2.1 rm -rf Infile-o

--OK.


4:参考资料
http://www.suphammer.net/forum/viewtopic.php?f=2&t=1042

Board index -- NAS -- MSS I -- General
I need some help about large iso file

I need some help about large iso file
Postby mssfromchn --29 May 2008 18:35
:lol: My English is very poor,I come from China. This is my first time to looking for help from an English forum.

My MSS's fireware is 2.66
I've dowloaded an iso file (4.3GB) by mldonkey
Because I have changed the directory which store the finished file
So my finished file is located at mss-hdd/Pubilc/mlnet/file
When I want to delete the finished files ,I get some problems(I will show below)
# rm -rf files
rm: unable to stat `files/1221/1/HD-DVDR.NTSC-ArT.iso': Value too large for defined data type
rm: unable to remove `files/1221/1': Directory not empty
......
Do anyone help me please? or give me some advice. Thanks a lot!

----
Re: I need some help about large iso file(http://hhrz.net)

Postby Bryan -- 31 May 2008 22:52
You will need a version of busybox that supports large files. I had one but I currently lost it.
Python 2.5, CTorrent dnh3.2, Busybox 1.2.0
--
Top
Re: I need some help about large iso file(http://chq.name)

Postby mssfromchn -- 01 Jun 2008 17:47
:shock: :shock: Thanks,I hope you can find the Busybox what I need, at least,plz tell me where I can find the busybox to download

I 've checked my mss,my busybox's version is :

BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
--

Re: I need some help about large iso file(http://hhrz.info)

Postby Bryan -- 03 Jun 2008 16:10-http://chq.name
# Download from .
# Put into /opt/bin
# chmod +rx /opt/bin/busybox-1.2.1
Then to use the new buxybox prefix everything with busybox-1.2.1. For example:

# busybox-1.2.1 rm -rf
--
Top
Re: I need some help about large iso file(hhrz.net)

Postby mssfromchn -- 04 Jun 2008 21:19-http://hhrz.net
thanks a lot! You are so wonderful! I will try
Postby mssfromchn -- 04 Jun 2008 21:33
perfect! :lol: :lol: :lol:

----http://www.hhrz.org/

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值