Hello,
I registered and recreated this thread because everywhere we can see "It's not possible to get the file creation time in UNIX fs". This is not true any more with Ext4! Unfortunately, there is not user-level tools that allow you to read those information. You have to use a low level tool with root privileges to read the inode info:
NOTE: Don't forget to change the path to the file and the disk device.
You will get something like this:
Reference: flyingunix DOT blogspot DOT com/2010/07/creation-time-in-unix-yes-in-ext4.html
i have to delete some files that were created on a particular date. is there any way to do that without affecting the files that were modified on the same date? (1 Reply)
Hi,
I need the unix command which returns only the file name and its creation date/time in unix.
I tried ls -l <filename>. But that is giving other details also which I do not want.
Could anyone help me out?
Thanks. (6 Replies)
Hi All,
Cany any one help me in solving this..
Problem statement: I have a requirement to find the time from which there are no files created in a given directory. For this I am assuming that I need to get the file creation time in seconds, then the current time in seconds using `date +%s`.... (7 Replies)
Hello folks,
I have a file, but it change every seconds, i use stats command to check its creation time, but it shows access,modify and change time same. Is there any other way to see the file creation date/time?
Thanks (2 Replies)
Hi Everybody,
I would like to know file creation date and time in linux. I went throgh google and forums got some information but from that i am not sure for my question. Please check the following information.
"ls -l" ==> but it is just gives the last modified time and date of the file.... (2 Replies)
Hi All,
Can any one help how to long list today's files in unix.i.e files which are have been created today should be able to "ls -ltr" .I should be able to apply the "ls -ltr" command on today's files(should not include all the files which were there in the directory).
Thanks in advance!!! (3 Replies)
Hi ,
In a folder I have multiple files. I want total time taken to write those files. Can you please suggest what will be the best way to go for it? (2 Replies)
Hi Team,
Could you please let me know ,how to find the file creation date time in SFTP server.
i tred like , ls -ltr command only availble and not available like ls --full-time test.txt
please help?
Thanks (7 Replies)
Discussion started by: bmk123
7 Replies
LEARN ABOUT ULTRIX
disktab
disktab(5) File Formats Manual disktab(5)Name
disktab - disk description file
Syntax
#include <disktab.h>
Description
The file is a simple data base that describes disk geometries and disk partition characteristics. The format is patterned after the termi-
nal data base. Entries in consist of a number of fields separated by colons (:). The first entry for each disk gives the names that are
known for the disk, separated by vertical bars (|). The last name given should be a long name fully identifying the disk.
The following list indicates the normal values stored for each disk entry:
Name Type Description
ns num Number of sectors per track
nt num Number of tracks per cylinder
nc num Total number of cylinders on the disk
ba num Block size for partition `a' (bytes)
bd num Block size for partition `d' (bytes)
be num Block size for partition `e' (bytes)
bf num Block size for partition `f' (bytes)
bg num Block size for partition `g' (bytes)
bh num Block size for partition `h' (bytes)
fa num Fragment size for partition `a' (bytes)
fd num Fragment size for partition `d' (bytes)
fe num Fragment size for partition `e' (bytes)
ff num Fragment size for partition `f' (bytes)
fg num Fragment size for partition `g' (bytes)
fh num Fragment size for partition `h' (bytes)
pa num Size of partition `a' in sectors
pb num Size of partition `b' in sectors
pc num Size of partition `c' in sectors
pd num Size of partition `d' in sectors
pe num Size of partition `e' in sectors
pf num Size of partition `f' in sectors
pg num Size of partition `g' in sectors
ph num Size of partition `h' in sectors
se num Sector size in bytes
ty str Type of disk (e.g. removable, winchester)
The entries can be automatically generated with the program.
FilesSee Alsochpt(8), newfs(8)disktab(5)