The operator needs to change the /test filesystem in the testvg volume group so that it mounts automatically following a system reboot. Which of the following commands is correct?()A. chvg -a y testvgB. chfs -A yes /testC. mount /test -auto=yesD. chlv -a

题目
The operator needs to change the /test filesystem in the testvg volume group so that it mounts automatically following a system reboot. Which of the following commands is correct?()

A. chvg -a y testvg

B. chfs -A yes /test

C. mount /test -auto=yes

D. chlv -a automount=y testlv


相似考题
更多“The operator needs to change the /test filesystem in the testvg volume group so that it mounts automatically following a system reboot. Which of the following commands is correct?() ”相关问题
  • 第1题:

    Asystemadministratorusedthesavevgcommandtobackupthetestvgeachnight.Thereisnowarequirementtoexcludethe/test/staticfilesystemfromthebackup.Howcanthisbeaccomplished?()

    A.Usethe-Xflagonthesavevgcommand

    B.Putanentryinthe/etc/exclude.testvgfile

    C.Removethe/test/staticentriesfromthe/vgdata/testvg.datafile

    D.Usethetouchcommandtocreate/test/static/.excludebeforeusingsavevg


    参考答案:B

  • 第2题:

    在下面的运算符重载函数的原型中,错误的是( )。

    A.Volume operator-(double,double);

    B.double Volume::operator-(double);

    C.Volume Volume::operator-(Volume);

    D.Volume operator-(Volume,Volume);


    正确答案:A

  • 第3题:

    在下面的二目运算符重载函数的原型中,错误的是:

    A.volume operator-(double,double);

    B.double volume::operator-(double);

    C.volume volume ::operator-(volume);

    D.volume operator-(volume,volume);


    A

  • 第4题:

    在下面的运算符重载函数的原型中,错误的是( )。

    A.Volume operator-(double,dpible);

    B.double Volume::operator-(double);

    C.Volume Volume::operator-(Volume);

    D.Volume operator-(Volume);


    正确答案:A
    解析: C++把重载的运算符视为特殊的函数,称为运算符函数,函数名就是在运算符前面保留宇operator。运算符重载的定义格式:返回类型>operator运算符号>(参数说明);运算符”-”是二元运算符,A选项中重载函数的形参列表都是double,而重载函数的返回类型为类Volume,显然是错误的。

  • 第5题:

    在下面的运算符重载函数的原型中,错误的是:

    A.volume operator-(double,double);

    B.double volume::operator-(double);

    C.volume volume ::operator-(volume);

    D.volume operator-(volume,volume);


    Volume operator - (double, double);

  • 第6题:

    C++17中,构造路径对象正确的代码是

    A.namespace fs=std:filesystem; fs::path b{"C:/Users"}; b = b / "cyd";

    B.std::filesystem::path r{"C:Windows"}; r.append("System32");

    C.std::filesystem::path r{"C:Windows"}; r += "System32";

    D.std::filesystem::path p{"/home"}; r += "cyd";

    E.using fs=std:filesystem; fs::path p {"/home"}; p /= "cyd";


    Environment. getExternalStorageDirector