On Wed, Jun 04, 2008 at 04:51:43PM +0200, martin f krafft wrote: > Entries in /dev/disk/by-id are prefixed with e.g. ata-* or scsi-* > or usb-* depending on the bus to which a disk is connected. This > makes it impossible to switch disks between busses (e.g. hook an ATA > disk to usbserial and just make it work).
> I can use by-uuid for > partitions holding filesystems, but swap partitions are not exposed > by-uuid, so those cannot be used across different bus-systems. no, that was a bug in util linux. /lib/udev/vol_id --uuid /dev/sda2 1570da44-278e-44d7-bd36-eb4e02c73d8e cat /proc/swaps Filename Type Size Used Priority /dev/sda2 partition 4883752 1164800 -1 ls /dev/disk/by-uuid/ 1570da44-278e-44d7-bd36-eb4e02c73d8e run mkswap on your swap partition. regards -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

