linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Symlinks' device numbers differ from regular files'
@ 2010-11-18 23:54 Toke Høiland-Jørgensen
  2010-11-19  2:05 ` Li Zefan
  0 siblings, 1 reply; 2+ messages in thread
From: Toke Høiland-Jørgensen @ 2010-11-18 23:54 UTC (permalink / raw)
  To: linux-btrfs

[-- 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 --]

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

end of thread, other threads:[~2010-11-19  2:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 23:54 Symlinks' device numbers differ from regular files' Toke Høiland-Jørgensen
2010-11-19  2:05 ` Li Zefan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).