RE: swap分区的UUID问题
UUID更安全
Best Regards,
Hades Enduos 石磊
Cell: +8613917763584
Fax: +862158531237
> Date: Mon, 9 Jul 2007 13:10:23 +0800
> From: stoner@sw-linux.com
> To: s5unty@gmail.com
> CC: debian-chinese-gb@lists.debian.org
> Subject: Re: swap分区的UUID问题
>
> 对于swap分区,我建议在fstab中直接使用设备名,而不是UUID
>
>
>
> Vern Sun 写道:
> > 我觉得UUID的作用是替代/dev/hdxn分区标识的,所以写在fstab里的UUID应该是
> > 和/dev/hdxn这样的分区标识唯一对应的,并且是可以互相推导的。
> >
> > 但是好像swap分区是一个例外,因为swap分区在fstab分区中写的UUID和
> > /dev/disk/by-uuid目录下链接至交换分区的文件名并不相同,然而其余分区都
> > 是相同的。
> >
> > 或许我可以把fstab文件中swap分区的UUID号理解成是没有意义的?
> >
> > 在07-7-7,* Ming Hua* <minghua@rice.edu <mailto:minghua@rice.edu>> 写道:
> >
> > On Fri, Jul 06, 2007 at 01:31:26PM +0800, Vern Sun wrote:
> > >
> > > 我想知道fstab文件中swap分区的UUID是从何而来的呢?
> > > 如果它是通过mkswap得到的,为什么mkswap每次执行得到的UUID又不相同呢?
> >
> > 这没什么奇怪吧。UUID 应该是和文件系统对应的,而不是和硬盘分区对应
> > 的,所
> > 以用 mkswap 重新建立文件系统后,UUID 就会变。
> >
> > Ming
> > 2007.07.06
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> > debian-chinese-gb-REQUEST@lists.debian.org
> > <mailto:debian-chinese-gb-REQUEST@lists.debian.org>
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>
> >
> >
> > --
> > Vern
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
中国十大热门旅游景点 了解更多信息!
Reply to: