Skip to content
Eternal Center

Eternal Center

  • Single-Node (单节点)
    • System (系统)
    • Service (服务)
    • Database (数据库)
    • Container (容器)
    • Virtualization (虚拟化)
  • Multi-Node (多节点)
    • Cluster (集群)
    • Big Data (大数据)
    • Cloud Computing (云计算)
    • Batch Processing (批量处理)
  • Approach (方式方法)
    • Languages (语言)
    • Ideas (思路)
    • Programing (编程)
    • Project (项目)
  • Eternity (永恒)
    • News (消息)
    • Creations (创作)
    • Classics (经典)
    • Legends (传说)
    • Chronicle (编年史)
    • FNIOS (宇宙公民开源学院)
Posted on February 9, 2024February 9, 2024 by Mingyu Zhu

[现象] Linux 普通用户使用 df -h 命令时不显示挂载的目录

当一个用户没有某些挂载目录的读权限时,使用 df -h 命令会不显示这些目录。但是如果给 df 命令加上 –all 选项,则又可以看到这些目录。例如:

$ df --all
Filesystem                    1K-blocks     Used Available Use% Mounted on
 ...
/dev/mapper/share2           -        -         -    - /test/02
/dev/mapper/share1           -        -         -    - /test/01
CategoriesChinese Post (中文帖子), System (系统), System Computer & System Hardware & System Installation & System Upgradation & System Rescue (系统电脑 & 系统硬件 & 系统安装 & 系统升级 & 系统拯救), System Directory (系统目录), System Hardware (系统硬件), System Login Security (系统登录安全), System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志), System Operation (系统操作), System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件), System Operation Commands (系统操作命令), System Privilege (系统权限), System Privilege Security (系统权限安全), System Security (系统安全), System Storage (系统存储), System Storage & System Directory & System File (系统存储 & 系统目录 & 系统文件), System User (系统用户), System User & System Privilege (系统用户 & 系统权限)

Post navigation

Previous PostPrevious [命令] Linux 命令 doc2unix (在 Linux 系统里去掉文件里 Windows 的换行格式)
Next PostNext [步骤] Linux journal 日志的永久存储

Aspiration (愿景):

Everyone can achieve self-achievement and self-happiness fairly

每个人都能公平地实现自我成就和自我幸福

Logo (徽标):

Additional Information (其他信息):

About     Manual     Clone     Contact
Disclaimer     Friendly Links     Donation

关于     手册     克隆     联系
免责声明     友情链接     捐赠

Search Inside Website (站内搜索)

Search Outside Website (站外搜索):

Google         Wikipedia         Bing

Eternal URL (永恒网址):

https://eternity.eternalcenter.com Will be last access method / 将是最后的访问方式

Proudly powered by LNMP Proudly powered by WordPress