Tag Info

Hot answers tagged

5

Note although the system call is called truncate, it actually is better interpreted as saying "Make my file report this many bytes in size". As per the system call manpage: The truncate() and ftruncate() functions cause the regular file named by path or referenced by fd to be truncated to a size of precisely length bytes. If the file previously was ...


3

When deleting a file, the ext3 filesystem will actually zero out the block pointers in the inode. The larger the file, the more blocks, and the more block pointers, thus the delete operation takes longer on larger files than smaller ones. This is different behavior than both ext2, which merely zeroes out the inode and leaves the blocks containing the block ...


2

Unfortunately not, you cannot reformat an entire RAID array without losing data. You will need to move the data elsewhere and then reformat to your chosen file system.


2

You can't split a filesystem between multiple block devices (i.e. disks or partitions), but you can use technologies like RAID or LVM to combine multiple block devices into a larger virtual block device that can be the basis for a large filesystem. RAID in particular is commonly used to build very large disk arrays — think racks and racks of hard drives all ...


1

mhddfs should do the trick - does a fairly naive load balance (prefers disks in order, unless less free space is available than a set limit - then it picks the one with the most space), works across multiple disks and filesystems, and if you lose a drive, you only lose the data on it. The moment you have volumes that big though... you have bigger issues.


1

User account names can be changed, but the user profile folders cannot be changed. The only solution is to delete both accounts and profiles and start over.


1

Source How the System account is used in Windows The system account and the administrator account (Administrators group) have the same file privileges, but they have different functions. The system account is used by the operating system and by services that run under Windows. There are many services and processes within Windows that need ...


1

WinRAR has a right-click menu command called "extract each archive to separate folder". Select all zip files and right click on any one of them to get this option.


1

Yet another tool: https://github.com/yankee42/java-file-change-watcher Advantages: Platform independent (Java), small (10KB). Disclaimer: I am the author


1

Say a I have a secondary hard drive that has been defragged and optimized so that the data is a nice neat continuous block with no missing spaces/clusters. Like a solid brick wall. --> Imagine this picture like this for file system storage: [(data1)(data1)(data2)(data2)(data3)(data3)(data4)(data4)(data5)(data6)(empty)(data7)] Each one of the items in (..) ...


1

rsync is a good tool you might want to use to recursively copy a directory to another. When rsync -a Dir1/ Dir2 encounters files with the same names, it unlinks* the file first, copies to a temporary file, and renames the file to the original name. If it is interrupted, you don't lose any files that you wouldn't have lost if the command has finished. Just ...


1

Mount the drive somewhere else (you already did this), move the data to it, then remount the drive at its intended location.


1

The problem is that you refer to the mountpoint instead of the device file. /mnt/sdb is the place where the usb stick is mounted, not the stick itself. Use that command instead: dd if=Ubuntu.iso of=/dev/sdb /dev/sdb is a block special device file. It is a device represented as a file in linux and it refers to the physical device attached to it. On the ...



Only top voted, non community-wiki answers of a minimum length are eligible