DiskManager.java
上传用户:hensond
上传日期:2021-12-27
资源大小:817k
文件大小:1k
- package com.company.command_name.os;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- */
- public class DiskManager {
-
- //默认的计算大小
- public static String df(){
- return "/t10485760n/usrt104857600n/homet1048576000n";
- }
-
- //按照kb来计算
- public static String df_k(){
- return "/t10240n/usrt102400n/homett10240000n";
- }
-
- //按照gb计算
- public static String df_g(){
- return "/t10n/usrt100n/homett10000n";
- }
-
- public static void main(String[] args) {
- System.out.println(df());
- }
- }