美文网首页
Linux whiteout文件

Linux whiteout文件

作者: Wavky | 来源:发表于2016-12-01 17:57 被阅读0次

whiteout 概念存在于联合文件系统(UnionFS)中,代表某一类占位符形态的特殊文件,当用户文件夹与系统文件夹的共通部分联合到一个目录时(例如 bin 目录),用户可删除归属于自己的某些系统文件副本,但归属于系统级的原件仍存留于同一个联合目录中,此时系统将产生一份 whiteout 文件,表示该文件在当前用户目录中已删除,但系统目录中仍然保留。

It is how the union file system supports deleting from a union where the underlying file to be deleted resides on a read-only file system.

Say you have

/bin (read-only)
/usr/bin (read-only)
/home/USERNAME/bin (read-write)
all union mounted together in /bin (read-write).

And you do rm /bin/ls.

It would place a whiteout for ls in /home/USERNAME/bin, which makes it look like /bin/ls has been deleted.

See State of the unionfs for a good read and a full explanation.

相关文章

  • Linux whiteout文件

    whiteout 概念存在于联合文件系统(UnionFS)中,代表某一类占位符形态的特殊文件,当用户文件夹与系统文...

  • 20170724 文件权限

    概要 linux文件权限linux文件特殊权限ACL 访问控制列表 一、linux文件权限 (一)linux文件属...

  • Linux文件管理

    Linux教程 Linux文件管理 本文介绍如何在Linux上创建文件、删除文件、复制文件、移动文件 使用touc...

  • Linux文件结构、权限

    Linux系统基本操作 文件结构图及关键文件功能介绍 Linux文件结构 image Linux文件结构图 ima...

  • 03-Linux 文件管理系统

    3.1 Linux 文件 Linux 系统中一切皆文件 3.2 Linux 目录结构 3.3 Linux 目录结构...

  • 文件和目录权限

    1、Linux权限介绍2、Linux文件属性3、如何改变Linux文件属性权限4、新建文件默认权限 1、Linux...

  • Linux 常用命令(二)

    Linux常用命令(二) Linux文件管理 Linux的文件层次标准 Filesystem Hierarchy ...

  • 系统加固之Linux安全加固

    Linux系统基本操作 文件结构图及关键文件功能介绍 Linux文件结构 Linux文件结构图 二级目录 | 目录...

  • linux的简单命令操作

    Linux目录介绍:文件目录 作用 Linux简单的操作命令: Linux查看文件操作:ls命令:产看文件夹...

  • C语言-系统-文件操作

    1. Linux 文件 Linux 常见的文件类型:普通文件、目录文件、设备文件、管道文件、套接字和链接文件等等。...

网友评论

      本文标题:Linux whiteout文件

      本文链接:https://www.haomeiwen.com/subject/hhtfmttx.html