sles10 + udevadm

Here you can write your Problems with Backups.

Moderator: sepma

Post Reply
Dimerson
Posts: 7
Joined: October 15th, 2010, 8:13 am
Spam Stop: No
SEP sesam: Software

sles10 + udevadm

Post by Dimerson » July 12th, 2011, 1:07 pm

Hello.

Sep Sesam call 'udevadm info' . udevadm not available on SLES10 platform. Only udevinfo.
shell wrapper udevadm what call udevinfo on /opt/sesam/bin/sesam works ok.

I have 1 question. storage pool for usb removable media uses UUID for mount media ?
What are better : device name /dev/sda1 (when udevadm works) or /dev/disk/by-uuid/UUID-NAME for persistent mount usb storage media ???

seems storage pool by UUID is more persistent :

select * from mediapool_locations ;
name | path | capacity | comment | load_cmd | unload_cmd | access_mode | status | device_path
-------+------------------+----------+---------+----------+------------+-------------+--------+-------------
xx01 | /media/xx | 470000 | | mount | umount | | | /dev/sdc1
xx02 | /media/xx | 470000 | | mount | umount | | | /dev/sdd1
xx03 | /media/xx | 470000 | | mount | umount | | | /dev/sde1
xx04 | /media/xx | 470000 | | mount | umount | | | /dev/sdf1

it's for mount by device name ...
....

Post Reply