> ----------
> From: Donncha O Caoimh[SMTP:donncha.ocaoimh at tradesignals.com]
> Sent: 11 June 1999 14:44
> To: ilug at linux.ie> Subject: [ILUG] bug in mv and/or ln
>> Try this in Linux:
>> create a soft link to a directory,
> ln -s directory link
>> now, do the following:
> mv directory directory
>> Watch what happens. The "directory" link disappears. A bug?
>[root at nldbd test]# mkdir directory
[root at nldbd test]# ls
directory
[root at nldbd test]# cd directory/
[root at nldbd directory]# ls
[root at nldbd directory]# cd ..
[root at nldbd test]# ls
directory
[root at nldbd test]# mv directory/ directory/
mv: cannot move `directory' to `directory/directory': Invalid argument
[root at nldbd test]# rpm -qf /bin/mv
fileutils-3.16-10
[root at nldbd test]#
so you've got an old mv. but the symlink still shouldn't disapear, should
it? What kernel version is it? let me guess, an older 2.0?
> Donncha.
>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> information.
> List maintainer: listmaster at linux.ie>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!