|
|

楼主 |
发表于 2006-10-18 23:40:53
|
显示全部楼层
#emerge udev
#emerge dbus
#emerge hal
#rc-update add dbus default
#rc-update add hald default
#gpasswd -a myusername plugdev
重启之后,插入 U 盘,用 fdisk -l 可以看到设备名了,也可以手动加载,
但要实现自动加载还要配置什么地方吗?
另外,看了官方有关 udev 的文档,发现内核部分没有 General Setup ----> Support for hotpluggable devices 这项,也没有 Pseudo filesystem ----> /dev file system ----> Automatically mount at boot 这项。其他的没有问题。
附上 fdisk -l 显示的信息:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 9 72261 83 Linux
/dev/hda2 10 134 1004062+ 83 Linux
/dev/hda3 135 1131 8008402+ 83 Linux
/dev/hda4 1132 9729 69063435 5 Extended
/dev/hda5 1132 6361 42009943+ 83 Linux
/dev/hda6 6362 8852 20008926 83 Linux
/dev/hda7 8853 9729 7044471 83 Linux
Disk /dev/sda: 1024 MB, 1024311808 bytes
32 heads, 62 sectors/track, 1008 cylinders
Units = cylinders of 1984 * 512 = 1015808 bytes
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sda1 ? 392206 967564 570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 116, 40) logical=(392205, 19, 11)
Partition 1 has different physical/logical endings:
phys=(357, 32, 45) logical=(967563, 8, 51)
Partition 1 does not end on cylinder boundary.
/dev/sda2 ? 85025 1060846 968014120 65 Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(288, 115, 43) logical=(85024, 30, 47)
Partition 2 has different physical/logical endings:
phys=(367, 114, 50) logical=(1060845, 20, 42)
Partition 2 does not end on cylinder boundary.
/dev/sda3 ? 942481 1918302 968014096 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(366, 32, 33) logical=(942480, 18, 30)
Partition 3 has different physical/logical endings:
phys=(357, 32, 43) logical=(1918301, 7, 39)
Partition 3 does not end on cylinder boundary.
/dev/sda4 ? 1 1833280 1818613248 d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(372, 97, 50) logical=(0, 0, 1)
Partition 4 has different physical/logical endings:
phys=(0, 10, 0) logical=(1833279, 15, 30)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order |
|