快速业务通道

Redhat6.0 分区加密

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-03-27

Redhat6.0 分区加密

[root@honghaitao ~]# uname -r

2.6.32-71.el6.i686

一、新建一个分区/dev/sda6

[root@honghaitao ~]# fdisk -l /dev/sda

Disk /dev/sda: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Empire CMS,phome.net

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x0003458d

Device Boot Start End Blocks Id System

/dev/sda1 * 1 1275 10240000 83 Linux

/dev/sda2 1275 1658 3072000 83 Linux

Empire CMS,phome.net

/dev/sda3 1658 1913 2048000 83 Linux

/dev/sda4 1913 2611 5610496 5 Extended

/dev/sda5 1913 2044 1048576 82 Linux swap / Solaris

[root@honghaitao ~]# fdisk /dev/sda

WARNING: DOS-compatible mode is deprecated. It''s strongly recommended to

switch off the mode (command ''c'') and change display units to

Empire CMS,phome.net

sectors (command ''u'').

Command (m for help): m

Command action

a toggle a bootable flag

b edit bsd disklabel

c toggle the dos compatibility flag

d delete a partition

l list known partition types

m print this menu

Empire CMS,phome.net

n add a new partition

o create a new empty DOS partition table

p print the partition table

q quit without saving changes

s create a new empty Sun disklabel

t change a partition''s system id

u change display/entry units

v verify the partition table

Empire CMS,phome.net
w write table to disk and exit

x extra functionality (experts only)

Command (m for help): n

First cylinder (2044-2611, default 2044):

Using default value 2044

Last cylinder, cylinders or size{K,M,G} (2044-2611, default 2611): 50M

Command (m for help): p

Disk /dev/sda: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Empire CMS,phome.net

OK

本文出自 “海阔天空” 博客,谢绝转载!

Empire CMS,phome.net

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号