* Re: [Comm] Возвращение на ALT
@ 2006-12-13 9:27 ` Павел Крупин
2006-12-13 18:51 ` [Comm] [JT] " Vinogradov Anton
0 siblings, 1 reply; 2+ messages in thread
From: Павел Крупин @ 2006-12-13 9:27 UTC (permalink / raw)
To: ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
-----Original Message-----
From: Алексей Сидоров <alex@reutman.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Date: Tue, 05 Dec 2006 20:06:15 +0300
Subject: Re: [Comm] Возвращение на ALT
> Читаем здесь: http://wiki.sisyphus.ru/admin/IvmanAutomount, но ivman сразу выкидываем
> Смотрим /usr/share/hal/fdi/policy/, это так, для ознакомления чего к чему, делать будем по образу и подобию...
> Создаём в /etc/hal/fdi/policy какой-нибудь файл (возможно должно быть расширение .fdi), и пишем туда что, как и куда монтировать.
> Не забываем устройства, которые монтируем через hal вынести из fstab
> все параметры, по которым будем определять устройства (то, что будем писать в match, а также в merge) - смотрим по комманде hal-device
> ещё кое-что можно посмотреть здесь: http://lists.altlinux.org/pipermail/sisyphus/2005-February/053948.html
>
> Для примера прилагаю свой конфиг(файл /etc/hal/fdi/policy/10-my.fdi)
Я прилагаю в письме все строки которые нашел в выдаче hal-device на момент воткнутого iPod mini.
У меня вызывает вопросы как обединять в match информацию с разных номеров. И как узнать когда испольовать merge, а когда append?
Снимаю перед вами панцирь, Паша-черепаша. =) Let smile goin'...
[-- Attachment #2: hal-device.txt --]
[-- Type: text/plain, Size: 8203 bytes --]
0: udi = '/org/freedesktop/Hal/devices/volume_uuid_1374_08DF'
volume.policy.mount_option.shortname = 'mixed' (string)
volume.policy.mount_option.quiet = true (bool)
volume.policy.mount_option.fmask = '0111' (string)
volume.policy.mount_option.dmask = '0' (string)
volume.policy.mount_filesystem = 'vfat' (string)
volume.policy.should_mount = true (bool)
volume.policy.desired_mount_point = 'ipod' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_1374_08DF' (string)
volume.partition.msdos_part_table_type = 11 (0xb) (int)
info.product = 'EASTER'S IP' (string)
volume.size = 6103157760 (0x16bc6cc00) (uint64)
volume.num_blocks = 11920230 (0xb5e366) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 2 (0x2) (int)
info.capabilities = { 'volume', 'block' } (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.mount_point = '' (string)
volume.label = 'EASTER'S IP' (string)
volume.uuid = '1374-08DF' (string)
volume.fsversion = 'FAT32' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'vfat' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
block.is_volume = true (bool)
block.minor = 2 (0x2) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda2' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
linux.sysfs_path_device = '/sys/block/sda/sda2' (string)
linux.sysfs_path = '/sys/block/sda/sda2' (string)
1: udi = '/org/freedesktop/Hal/devices/volume_part1_size_41094144'
info.udi = '/org/freedesktop/Hal/devices/volume_part1_size_41094144' (string)
volume.partition.msdos_part_table_type = 0 (0x0) (int)
info.product = 'Volume' (string)
volume.size = 41094144 (0x2730c00) (uint64)
volume.num_blocks = 80262 (0x13986) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 1 (0x1) (int)
info.capabilities = { 'volume', 'block' } (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = false (bool)
volume.mount_point = '' (string)
volume.label = '' (string)
volume.uuid = '' (string)
volume.fsversion = '' (string)
volume.fsusage = '' (string)
volume.fstype = '' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
block.is_volume = true (bool)
block.minor = 1 (0x1) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda1' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
linux.sysfs_path_device = '/sys/block/sda/sda1' (string)
linux.sysfs_path = '/sys/block/sda/sda1' (string)
2: udi = '/org/freedesktop/Hal/devices/storage_model_iPod'
info.addons = { 'hald-addon-storage' } (string list)
portable_audio_player.output_formats = { 'audio/mpeg', 'audio/aac' } (string list)
portable_audio_player.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
portable_audio_player.type = 'ipod' (string)
portable_audio_player.access_method = 'storage' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
info.udi = '/org/freedesktop/Hal/devices/storage_model_iPod' (string)
storage.requires_eject = true (bool)
storage.hotpluggable = true (bool)
info.capabilities = { 'storage', 'block', 'portable_audio_player' } (string list)
info.category = 'portable_audio_player' (string)
info.product = 'iPod' (string)
info.vendor = 'Apple' (string)
storage.removable = true (bool)
storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0' (string)
storage.lun = 0 (0x0) (int)
storage.drive_type = 'disk' (string)
storage.vendor = 'Apple' (string)
storage.model = 'iPod' (string)
storage.automount_enabled_hint = true (bool)
storage.media_check_enabled = true (bool)
storage.no_partitions_hint = false (bool)
storage.bus = 'usb' (string)
block.is_volume = false (bool)
block.minor = 0 (0x0) (int)
block.major = 8 (0x8) (int)
block.device = '/dev/sda' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0_scsi_host_scsi_device_lun0' (string)
linux.sysfs_path_device = '/sys/block/sda' (string)
linux.sysfs_path = '/sys/block/sda' (string)
5: udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0'
info.udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88_if0' (string)
linux.subsystem = 'usb' (string)
linux.hotplug_type = 1 (0x1) (int)
info.product = 'USB Mass Storage Interface' (string)
usb.interface.protocol = 80 (0x50) (int)
usb.interface.subclass = 6 (0x6) (int)
usb.interface.class = 8 (0x8) (int)
usb.interface.number = 0 (0x0) (int)
info.linux.driver = 'usb-storage' (string)
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4/1-4:1.0' (string)
usb.configuration_value = 1 (0x1) (int)
usb.num_configurations = 1 (0x1) (int)
usb.num_interfaces = 1 (0x1) (int)
usb.device_class = 0 (0x0) (int)
usb.device_subclass = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.vendor_id = 1452 (0x5ac) (int)
usb.product_id = 4613 (0x1205) (int)
usb.vendor = 'Apple Computer, Inc.' (string)
usb.product = 'USB Mass Storage Interface' (string)
usb.device_revision_bcd = 1 (0x1) (int)
usb.max_power = 500 (0x1f4) (int)
usb.num_ports = 0 (0x0) (int)
usb.linux.device_number = 8 (0x8) (int)
usb.serial = '000000F44A88' (string)
usb.speed_bcd = 294912 (0x48000) (int)
usb.version_bcd = 512 (0x200) (int)
usb.is_self_powered = true (bool)
usb.can_wake_up = false (bool)
usb.bus_number = 1 (0x1) (int)
info.bus = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88' (string)
linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4/1-4:1.0' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4/1-4:1.0' (string)
6: udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88'
info.udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1205_000000F44A88' (string)
linux.subsystem = 'usb' (string)
linux.hotplug_type = 1 (0x1) (int)
usb_device.bus_number = 1 (0x1) (int)
usb_device.can_wake_up = false (bool)
usb_device.is_self_powered = true (bool)
usb_device.version_bcd = 512 (0x200) (int)
usb_device.speed_bcd = 294912 (0x48000) (int)
usb_device.serial = '000000F44A88' (string)
usb_device.linux.device_number = 8 (0x8) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.max_power = 500 (0x1f4) (int)
usb_device.device_revision_bcd = 1 (0x1) (int)
info.product = 'iPod mini' (string)
usb_device.product = 'iPod mini' (string)
info.vendor = 'Apple Computer, Inc.' (string)
usb_device.vendor = 'Apple Computer, Inc.' (string)
usb_device.product_id = 4613 (0x1205) (int)
usb_device.vendor_id = 1452 (0x5ac) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.device_class = 0 (0x0) (int)
usb_device.num_interfaces = 1 (0x1) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4' (string)
info.linux.driver = 'usb' (string)
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_03_3' (string)
linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:03.3/usb1/1-4' (string)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] [JT] Возвращение на ALT
2006-12-13 9:27 ` [Comm] Возвращение на ALT Павел Крупин
@ 2006-12-13 18:51 ` Vinogradov Anton
0 siblings, 0 replies; 2+ messages in thread
From: Vinogradov Anton @ 2006-12-13 18:51 UTC (permalink / raw)
To: Павел
Крупин,
ALT Linux Community
курим :-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-13 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-13 9:27 ` [Comm] Возвращение на ALT Павел Крупин
2006-12-13 18:51 ` [Comm] [JT] " Vinogradov Anton
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git