linux中fstab含义,深入理解linux fstab

[oracle@db1 ~]$ cat etc/fstab

#

# etc/fstab

# Created by anaconda on Thu Mar 10 05:02:51 2016

#

# Accessible filesystems, by reference, are maintained under '/dev/disk'

# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info

#

/dev/mapper/vg_db1-lv_root                        ext4    defaults        1 1

UUID=41da8ae5-6b87-4506-ac0d-d174738f0aa8 boot                   ext4    defaults        1 2

/dev/mapper/vg_db1-lv_swap swap                    swap    defaults        0 0

tmpfs                   dev/shm                tmpfs   defaults        0 0

devpts                  dev/pts                devpts  gid=5,mode=620  0 0

sysfs                   sys                    sysfs   defaults        0 0

proc                    proc                   proc    defaults        0 0

/dev/sda3  oradata ext4  defaults  0  0

[oracle@db1 ~]$ man fstab

FSTAB(5)                   Linux Programmer's Manual                  FSTAB(5)

NAME

fstab - static information about the filesystems

SYNOPSIS

#include

DESCRIPTION

The file fstab contains descriptive information about the various file systems.  fstab is only read by programs, and not

written; it is the duty of the system administrator to properly create and  maintain  this  file.   Each  filesystem  is

described  on  a  separate  line; fields on each line are separated by tabs or spaces.  Lines starting with '#' are com-

ments. blank lines are ignored.  The order of records in fstab is important because  fsck(8),  mount(8),  and  umount(8)

sequentially iterate through fstab doing their thing.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值