时间: 2010-10-29 - 分类: 榆树网-系统 - 无评论 - 482 views
在Solaris下,如果/var分区空间用完了,在vi的时候会提示没有剩余空间,导致无法继续编辑。解决办法:
1、增加/var空间
2、修改vi临时文件位置
By default, vi places temporary work files in /var/tmp. You may want to redirect these work files to another location, especially if /var cannot be mounted in case of an error in your system’s file system table (e.g. /etc/vfstab, /etc/fstab).
Read the rest of this entry »
Tags: Solaris, vi, vim, 文件系统, 空间
时间: 2010-04-03 - 分类: 榆树网-系统 - 无评论 - 871 views
听说ZFS挺强悍的,由于对Sun的系统有恐惧症,并且FreeBSD 8.0上的ZFS文件系统不再是试验性的特性了,所以应该比较完善的具备ZFS的各项功能。 Read the rest of this entry »
Tags: FreeBSD, Sun, ZFS, 文件系统
时间: 2010-01-28 - 分类: 榆树网-系统 - 无评论 - 408 views
需求:要求公共文件只有已注册帐号才能浏览和下载。无帐号用户拥有提取码仍然可以下载到该下载的文件。
想了许多方法,最终还是觉得这个方法比较快捷:
1、在includes/header.inc.php增加:
if(!$pd_uid && $dont_need_login != 1 ){
header("Location: ".urr("account","action=login"));
}
2、分别在account.php extract.php viewfile.php文件头部增加
$dont_need_login = 1;
Tags: phpdisk, 下载, 文件系统, 用户控制, 网络硬盘