LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 804|回复: 1

linux下分区标签的作用

[复制链接]
发表于 2006-4-3 03:00:14 | 显示全部楼层 |阅读模式
当新添加一个分区时,为什么要用e2lable命令给该分区添加标签啊????
标签有什么作用??请详细说明。如果没有标签,又会又什么后果????
发表于 2006-4-3 08:30:50 | 显示全部楼层
[root@tony local]# man e2label
E2LABEL(8)                                                                                                      E2LABEL(8)

NAME
       e2label - Change the label on an ext2/ext3 filesystem

SYNOPSIS
       e2label device [ new-label ]

DESCRIPTION
       e2label will display or change the filesystem label on the ext2 filesystem located on device.

       If the optional argument new-label is not present, e2label will simply display the current filesystem label.

       If  the  optional  argument new-label is present, then e2label will set the filesystem label to be new-label.  Ext2
       filesystem labels can be at most 16 characters long; if new-label is longer than 16 characters, e2label will  trun-
       cate it and print a warning message.

       It is also possible to set the filesystem label using the -L option of tune2fs(8).

AUTHOR
       e2label was written by Theodore Ts’o (tytso@mit.edu).

AVAILABILITY
       e2label is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.

SEE ALSO
       mke2fs(8), tune2fs(8)

E2fsprogs version 1.35                                 February 2004                                            E2LABEL(8)
(END)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表