Linux 文件系统属性更改
2009-08-05 14:59
295 查看
/usr/local/bin/apps # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock2 9828 9828 0 100% /
mdev 20948 0 20948 0% /dev
tmpfs 20948 28 20920 0% /tmp
tmpfs 1024 80 944 8% /var
/dev/nftl_dat0 39664 8036 29580 21% /media/localdata
/dev/nftl_usr0 148768 135936 5152 96% /usr
/dev/nftl0 1570816 194372 1376444 12% /media/usrdata
mount: invalid option -- h
BusyBox v1.8.2 (2009-04-17 16:52:19 CST) multi-call binary
Usage: mount [flags] DEVICE NODE [-o options,more-options]
Mount a filesystem. Filesystem autodetection requires /proc be mounted.
Options:
-a Mount all filesystems in fstab
-r Read-only mount
-t fs-type Filesystem type
-w Read-write mount (default)
-o option:
loop Ignored (loop devices are autodetected)
[a]sync Writes are asynchronous / synchronous
[no]atime Disable / enable updates to inode access times
[no]diratime Disable / enable atime updates to directories
[no]dev Allow use of special device files / disallow them
[no]exec Allow use of executable files / disallow them
[no]suid Allow set-user-id-root programs / disallow them
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
bind Bind a directory to an additional location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing its flags
ro/rw Mount for read-only / read-write
There are EVEN MORE flags that are specific to each filesystem
You'll have to see the written documentation for those filesystems
文件系统读写:mount -o rw,remount /dev/nftl_usr0
文件系统只读:mount -o ro,remount /dev/nftl_usr0
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock2 9828 9828 0 100% /
mdev 20948 0 20948 0% /dev
tmpfs 20948 28 20920 0% /tmp
tmpfs 1024 80 944 8% /var
/dev/nftl_dat0 39664 8036 29580 21% /media/localdata
/dev/nftl_usr0 148768 135936 5152 96% /usr
/dev/nftl0 1570816 194372 1376444 12% /media/usrdata
mount: invalid option -- h
BusyBox v1.8.2 (2009-04-17 16:52:19 CST) multi-call binary
Usage: mount [flags] DEVICE NODE [-o options,more-options]
Mount a filesystem. Filesystem autodetection requires /proc be mounted.
Options:
-a Mount all filesystems in fstab
-r Read-only mount
-t fs-type Filesystem type
-w Read-write mount (default)
-o option:
loop Ignored (loop devices are autodetected)
[a]sync Writes are asynchronous / synchronous
[no]atime Disable / enable updates to inode access times
[no]diratime Disable / enable atime updates to directories
[no]dev Allow use of special device files / disallow them
[no]exec Allow use of executable files / disallow them
[no]suid Allow set-user-id-root programs / disallow them
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
bind Bind a directory to an additional location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing its flags
ro/rw Mount for read-only / read-write
There are EVEN MORE flags that are specific to each filesystem
You'll have to see the written documentation for those filesystems
文件系统读写:mount -o rw,remount /dev/nftl_usr0
文件系统只读:mount -o ro,remount /dev/nftl_usr0
相关文章推荐
- Linux更改文件属性权限
- Linux系统文件时间属性及配置修改
- linux系统调用(文件和文件夹的属性)
- Linux下权限管理-文件系统属性权限chattr/sudo
- pyinotify:在 Linux 中实时监控文件系统更改
- Linux 内核/sys 文件系统之sysfs 属性文件
- linux命令,系统安全相关命令--改变文件属性与权限(chgrp,chwon,chmod)
- 如何更改文件或文件夹的系统隐藏属性
- LINUX系统文件权限属性详解
- Linux磁盘和文件系统管理(4)_文件系统属性查看 修改
- linux操作学习06文件权限:文件属性查看(ls),文件所有人、组的管理(chown、chgrp),文件普通权限(chmod)、系统默认权限的设定(umask)、文件特殊权限
- Linux - 文件属性及目录相关系统调用
- sysfs 文件系统 通过设备属性访问硬件(DEVICE_ATTR, LINUX)
- Linux系统下如何去掉文件的@属性
- mmove命令_Linux mmove 命令用法详解:Linux mmove命令用于在MS-DOS文件系统中,移动文件或目录,或更改名称。
- linux文件系统的系统分析--(七)sysfs下属性文件的创建
- chmod 更改linux下的文件属性
- Linux中使用Pyinotify模块实时监控文件系统更改
- android系统更改文件属性,可读、可写与可执行
- 添加特殊文件属性,linux系统服务器进行性能调优(IO)