linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wrong symlink handling on rule changes
@ 2007-09-20 15:16 Matthias Schwarzott
  2007-09-20 15:27 ` Alexander E. Patrakov
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Matthias Schwarzott @ 2007-09-20 15:16 UTC (permalink / raw)
  To: linux-hotplug

Hi there!
Playing around with rules I stepped over a strange thing.

I played with device-mapper rules, but the bug is about general symlink 
handling.

1. My rules did set this:
NAME="dm-0", SYMLINK="mapper/main-slash"
That results in /dev/dm-0 being a device-node and /dev/mapper/main-slash is a 
symlink to it.

2. Swapping NAME and SYMLINK
NAME="mapper/main-slash", SYMLINK="dm-0"
and running udevtrigger changes dm-0 to be a symlink to correct target.
BUT: It changes mapper/main-slash to be a symlink to itself.

Calling udevtrigger a second time will correct symlink.

Matthias
-- 
Matthias Schwarzott (zzam)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-09-20 21:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 15:16 Wrong symlink handling on rule changes Matthias Schwarzott
2007-09-20 15:27 ` Alexander E. Patrakov
2007-09-20 15:35 ` Matthias Schwarzott
2007-09-20 15:40 ` Kay Sievers
2007-09-20 16:10 ` Matthias Schwarzott
2007-09-20 17:10 ` Kay Sievers
2007-09-20 17:43 ` Kay Sievers
2007-09-20 21:07 ` Matthias Schwarzott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).