From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: linux-btrfs@vger.kernel.org
Subject: Symlinks' device numbers differ from regular files'
Date: Fri, 19 Nov 2010 00:54:23 +0100 [thread overview]
Message-ID: <20101118235423.GC12925@toke.dk> (raw)
[-- Attachment #1: Type: text/plain, Size: 907 bytes --]
Hi
I am having a problem with my btrfs partitions: symlinks are reported to
have different device numbers than directories and regular files, even
though they are on the same partition. This causes my backup software to
mess up backing up the symlinks.
An illustrative example:
$ touch tmp; ln -s tmp tmp2; stat tmp tmp2
File: `tmp'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 15h/21d Inode: 984027 Links: 1
--- snip ---
File: `tmp2' -> `tmp'
Size: 3 Blocks: 0 IO Block: 4096 symbolic link
Device: 13h/19d Inode: 984028 Links: 1
--- snip ---
$ uname -r
2.6.35-ck
I'm not using subvolumes, or any fancy features of btrfs, really. I'm
running Arch Linux.
Is this normal? And if not, how do I fix it?
Any help would be greatly appreciated. Thanks in advance.
Regards,
-Toke Høiland-Jørgensen
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next reply other threads:[~2010-11-18 23:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 23:54 Toke Høiland-Jørgensen [this message]
2010-11-19 2:05 ` Symlinks' device numbers differ from regular files' Li Zefan
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=20101118235423.GC12925@toke.dk \
--to=toke@toke.dk \
--cc=linux-btrfs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.