![]() |
|
Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
There is a critical UFS filesystem bug in that started with Linux 4.8.4 and exists in kernel 4.9.30 and below as well as 4.11.3 and below.
Files larger than 2 GibiBytes (2GB) copied from a UFS filesystem are quietly chopped down to a maximum of 2GB. Please upgrade to at least Linux 4.9.31 or Linux 4.11.4 which are now available. https://www.kernel.org/ Here is the patch: Code:
--- a/fs/ufs/super.c.orig 2017-05-28 17:20:53.000000000 -0700 +++ b/fs/ufs/super.c 2017-06-03 17:08:33.340100262 -0700 @@ -812,9 +812,8 @@ static int ufs_fill_super(struct super_b uspi->s_dirblksize = UFS_SECTOR_SIZE; super_block_offset=UFS_SBLOCK; - /* Keep 2Gig file limit. Some UFS variants need to override - this but as I don't know which I'll let those in the know loosen - the rules */ + sb->s_maxbytes = MAX_LFS_FILESIZE; + switch (sbi->s_mount_opt & UFS_MOUNT_UFSTYPE) { case UFS_MOUNT_UFSTYPE_44BSD: UFSD("ufstype=44bsd\n");
__________________
When you see a good move, look for a better one. --Lasker Last edited by comet--berkeley; 9th June 2017 at 04:26 AM. Reason: show the patch |
|
|||
![]()
This should be now fixed in Linux 4.4.73, 4.9.33, 4.11.6 and 4.12
__________________
When you see a good move, look for a better one. --Lasker |
![]() |
Tags |
copy, kernel, linux, ufs |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removal of Loadable Kernel Modules and Custom Kernels | shep | OpenBSD Security | 5 | 19th March 2015 01:08 PM |
Vulnerability in recent Linux kernels offers root rights | J65nko | News | 1 | 28th February 2013 02:52 AM |
Create MS/XP file system so it will be recognized on a XP system. | FBSD | Guides | 0 | 1st May 2010 06:49 AM |
Constant Kernel Panics, Corupted file system reboots over and over | pseudonym | FreeBSD General | 24 | 14th July 2008 03:12 AM |
Which file system use to share data on Bsd system? | aleunix | Other BSD and UNIX/UNIX-like | 2 | 1st June 2008 04:14 PM |