jld*_*ger 18 linux unix files storage filesystems
给定一个专门用于存储音乐、视频等的分区,是否可以隐藏 lost+found 目录?
Mik*_*eyB 19
创建该文件系统和共享的子目录/符号链接是不是文件系统的根目录。
删除 lost+found 目录是个坏主意。恢复时,fsck 需要一个现有的多扇区目录,在其中为丢失的文件创建目录条目。如果没有 lost+found 目录,那么它必须创建一个,可能会覆盖数据。
Sha*_*obe 11
对于基于 Gnome2/Mate Nautilus/Caja 的桌面,.hidden在驱动器的根文件夹中创建一个名为的文件。
编辑内容阅读:
lost+found
Run Code Online (Sandbox Code Playgroud)
如果您刷新,Nautilus 现在将隐藏 lost+found 文件夹。按 'ctrl-h' 切换隐藏项目可见/不可见。
小智 8
$ ls --ignore=lost+found
Run Code Online (Sandbox Code Playgroud)
所以把它设为别名
$ alias ls='ls --ignore=lost+found'
Run Code Online (Sandbox Code Playgroud)
使用更新的 ls 是 GNU coreutils 8.15 的一部分
回复:http : //www.askapache.com/linux-unix/bash_profile-functions-advanced-shell.html
| 归档时间: |
|
| 查看次数: |
26387 次 |
| 最近记录: |