Software :: Get File Creation Time (Ext4, Ntfs-3g)?
Jun 14, 2010
I know newer filesystems support crtime values, even to nanoseconds granularity. Ext4 does it, and NTFS mounted via ntfs-3g should expose it. Still, what is the command to get these values??
getfattr -d <some file>
gives me zero results, and as far as I know ls does not have means to access creation time.
getfattr -n ntfs_crtime /mnt/<some ntfs fs> gives me "Operation not opermitted"..?
I know about the difference between ctime=inode change time and crtime=creation time/file birth time. I want to migrate a NTFS partition to Ext4 without losing the creation dates...
View 10 Replies
ADVERTISEMENT
Feb 11, 2011
I have a Dell Mini 9 netbook. The SSD took a dump, so I ordered a Super Talent 16gb replacement. I put it in yesterday, tried to install 10.10 and constantly get errors. The first error, which I haven't had since, was [ERROR 30] Read-only File System. The install obviously failed. Wondering if perhaps the file got messed up in translation, I redownloaded 10.10, reformatted the flash drive (sandisk cruizer 4gb), put 10.10 back on via the program on the Ubuntu site. No luck, but no longer the [error 30]. Tried again using Unetbootin, no luck. Rinse repeat a few times, no errors just a working cursor spinning and spinning and spinning and spinning and.. you get it.
Tried to put WinXP on it just because I was that frustrated, no luck.
Now I'm back to Ubuntu (because let's face it, who wants to deal with Windows, christ they make it so complicated). I'm currently using 10.04 because I was hoping (praying) it might just be a 10.10 thing.
No such luck, now it goes to step 7/7, starts, and 5% of the way thry "creating ext4 file system" it says "the ext4 file system creation in partition #1 (0,0,0)(sda) failed." I have checked the SSD in the Disk Utility, SMART tests are clean. I have gone to terminal and run fdisk and had a smarter person than me look at the copypasta, no errors, I have deleted all existing partitions in gparted and started fresh. I have tried the auto partitioning, I have tried manual, I am going insane. Literally insane. My preschooler thinks I've leaped off the deep end.
Could it be my flash drive? Could the SSD be defective despite the tests coming back clean? What do I need to type into terminal? Is there a way to entirely entirely entirely wipe the SSD to make it fresh-out-the-box clean? I will happily provide whatever you need if it means I can get my husband off my back about this stupid netbook with its stupid tiny keyboard.
View 1 Replies
View Related
May 14, 2010
I can't seem to get past step 6 of he installation of Ubuntu 10.04. I get the error: The ext4 file system creation failed... on single partition (no raid). I chose ' / ' as the mount point, and have tried with and without a swap drive. I'm installing on a Sony VAIO VGN-NS160D, and the HDD was previously formatted to NTFS. There's no other OS so I don't see any way of getting a command line to try a sudo fdisk..
View 1 Replies
View Related
May 15, 2011
When reinstalling ubuntu 10.04, I get an error message that reads "the ext4 file system creation in partition #1 of SCSI3 (0,0,0) (sda) failled.
View 1 Replies
View Related
Nov 23, 2010
I want to extract the file creation time. How to get it. I am using fedora core 4
View 3 Replies
View Related
Nov 19, 2010
How I can tell tar to assign a new creation date to extracted files? Let's say I have an archive filled with old files of varying ages. Upon extraction I want all files to have the same time stamp (that of the time of the extraction).
View 1 Replies
View Related
Aug 2, 2010
I was wondering if there is a command to show a real-time creation of files. I basically executed a command that will created thousands of files and takes a long time. I want to check if it is still creating additional files or if ti got frozen.
View 3 Replies
View Related
Jul 4, 2011
I am trying to move over 1 Terrabyte of files from a two terrabyte drive into my Ext4 drive where Ubuntu 11.04 is installed. The two terrabyte drive is where my winxp used to be and it's currently paritioned into three partitions. I would like to reformat into a single partition that's why I'm moving the files.
When moving the files from the 2Terrabye NTFS partition into the Ext4 partitioned drive, the best transfer rate I could get is 11 megabytes per second. When I transfer from one NTFS drive to another NTFS drive, I could get as high as 70megabytes per second in WinXP. Is there a way to speed up the speed transfer?
Otherwise, the file transfer dialogue says it would take 26 hours to move all the files!!!
Edit: both drives are internal drives connected via a sata II.
View 3 Replies
View Related
Sep 29, 2010
So I've got a 500gb ext4 formatted drive I use for backup, and I'm trying save my personal files from my laptop's hard drive (the laptop power supply just died) but whenever I try to copy+paste something from the NTFS laptop drive to the ext4 drive, nautilus freezes up, and suddenly both of my CPU cores hit 100% and Ubuntu is using 1.6GB of RAM, from like 200MB when it's idle.
I'm using 10.04
Pentium D 2.4Ghz Dual
2GB RAM
The laptop drive is a 5000RPM 250GB Sata, NTFS partition is 125GBThe backup drive is a 7200RPM 500GB Sata, ext4 partition is 500GB
View 9 Replies
View Related
Jun 19, 2011
Under a Linux shell, how can I change the creation time of all a folder's files to the current time?
View 2 Replies
View Related
Apr 4, 2010
I have a text file from which i read a number of names with their lengths at the run-time.Now i want to created a char array having the length and name as already read from the text file at the run-time. There is no compilation involved. Every thing is happening at the run-time. I tried using STL like map along with malloc but i am unable to name an array at run-time. I can keep some type of mapping with previously created arrays
View 3 Replies
View Related
Mar 22, 2010
Scenario: ( in C++ code)
I need a process A to be able to get the start time of process B. I have the PID of the process B.
I would have thought there would be a simple system call to make by passing in the pid of Process B, but I don't thing there is??!!
So my other thought is to create a script that will be passed the pid and either I can read the file creation of /proc/<PID>/stat or I could also parse the start time of ps on the <PID>. This script can be ran from the C++ code. My difficulty is capturing this information in the C++ code. If I run exec ( or system if not a script) I need the results in a program variable....not stdout.
My only solution is write it to a tmp file and read it back into the program variable. Seems rather arguious but a least it would work.
Background - I need to port Windows code ( GetProcessTimes(creationtime,...))
View 4 Replies
View Related
Nov 14, 2010
I really need to be able to sort the directories on some of my disks - not just sort the display of them, but actually sort the contents. I remember the old Norton DS.EXE that did it back in FAT16 days before long filenames, and after some googling, I found fatsort is in the repositories, but that doesn't do NTFS or ext4...
Ubuntu preferable (obviously, since I would really like to sort some things in my ext4 partitions), but if anyone knows a Windoze program that can at least do the NTFS partitions, that will be a start... Of course, I could get a new HDD, manually create all the folders in order, and copy the files one-by-one in order, but I don't have that level of patience!
View 2 Replies
View Related
Jun 14, 2010
I have 2 ntfs partition and want to convert them to ext4. Is there a way that do this conversion without losing my data?
View 9 Replies
View Related
Jul 7, 2010
Code...
But I want to get the files in order which they created like file, file1 and file2
Any way to obtain this?
View 6 Replies
View Related
Aug 2, 2010
I would like to format my current NTFS drive to EXT4. I've searched and found there are two commands to do this, mkfs or mke2fs.
What are the proper steps to do format an NTFS to EXT4 ?
If you recommend EXT3 over 4,
View 4 Replies
View Related
Aug 19, 2010
I have a dual boot system with Ubuntu Lucid and Windows 7 Ultimate 32bit on a 320 GB hard drive. During the last month, I've completely moved from Windows to Ubuntu but I have to keep Windows for a few softwares like ooVoo and Office, especially OneNote. But now 105 GB for windows and 50 GB for Ubuntu doesn't seems right, as I can't copy any more files on my Desktop in Ubuntu, because it's full. I was just wondering if it's possible to resize the NTFS partition and add like 50GB or so to the ext4 partition which is my Linux's root. The NTFS drive is on /dev/sda5 and the ext4 one is on /dev/sda7.
View 4 Replies
View Related
Apr 15, 2010
How do you format an external harddrive to ext4 or ntfs?
View 5 Replies
View Related
Jun 29, 2011
i wanted to change the format of my backup drive from ext4 to ntfs. what i thought would be possible without erasing the data, was simply done by formating the drive. but because this took only 6 sec, i have still hope that my data was not completely destroyed. are there any possibilities that i get my data back? i unmounted the drive afterwards and did not write anything to it.
View 2 Replies
View Related
Jan 8, 2011
When I am creating a user (say sandy) on my FC14 system, I find that the default permissions for her home directory (/home/sandy) are 700.Can I somehow set up my system so that these permissions are 711 in place of 700.
View 3 Replies
View Related
Jun 12, 2011
I have just purchased a 2TB drive for my server and I was trying to get an idea of the differences between these file systems or other file systems out there. What is the amount of space after formatting for ext4, ext3, and ntfs?
View 4 Replies
View Related
Sep 8, 2010
I have nearly 200GB of space free on the HD with my linux main EXT4 partition, and I'm wondering if I can convert a large part of this to a new NTFS partition that I can use for my windows XP paralell install?
Basically, what do I have to do to resize and create the new partition and how do I get windows to recognize it?
View 5 Replies
View Related
Apr 27, 2011
I have one computer with windows and one with ubuntu. I have an external drive (FAT32) with files taken from an NTFS (mp3s and such) and I would like to put them and use them on an ext4 ubuntu platform. Can I make a partition of the /home folder NTFS and the system ext4 and function properly? I do have configuration files in the /home folder since Im building a domain controller that utilizes samba on ubuntu: would I be better off using a dual boot with windows/ubuntu and placing the files on the Windows partition? what is my best option?>
View 9 Replies
View Related
Jan 28, 2010
I just ruined my /ntfs partition. I used the mkfs command and stopped it by ^C immidiately, but it was too late. mkfs.ext4 /dev/sdb1
Is there a way to recover NTFS partition now ? The partition </dev/sdb1> was 'ntfs' and mkfs.ext4 did not check if it was a ext4 or give any pre-check warning, just went ahead with making the ext4 fs on a ntfs partition.
View 6 Replies
View Related
Jul 12, 2011
i 've been using fedora 14,15 for like few months and i still have a 4GB NTFS partition win XP pro.i have installed fedora in about like 20gb for root and home ext4.i rarely use win xp nowadays (once in a week) considering i was using windows for like years.i have a commondata partition of about 130GB NTFS.i now dont want to use the windows and i want to convert the 130GB NTFS to ext4, but i am worried that if somehow at some point i crash my partition tables and i was using ext4 i wouldn't be able to recover the data as easily as i would in a windows.i want to know whether there is a reliable ext4 data recovery tool for fedora?igoogled and i found this link .. if any of you guys have used these tools can you share the experiences ?Mondo RescueTestDisk safecopy PhotoRecddrescue
View 4 Replies
View Related
Sep 27, 2010
Just installed opensuse 11.3 Kdeversion on my laptop. Before installing it on live mode i had a problem of accessing my other drives (NTFS, FAT32 and EXT4) which said HAL system policy...etc mounting error. I could access all drives with root privilege. I thought problem will be solver once i install opensuse on my system. How ever i was really disappointed after seeing the same problem post install. Googled around for the solution and got this link
[Code]...
After this the problem got worse now i am not able to see any of the drives in the side panel. Gone through many forum and posts all discuss about external USB HDD.
View 9 Replies
View Related
Jan 14, 2011
I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted
63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main
[Code]...
View 4 Replies
View Related
Nov 17, 2010
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
View 1 Replies
View Related
Dec 28, 2010
Each time I start my Ubuntu 10.10, I notice this messages in dmesg:
[Code]...
Each time the inode number is different. I made SMART tests on the disk, and all went fine. Do I have to worry? Could it be something related to a wrong shutdown? Update: I have just ran an fsck at boot, but when I logged in, the same orphan_cleanup was in dmesg.
View 2 Replies
View Related
Apr 20, 2010
telling me if this behavior of my openSuSE 11.2 installation is normal? I use a 64-Bit openSuSE 11.2 with kernel 2.6.31.x with root partition ext4. After adding and updating from repository kernel:/HEAD/etc to 2.6.34-rc4 I can not boot anymore due to a lack of module ext4. I thought today ext4 is stable and fix built-in in the actual kernel releases, isn't it? The error message at boot time: FATAL: Module ext4 not found. Which is right because in /lib/modules/<kernelversion>/kernel/ there is NO 'fs' subfolder. Isn't the kernel:/HEAD/ repository the official update path to get a newer major kernel? (besides openSuSE's Updates for security reasons) Do you know how I can fix it without self-compiling?
View 5 Replies
View Related