|
|
如题,今天尝试udev,但是出现了一个怪现象:
- #tail /var/log/messages
- Jun 18 00:47:25 soros kernel: usb 3-2: new full speed USB device using uhci_hcd and address 5
- Jun 18 00:47:25 soros kernel: uba: device 5 capacity nsec 128000 bsize 512
- Jun 18 00:47:25 soros kernel: uba: device 5 capacity nsec 128000 bsize 512
- Jun 18 00:47:25 soros kernel: /dev/ub/a: p1
- Jun 18 00:47:26 soros fstab-sync[11896]: added mount point /media/JACKIE for /dev/uba1
复制代码
-
- #fdisk /dev/uba1 -l
- Disk /dev/uba1: 65 MB, 65486848 bytes
- 255 heads, 63 sectors/track, 7 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- This doesn't look like a partition table
- Probably you selected the wrong device.
- Device Boot Start End Blocks Id System
- /dev/uba1p1 ? 48437 119493 570754815+ 72 Unknown
- Partition 1 has different physical/logical beginnings (non-Linux?):
- phys=(357, 116, 40) logical=(48436, 183, 40)
- Partition 1 has different physical/logical endings:
- phys=(357, 32, 45) logical=(119492, 104, 7)
- Partition 1 does not end on cylinder boundary.
- /dev/uba1p2 ? 10501 131013 968014120 65 Novell Netware 386
- Partition 2 has different physical/logical beginnings (non-Linux?):
- phys=(288, 115, 43) logical=(10500, 111, 30)
- Partition 2 has different physical/logical endings:
- phys=(367, 114, 50) logical=(131012, 158, 28)
- Partition 2 does not end on cylinder boundary.
- /dev/uba1p3 ? 116395 236907 968014096 79 Unknown
- Partition 3 has different physical/logical beginnings (non-Linux?):
- phys=(366, 32, 33) logical=(116394, 188, 12)
- Partition 3 has different physical/logical endings:
- phys=(357, 32, 43) logical=(236906, 234, 25)
- Partition 3 does not end on cylinder boundary.
- /dev/uba1p4 ? 179626 179629 27749+ d Unknown
- Partition 4 has different physical/logical beginnings (non-Linux?):
- phys=(372, 97, 50) logical=(179625, 87, 47)
- Partition 4 has different physical/logical endings:
- phys=(0, 10, 0) logical=(179628, 203, 42)
- Partition 4 does not end on cylinder boundary.
- Partition table entries are not in disk order
复制代码
系统在配置文件/etc/fstab的后面自动加了一行:
- /dev/uba1 /media/JACKIE vfat user,exec,noauto,utf8,noatime,sync,managed 0 0
复制代码
执行:
- #mount /media/JACKIE
- mount: wrong fs type, bad option, bad superblock on /dev/uba1,
- missing codepage or other error
- In some cases useful info is found in syslog - try
- dmesg | tail or so
复制代码
得自己手动改/etc/fstab才行。
我没有把sd_mod编成模块,而是直接编进内核。这有关系吗?
谢谢先了! |
|