LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2024, 06:10 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,708

Rep: Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898Reputation: 5898

Not seeing birth date over sshfs is because sftp does not have the capability. sshfs is technically not a filesystem.
 
Old 03-27-2024, 09:43 PM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Short answer is that only some Linux filesystems even have that field AND only some tools(!) have been amended to read/write it - or not ...


A classic real world example of the acronym YMMV
 
Old 03-28-2024, 01:35 AM   #18
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
I just ran stat on a file and got this weird result:
Code:
$ stat images/buttonbar.gif
  File: images/buttonbar.gif
  Size: 4568            Blocks: 16         IO Block: 4096   regular file
Device: 8,3     Inode: 130396      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/   hazel)   Gid: (  100/   users)
Access: 2024-03-28 06:04:20.479987736 +0000
Modify: 2014-01-03 16:35:02.000000000 +0000
Change: 2023-10-26 06:44:21.812929003 +0100
 Birth: 2023-10-26 06:44:21.811929003 +0100
As you can see, there is a Birth date given but it's a really silly one. Compare it with the Modify date, which looks appropriate to me.
 
Old 03-28-2024, 01:59 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
there was a link in post #9. It is practically useless, not in use, not supported everywhere and also in most cases meaningless.
 
Old 03-28-2024, 09:58 AM   #20
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,632

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
The truth is that NO system can tell you the birth time of a file, they can only report the data field as stored in the metadata for that file. The file metadata can be, and often is, wrong. We have tools to manipulate it if we want to MAKE it wrong. Why would you trust that?
 
Old 03-28-2024, 11:38 AM   #21
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,602

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
Originally Posted by hazel View Post
As you can see, there is a Birth date given but it's a really silly one. Compare it with the Modify date, which looks appropriate to me.
It's not "really silly", it's potentially useful information.

It tells you the file arrived on your system a few months back, but the data within the file probably has not been modified for a decade.

Yes, both of those values can be spoofed, but have they been? If you haven't done it yourself, and your system hasn't been compromised, how likely is it...?

 
Old 03-28-2024, 11:48 AM   #22
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by boughtonp View Post
It's not "really silly", it's potentially useful information.

It tells you the file arrived on your system a few months back, but the data within the file probably has not been modified for a decade.
The problem is that you will never know the truth. I mean why is it set, how is it set and when was it set.
 
Old 03-28-2024, 12:47 PM   #23
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Quote:
Originally Posted by boughtonp View Post
It's not "really silly", it's potentially useful information.
It tells you the file arrived on your system a few months back, but the data within the file probably has not been modified for a decade.
Would that be when I transferred my data from the old hard drive to the new one?
 
Old 03-28-2024, 02:19 PM   #24
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,632

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by hazel View Post
Would that be when I transferred my data from the old hard drive to the new one?
Possibly. Depending upon how you did it and what might have smudged the metadata for that file since then.

Personally, I keep a continuity document for each of my servers recording the hardware configuration, firmware level, significant changes and the dates of those changes, major software configurations and change dates. For a change I do a change document with reasons, expected benefits, expected behavior, test plan, and a backout plan in case things go south. (For trivial change this is a couple of paragraphs, for major changes 9rare, very rare) it can be 5 or 6 pages.

These are well practiced and less involved then the Official ones I learned to do for the companies I worked for. Those took approvals form another sysadmin, a supervisor, an operations of client supervisor, and were 5 to 12 pages EVERY DANG TIME! Yeah, I do not run anything that requires that much headache at home.

The thing is that the machine can be wrong, it can lie, but I have a journal where I can look it up if it really matters. That has literally saved lives (and my job) on occasion, and made recovery from failures of home hardware just frustrating instead of impossible.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is there a special reason why Patrick's mkinitrd script now recommends 2 crc32 modules? hazel Slackware 4 11-21-2021 06:40 PM
Passwd command is showing "BAD PASSWORD:" as output but there was nothing after the colon, where there should be some reason output. yogesh95 Linux - Software 4 03-31-2016 07:50 AM
Print problem in xfce: can't print generally, but in openoffice wingevil Slackware 2 05-11-2009 02:35 PM
LXer: A Microsoft Slur in the OOXML Saga -- Did I Tell You or Did I Tell You? - Updat LXer Syndicated Linux News 0 03-20-2008 01:10 PM
can you tell me what operting system the best for what i tell you here ? thanks SlackwareMan Linux - General 5 07-27-2004 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration