A file system ha

题目

A file system has been corrupted and needs to be restored.  Which file contains the ufsdump levels for this file system? ()

  • A、 /etc/backup
  • B、 /etc/ufsdump
  • C、 /etc/dumpdates
  • D、 /etc/fsdumpdates
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

JAVA File类执行下面这段程序为什么会出现异常 File file=new File(args[0]); 这句是什么意思??

import java.io.*;

import java.util.*;

public class FileClass {

/**

 * @param args

 */

public static void main(String[] args) {

// TODO Auto-generated method stub

try{

File file=new File(args[0]);

System.out.println(args[0]+"文件");

if(file.isFile()){

//是否为文件

System.out.print(file.canRead()?"可读":"不可读");

System.out.print(file.canWrite()?"可写":"不可写");

System.out.print(file.length()+"字节");//注意不能调用数组类型 File[] 的 length()例:File[] files=file.listFiles();不可以这么调用filess.length()

}

else{

//列出所有文件及目录

File[] files=file.listFiles();

ArrayList<File> fileList=new ArrayList<File>();

for(int i=0;i<files.length;i++){

//先列出目录

if(files[i].isDirectory()){

//是否为目录

//取得路径名

System.out.println("路径"+"[  "+files[i].getPath()+"  ]");

}

else{

//文件先存入fileList,待会再列出

fileList.add(files[i]);

}

}

//列出文件

for(File f:fileList){

System.out.println(f.toString());

}

System.out.println();

}

}

catch(ArrayIndexOutOfBoundsException e){

System.out.println("using:java FileDemo pathname");

}

}

}

结果:using:java FileDemo pathname

是不是创建的对象所代表的文件没有被创建成功


 

File file=new File(args[0]); 就是创建一个args[0]所指文件路径的文件对象。出现异常的原因是:你把args[0]作为文件路径,而你运行时又没有指定。

 

第2题:

All of the following statements accurately describe process for administering file systems EXCEPT:()

A.A logical volume must exist prior to running the crfs command to create a file system

B.A file system must be unmounted before it can be removed

C.Defining a file system imposes a structure on a logical volume

D.Removing a file system using rmfs automatically removes the underling logical volume


参考答案:A

第3题:

Given that the current directory is empty, and that the user has read and write privileges to the current, and the following:Which statement is true?()

A.Compilation fails.

B.Nothing is added to the file system.

C.Only a new file is created on the file system.

D.Only a new directory is created on the file system.

E.Both a new file and a new directory are created on the file system.


参考答案:B

第4题:

Which command displays the amount of space available on the storage media?()

  • A、show chassis routing-engine
  • B、show system file-storage
  • C、file list
  • D、show system storage

正确答案:D

第5题:

Which of the following statements is TRUE about mounting a file system?()

A.A file system cannot be mounted on a directory containing data.

B.Mounting a file system on a mount point containing data will delete the data.

C.Mounting a file system on a amount point containing data will make the data temporarily inaccessible.

D.A systems administrator must manually create an empty directory prior to mounting an AIX JFS.


参考答案:C

第6题:

The ______ has several major components, including the system kernel, a memory management system, the file system manager, device drivers, and the system libraries.

A.application

B.information system

C.network

D.operating system


正确答案:D
解析:译文的含义是:()有几个主要部件,包括系统内核、存储管理系统、文件系统管理器、设备驱动器和系统库。A、B、C、D各选项的意思依次为:应用软件、信息系统、网络、操作系统,所以本题应该选择D。

第7题:

Which of the following statements best describes the relationship between a logical volume and a journaled file system (JFS)?()

A.Increasing the size of a logical volume also increases the size of the file system

B.Reducing the size of a logical volume requires reducing the size of the file system first

C.Increasing the size of a file system requires increasing the size of the logical volume first

D.Increasing the size of a file system also increases the size of the logical volume when necessary


参考答案:D

第8题:

Given that the current directory is empty, and that the user has read and write permissions, and the following:Which statement is true?()

A.Compilation fails.

B.The file system has a new empty directory named dir.

C.The file system has a new empty directory named newDir.

D.The file system has a directory named dir, containing a file f1.txt.

E.The file system has a directory named newDir, containing a file f1.txt.


参考答案:E

第9题:

Which statement is true about "full state backup" in a Cisco Unified Computing System?()

  • A、 An XML file containing all details of the system, including IP address and cluster details 
  • B、 A binary file containing only service profiles, pools, and other items configured after initial configuration
  • C、 A binary file containing all details of the system, including IP address and cluster details
  • D、 An XML file containing only service profiles, pools, and other items configured after initial configuration
  • E、 A text file with the NX-OS running configuration

正确答案:C

第10题:

A corrupted file system is now repaired and back in use. Some, but not all of the files within the file  systems have been deleted. The only backup of this file system is a month-old tar archive. This archive will need to be restored as root.  Which two statements correctly describe the effects of the restore operation?()

  • A、 Files found in the file system that are also on tape will NOT be overwritten.
  • B、 The missing files, present on the backup tape, are restored to the file system with the data as it was when the backup was taken.
  • C、 The access times are preserved by tar and will reflect the time when a user last accessed the data.
  • D、 The modification time on the files restored by tar will be preserved and will reflect the time the file was last modified before the backup, NOT the time of the restore operation.

正确答案:B,D

更多相关问题