码迷,mamicode.com
首页 > 其他好文 > 详细

fdisk,mount.label

时间:2015-01-15 23:37:01      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:

########fdisk

ll /dev/sda*

df -TH

fdisk -cul

fdisk -cu ~~n~~p~~+1G~~

partx -a /dev/sda

########EXT4

mkfs.ext4 /dev/sda6

mke2fs -b 4096 /dev/sda6

tune2fs -l /dev/sda6

########mount,Label

blkid

/etc/fstab

e2lab /dev/sda6 TEST6

mount LABEL=TEST6 /mnt

tune2fs -l /dev/sda6 |grep -i "mount count"

mount -o remount,ro /dev/sda6 /mnt

fuser -v /mnt

umount /mnt

 

fdisk,mount.label

标签:

原文地址:http://www.cnblogs.com/bb9874/p/4227350.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!