[Desktop] Внешний диск с NTFS -- не работает.

Alexei V. Mezin =?iso-8859-1?q?alexei-mezin_=CE=C1_rambler=2Eru?=
Пт Сен 5 18:13:01 MSD 2008


Michael A. Kangin пишет:

> О, вот интересно. То есть, она без MBR и единого раздела?
Да, такие бывают. Это им совсем не мешает работать.

> PT там вообще, кажется, нету.
> # fdisk -l /dev/sdb?
Вот он. Малость странный :)

Disk /dev/sdb: 1027 MB, 1027584000 bytes
32 heads, 62 sectors/track, 1011 cylinders
Units = cylinders of 1984 * 512 = 1015808 bytes
Disk identifier: 0x69205244

This doesn't look like a partition table
Probably you selected the wrong device.

    Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?      109945      967803   850995205   72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
      phys=(368, 111, 45) logical=(109944, 9, 56)
Partition 1 has different physical/logical endings:
      phys=(371, 101, 51) logical=(967802, 12, 7)
Partition 1 does not end on cylinder boundary.
/dev/sdb2   ?      367465      641646   271987362   74  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
      phys=(67, 115, 32) logical=(367464, 25, 52)
Partition 2 has different physical/logical endings:
      phys=(299, 114, 44) logical=(641645, 19, 43)
Partition 2 does not end on cylinder boundary.
/dev/sdb3   ?       85008       85008           0   65  Novell Netware 386
Partition 3 has different physical/logical beginnings (non-Linux?):
      phys=(114, 111, 32) logical=(85007, 0, 51)
Partition 3 has different physical/logical endings:
      phys=(353, 115, 52) logical=(85007, 0, 50)
Partition 3 does not end on cylinder boundary.
/dev/sdb4         1357329     1357355       25817+   0  Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
      phys=(0, 0, 0) logical=(1357328, 16, 33)
Partition 4 has different physical/logical endings:
      phys=(0, 0, 0) logical=(1357354, 17, 21)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order


> Еще, если можно, вывод hal-devices, посвящённый этой флешке.
> Я попробую воспроизвести у себя такую ситуацию.

Вот (почему-то в двух экземплярах):
0: udi = '/org/freedesktop/Hal/devices/volume_uuid_5C88FD0388FCDC88'
   volume.is_mounted_read_only = false  (bool)
   volume.policy.mount_options = 
'nodev,nosuid,noexec,noatime,procuid,utf8,umask=0111,dmask=0000,ro' 
(string)
   volume.linux.is_device_mapper = false  (bool)
   volume.is_disc = false  (bool)
   volume.policy.mount_option.locale=ru_RU.UTF-8 = true  (bool)
   volume.is_partition = false  (bool)
   volume.policy.mount_option.dmask=022 = true  (bool)
   info.product = 'Volume (ntfs)'  (string)
   volume.policy.mount_option.fmask=133 = true  (bool)
   volume.block_size = 512  (0x200)  (int)
   info.udi = 
'/org/freedesktop/Hal/devices/volume_uuid_5C88FD0388FCDC88'  (string)
   volume.policy.mount_option.allow_other = true  (bool)
   volume.num_blocks = 2007000  (0x1e9fd8)  (int)
   block.device = '/dev/sdb'  (string)
   volume.policy.mount_option.silent = true  (bool)
   linux.hotplug_type = 3  (0x3)  (int)
   volume.size = 1027584000  (0x3d3fb000)  (uint64)
   block.major = 8  (0x8)  (int)
   volume.policy.mount_option.streams_interface=windows = true  (bool)
   block.minor = 16  (0x10)  (int)
   block.is_volume = true  (bool)
   info.capabilities = { 'volume', 'block' } (string list)
   storage.model = ''  (string)
   volume.ignore = false  (bool)
   org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 
'Unmount', 'Eject' } (string list)
   org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 
'as' } (string list)
   org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point 
