lkml.org 
[lkml]   [2014]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] affs: AFFS_NO_TRUNCATE added to Kconfig
On Mon, Mar 03, 2014 at 06:22:18PM +0800, Fabian Frederick wrote:
> Filename truncate process is defined in affs.h.
>
> This patch exports current define to Kconfig and removes
> AFFS_MAX_PREALLOC which is never used.
> +
> +config AFFS_NO_TRUNCATE
> + bool "Amiga FFS no filename truncate"
> + depends on AFFS_FS
> + default n
> + help
> + If you say Y here, creating filesystem objects with longer names than
> + 30 characters (standard limit) will result in an error (ENAMETOOLONG).
> +
> + By default this option is disabled and filenames are automatically
> + truncated.

I get the feeling this would be better as a mount option than a config option.
Then again, the number of people still caring about AFFS is probably in
single digits these days, so I doubt anyone would complain if this was set
one way or the other in a distribution kernel.

Dave



\
 
 \ /
  Last update: 2014-03-03 21:21    [W:0.035 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site