diff options
author | azarah@nosferatu.za.org <azarah@nosferatu.za.org> | 2003-12-30 01:33:35 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:12 -0700 |
commit | 3f09184b43dfd8b27fb05786a789f392de18bfca (patch) | |
tree | f8455b8c75f83cc31778a321688f59609a640899 /libsysfs | |
parent | 13148857cb880c421711db60ad1785ed8e373906 (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