On Sat, 28 Aug 2010 11:48:25 +0200, J.A. de Vries wrote: > Due to a hardware failure I have bought a new external harddisk. I gave > this disk the same volume name as the one it replaces. This is > convenient for me, because I use the automatically generated mountpoint > in some scripts [1]. > > However when I mount the new disk it gets a suffix appended to it volume > name (/media/mydisk-1 instead of just /media/mydisk). I presume the UUID > of the old disk with the same volume label is retained somewhere causing > the system to append the suffix in order to generate a unique name.
Enforce the use of the label in "/etc/fstab" and mount the disk out of "/ media" which is handle automatically by udev. Static mount point should be defined in "/etc/fstab". You could also create your own udev rule to supersede the auto-renaming of udev system. I assume the nature of the udev "/media" mount point is precisely to avoid name collisions. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.08.28.11.33...@gmail.com