mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ian Stirling <root@mauve.demon.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Can't link?
Date: Tue, 20 Nov 2001 02:06:35 +0000 (GMT)	[thread overview]
Message-ID: <200111200206.CAA07946@mauve.demon.co.uk> (raw)

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.


             reply	other threads:[~2001-11-20  2:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-20  2:06 Ian Stirling [this message]
2001-11-22 13:35 ` Colin Watson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200111200206.CAA07946@mauve.demon.co.uk \
    --to=root@mauve.demon.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®