Re: Symlink to a long filename "filename too long" error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 10, 2012 at 09:34:06AM -0700, Marc MERLIN wrote:
> Due to some filesystem corruption on my source device, I had a very long file as a symlink
> target that btrfs wasn't able to recreate.
> Mind you, in this case it's clearly not something I need, but is it
> expected/known that ext4 can store longer filenames than btrfs?

Btrfs can store symlink targets up to it's inline limit, 3917. xfs has
this limit hardcoded as 1024. ext4 has fast and non-fast symlink
storage, based on the target length, so it's able to store the maximum
PATH_MAX size into a full block for the non-fast case.

david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux