文件系统2(File system 2).docVIP

  • 4
  • 0
  • 约6.26千字
  • 约 12页
  • 2017-10-07 发布于河南
  • 举报
文件系统2(File system 2)

文件系统2(File system 2) Re mount to the specified format (ext2 ext3). Convert high version to lower version Mount -t (ext2 or ext3) -o remount partition mount point When you create partitions with fdisk /dev/sda, you load them again with the partprobe /dev/sda See the file type command cat /proc/partitions that can be recognized by the current kernel Umount + mount point uninstall mount Ext2 converts to ext3 The tune2fs -j / Mount directory creates the log file system mount point -J creates log files, mount points, and sizes Dumpe2fs view Ext3 is converted to ext2 (mandatory conversion) Mount -t ext2 /dev/munt mount point Swap virtual file system / swap partition 1. partition Fdisk creates a partitioned partprobe partition to read again 1.fdisk id-- 82, when creating a partition, change the type of partition to 82 (virtualized file) 2.mkswap creates free -m to display swapon -s in Mb and see that partition as virtual memory Added virtual partition to swapon + virtual partition name. Once restarted, it disappears Swapoff + virtual partition name to delete temporary virtual partitions The VIM /etc/fatab change option creates a permanent virtual partition [partition file swap, swap, defaults backup time] Mkswap + partition name to format virtual partitions 2. files 1. new block file DD if= file (input file), /dev/zero (zero file), of= (output file) bs=, each size count= number 2.mkswap + filenames to format files 3.swpon -s file name view Swpon + file name added 4.vim /etc/fstab creates permanent Disk quota NT 200020032008 (partition NTFS) 2008 (partition NTFS file) 1.vim /etc/fstab Add a quota to the user or group after the default with the comma to control the usrquota user group group 2. mount -a or init 6 3. generates a limit on the quota of all users of file quotacheck -a -u the space occupied by each user -g the space occupied by each group -v details -c ignores errors Aquota.user generates user files edited in /etc/fstab Aquota.group produces the group files that a

文档评论(0)

1亿VIP精品文档

相关文档