mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Can't link?
@ 2001-11-20  2:06 Ian Stirling
  2001-11-22 13:35 ` Colin Watson
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Stirling @ 2001-11-20  2:06 UTC (permalink / raw)
  To: linux-kernel

Rather odd thing happening right now, that I can't figure out.

Running 2.4.11 on a ext2 filesystem, with a couple of 40Gb drives, and 
some NFS mounts.

After reading man link, I tried the following in /

bash-2.03# >1 
bash-2.03# ls -l
total 0
-rw-r--r--   1 root     root            0 Nov 20 01:57 1
bash-2.03# ln 1 2
ln: cannot create hard link `2' to `1': No such file or directory

With strace:
stat("1", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lstat("2", 0xbffff824)                  = -1 ENOENT (No such file or directory)
lstat("2", 0xbffff824)                  = -1 ENOENT (No such file or directory)
link("1", "2")                          = -1 ENOENT (No such file or directory)

I tried this with root, as shown above, when I encountered bizarre problems
due to tin not being able to rename files.


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

end of thread, other threads:[~2001-11-22 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-20  2:06 Can't link? Ian Stirling
2001-11-22 13:35 ` Colin Watson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®