General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
Mental Outlaw
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "0 Size Files and How Metadata is Stored" video.
“Make a sentence with “metadata”.” “I never metadata I didn’t like.”
32
2:31 “touch” is the standard command-line tool for fiddling file timestamps.
15
No need to allocate any data clusters if the data is zero-length. Just the inode would be enough.
3
Try “ls -lA «dir»” to check that it really is empty.
3
Because GUI file managers are all different, whereas du will always work the same.
2
No, the “size on disk” would include whole space units that are allocated to the file, even if only part of the last one is used. The “-s” option in the ls command shows the allocated size. For example, see this listing: ldo@theon:github.com∕imageio> ls -ls imageio-ffmpeg/imageio_ffmpeg/ total 48 4 drwxr-xr-x 2 ldo users 4096 Jan 12 21:49 binaries 4 rw-r--r- 1 ldo users 1420 Jan 12 21:49 _definitions.py 4 rw-r--r- 1 ldo users 227 Jan 12 21:49 __init__.py 24 rw-r--r- 1 ldo users 21515 Jan 12 21:49 _io.py 8 rw-r--r- 1 ldo users 5870 Jan 12 21:49 _parsing.py 4 rw-r--r- 1 ldo users 3085 Jan 12 21:49 _utils.py You can tell from there that the filesystem is allocating space in units of 4096 bytes.
1