Skip navigation.

70池中之物

Ray's BLOG

Benefit from UUID.

mount 可以从fstab中完美的支持UUID.

但是 grub 其实是不支持的,因为实际上 uuid 到真实设备号的映射是由udev 来实现的,而udev 的主要组件是一个用户态的daemon程序。

那么为什么Ubuntu 的缺省安装可以支持呢?那是因为在initrd 里面做了相应的映射。

So, now you know how to replace the device name like '/dev/sda2' to 'UUID=xxxxxx-xxx-xxx-xxx-xxxx'.

存者坚强,殁者安息!装了64bit OS - Debian 4.0 (Etch) AMD64

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31