Re: SIze of a file shows 124 GB while available size is less than 16 GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> [2015-01-21T14:37:39+0530]: "manty kuma" (manty-kuma):
,----[ manty-kuma ]
| There is a file that I generated which is showing 124 GB(ls -l) size.
| Whereas the actual available memory on the partition is less than 16 GB.
`----
sparse file probably, for example, create a 10T file:

,----[ ]
| anupam@fatcat quick-hacks % dd if=/dev/zero of=a-large-sparse-file bs=1024k count=0 seek=10485760
| 0+0 records in
| 0+0 records out
| 0 bytes (0 B) copied, 5.8346e-05 s, 0.0 kB/s
| anupam@fatcat quick-hacks % ls -lh a-large-sparse-file
| -rw-r--r-- 1 anupam users 10T Jan 21 14:49 a-large-sparse-file
| anupam@fatcat quick-hacks % 
`----


---
thanks
anupam

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux