udev device naming

Mulyadi Santosa mulyadi.santosa at gmail.com
Thu Nov 29 01:13:51 EST 2012


Hi...

On Thu, Nov 29, 2012 at 9:04 AM, Prasad Joshi <prasadjoshi124 at gmail.com> wrote:
> Hello All,
>
> I have a virtual machine to which I dynamically attach/detach disk
> devices. On this VM the boot device is always '/dev/sda'.
>
> When a attach and detach different disk continuously to this virtual
> machine, every-time, the same device file '/deb/sdb' is created. Is
> there anyway I can tell udev subsystem to not to reuse the previously
> used device names?

IMHO that's understandable since the guest think the same disk is
reinserted back.

So, the key here is to use your virtual machine somehow to pass
information to the guest that this is another disk.

What virtual machine do you use anyway?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list