summaryrefslogtreecommitdiff
path: root/libsysfs
diff options
context:
space:
mode:
authorazarah@nosferatu.za.org <azarah@nosferatu.za.org>2003-12-30 01:33:35 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:12 -0700
commit3f09184b43dfd8b27fb05786a789f392de18bfca (patch)
treef8455b8c75f83cc31778a321688f59609a640899 /libsysfs
parent13148857cb880c421711db60ad1785ed8e373906 (diff)
[PATCH] make symlink work properly if there is already a file in its place
If a file that is not a symlink (node, socket, fifo, etc) already exist where udev need to create a symlink, symlink() fails. This patch basically test for an existing file, and unlink it.
Diffstat (limited to 'libsysfs')
0 files changed, 0 insertions, 0 deletions