Hello,
>> But I don't know how will it works, 'cause now all disks have one
>> partition, but partitions are encrypted - can I create a label on
>> existing crypted partition?
>
> I've never tested before, but I'd say yes.
>
>> And can system (or udev) identify that label?
>
> I see not good reaso
hello,
> Yes. This can be achieved with "$env{ID_FS_LABEL}" variable used by
> "udev" (I've had to search for this :-P):
>
> http://wiki.archlinux.org/index.php/Udev
>
> That way you can forget about the serial number of the disks being
> detected the same as the devices/partitions will be identif
Hello,
>> hmm... how can I "catch" which is the label of the attached disk?
>
>
> "ls -l /dev/disk/by-label" will tell you if there is any current label on
> the filesystems. Look:
>
> s...@stt008:~$ ls -l /dev/disk/by-label
> total 0
> lrwxrwxrwx 1 root root 10 mar 17 07:50 ALFA -> ../../sda2
> l
Hello,
> "Etch" is not longer supported. Maybe upgrading to the latest stable
> should be desiderable :-?
I know, but this is what we have, currently it's not option.
>> System has two USB SATA-II disks for backup. Since a few weeks the
>> system can't make different between disks, all disks has
Hello,
there is a Debian Etch with kernel 2.6.24-etchnhalf.1-686,
and udev 0.105.
System has two USB SATA-II disks for backup. Since a few weeks
the system can't make different between disks, all disks has
same serial.
# udevinfo -a -p /sys/block/sdb | grep serial
ATTRS{serial}=="31AF4D71B00
5 matches
Mail list logo