fstype extra_options', 'extra_options', 'extra_options' } (string list)
   org.freedesktop.Hal.Device.Volume.method_execpaths = { 
'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } 
(string list)
   info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
   volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'uid=', 'gid=', 
'umask=', 'locale=', 'utf8', 'locale=', 'dmask=', 'fmask=', 'silent', 
'allow_other', 'streams_interface=', 'locale=' } (string list)
   volume.unmount.valid_options = { 'lazy' } (string list)
   volume.policy.mount_filesystem = 'ntfs-3g'  (string)
   volume.policy.corwin = true  (bool)
   volume.policy.desired_mount_point = 'usbdisk-ntfs'  (string)
   info.category = 'volume'  (string)
   block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_JetFlash_TS1GJF2A_0_0' 
(string)
   volume.policy.should_mount = true  (bool)
   volume.fstype = 'ntfs-3g'  (string)
   linux.sysfs_path = '/sys/block/sdb/fakevolume'  (string)
   volume.fsusage = 'filesystem'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/storage_serial_JetFlash_TS1GJF2A_0_0' 
(string)
   volume.fsversion = '3.1'  (string)
   volume.uuid = '5C88FD0388FCDC88'  (string)
   volume.label = ''  (string)
   volume.mount_point = '/media/usbdisk-ntfs'  (string)
   info.callouts.add = { 'mount-hal-fs' } (string list)
   volume.is_mounted = true  (bool)
   volume.policy.mount_option.fs = 'ntfs'  (string)
   info.callouts.remove = { 'mount-hal-fs' } (string list)

1: udi = '/org/freedesktop/Hal/devices/storage_serial_JetFlash_TS1GJF2A_0_0'
   storage.policy.mount_options = 'nodev,nosuid,noexec,noatime'  (string)
   info.addons = { 'hald-addon-storage' } (string list)
   info.product = 'TS1GJF2A'  (string)
   info.vendor = 'JetFlash'  (string)
   info.udi = 
'/org/freedesktop/Hal/devices/storage_serial_JetFlash_TS1GJF2A_0_0' 
(string)
   block.device = '/dev/sdb'  (string)
   linux.hotplug_type = 3  (0x3)  (int)
   block.major = 8  (0x8)  (int)
   block.minor = 16  (0x10)  (int)
   block.is_volume = false  (bool)
   storage.bus = 'usb'  (string)
   info.capabilities = { 'storage', 'block' } (string list)
   storage.no_partitions_hint = false  (bool)
   storage.media_check_enabled = true  (bool)
   storage.automount_enabled_hint = true  (bool)
   storage.model = 'TS1GJF2A'  (string)
   storage.vendor = 'JetFlash'  (string)
   storage.drive_type = 'disk'  (string)
   storage.originating_device = 
'/org/freedesktop/Hal/devices/usb_device_c76_5_noserial_if0'  (string)
   storage.removable = true  (bool)
   storage.removable.media_available = true  (bool)
   storage.hotpluggable = true  (bool)
   info.interfaces = { 'org.freedesktop.Hal.Device.Storage.Removable' } 
(string list)
   storage.requires_eject = false  (bool)
   storage.size = 0  (0x0)  (uint64)
   storage.serial = 'JetFlash_TS1GJF2A-0:0'  (string)
   storage.firmware_version = '1.00'  (string)
   storage.removable.media_size = 1027584000  (0x3d3fb000)  (uint64)
   storage.lun = 0  (0x0)  (int)
   storage.partitioning_scheme = 'none'  (string)
   info.category = 'storage'  (string)
   storage.removable.support_async_notification = false  (bool)
   block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_JetFlash_TS1GJF2A_0_0' 
(string)
   storage.policy.should_mount = true  (bool)
   linux.sysfs_path = '/sys/block/sdb'  (string)
   info.parent = 
'/org/freedesktop/Hal/devices/usb_device_c76_5_noserial_if0_scsi_host_scsi_device_lun0' 
  (string)



Кстати! Удалал все партишены и сделал по новой:
Disk /dev/sdb: 1027 MB, 1027584000 bytes
32 heads, 62 sectors/track, 1011 cylinders
Units = cylinders of 1984 * 512 = 1015808 bytes
Disk identifier: 0x69205244

    Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1011     1002881    7  HPFS/NTFS

Пошел на соседний комп, отформатировал в НТФС. Поведение ни разу не 
изменилось.



Подробная информация о списке рассылки Desktop