Sunday, January 22, 2017

freebsd中fstabæ–‡ä»¶æ ¼å¼è¯´æ˜Ž

freebsd中fstabæ–‡ä»¶æ ¼å¼è¯´æ˜Ž



freebsd?fstab??????????
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1d /tmp ufs rw 2 2
/dev/ad0s1f /usr ufs rw 2 2
/dev/ad0s1e /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
? fstab ?????????????
  • Device???????????????????? /dev/ ????????FreeBSD ????????

  • ??????? /dev/*???????NFS??????????? proc,linpro ??

  • Mountpoint????????????????????? swap ????????? none?

  • FStype????????????????? kernel ??????? FreeBSD ???? ufs?

  • ?????????? ufs???? cdrom ?? cd9660????????????????

  • Options???????????????????????(? cdrom)???????? noauto?

  • defaults ??? rw?dev?exec?auto?nouser?async???????????no ?????

  • ? nouser?noauto

  • dump??????? dump ??????????0?????1????

  • pass????????? fsck ??????????/ ??????1?????????2?

  • ???????0(? cdrom,swap ?)?

  • ?fstype?
    ????????
    ufsFreeBSD ????????
    ext2fsLinux EXT2 ?????
    msdosfsFAT/FAT32?DOS ????????
    ntfsWindows ? NTFS?
    cd9660CD-ROM ??????
    udfDVD ???????
    nfs? Sun Microsystems ??? "Network File System"?
    smbfsCIFS/SMB ???????? Windows ????????? Samba ???????
    mfs??? memory-based UNIX ?????
    swap??? swapping ??????
    procfs????????(process)??????
    kernfs????????(kernel parameter)??????

    ?options?
    rw?????
    ro???????
    async????????????
    atime??????????????
    auto?? mount -a ???????
    dev????????????????
    exec??????????????????
    user????user ???
    sync????????????
    swswap?
    noauto???????
    userquota????????? (? kernel ?? quota)?
    groupquota???????? (? kernel ?? quota)?


    Available link for download