DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st December 2019
comet--berkeley comet--berkeley is offline
Real Name: Richard
Package Pilot
 
Join Date: Apr 2009
Location: California
Posts: 163
Default Linux 5.4 new y2k38 message on filesystem mount

I noticed this message in a recent Linux 5.4 system log after mounting an ext2 file system:

ext2 filesystem being mounted at / supports timestamps until 2038 (0x7fffffff)

The message warns that ext2 filesystems have traditional Unix 32-bit timestamps and will not save create/modify/access timestamps newer than 19 Jan 2038.

Something like this could also be in BSD kernels to warn about ufs1 file systems.
Ufs2 file sytems are ok.
__________________
When you see a good move, look for a better one.
--Lasker
Reply With Quote
  #2   (View Single Post)  
Old 21st December 2019
victorvas victorvas is offline
Real Name: Victor
Linux
 
Join Date: May 2019
Posts: 148
Default

What about OpenBSD's FFS, did they fix 2038 issue in it?
Reply With Quote
  #3   (View Single Post)  
Old 21st December 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

Yes, back in 2014.
Reply With Quote
  #4   (View Single Post)  
Old 21st December 2019
comet--berkeley comet--berkeley is offline
Real Name: Richard
Package Pilot
 
Join Date: Apr 2009
Location: California
Posts: 163
Default

Quote:
Originally Posted by victorvas View Post
What about OpenBSD's FFS, did they fix 2038 issue in it?
No, FFS (ufs) is not fixed. FFS2 (ufs2) is fixed but not FFS...

Linux now reports OpenBSD FFS (ufs) systems just like ext2 systems:

ufs filesystem being mounted at /obsd supports timestamps until 2038 (0x7fffffff)

(To get this message on Linux the disk needs to be mounted R/W which requires
the kernel to contain CONFIG_UFS_FS_WRITE=y )

Here is a OpenBSD script to show the issue with timestamps:
Code:
#! /bin/sh
set -x
touch -t 203801181234 y2k38-test1
ls -lT                y2k38-test1
touch -t 203901201234 y2k38-test2
ls -lT                y2k38-test2
__________________
When you see a good move, look for a better one.
--Lasker
Reply With Quote
  #5   (View Single Post)  
Old 21st December 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

My apologies, the fix in 2014 was to time_t and its ABIs, not to the filesystem. Thank you comet--berkeley.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount encrypted disk under Linux? beavers OpenBSD General 1 13th May 2019 10:44 PM
Ars walkthrough: Using the ZFS next-gen filesystem on Linux J65nko News 0 25th February 2014 12:29 AM
Barti asked about Linux filesystem commands on OpenBSD jggimi OpenBSD General 0 17th July 2012 04:34 PM
mount ufs from linux kanonmat FreeBSD General 8 2nd December 2008 06:13 AM
Mount filesystem with a regular user ivanatora FreeBSD General 15 30th July 2008 08:51 AM


All times are GMT. The time now is 08:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick