• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

How can data a directory can hold

just created a new dir /data/test/test1
when i did ls-alg
i can see 256 april 04 test1
but when i open test1 i see some files 35678 in there so just want to know how much size can test1 hold?
  • 2
1 Solution
Kent OlsenData Warehouse Architect / DBACommented:
Hi sam,

What you're seeing is the size of the catalog entry of the directory.   If you will, that's the size of the entry in the files "database".  That has nothing to do with the size of the files in the directory.

The directory is limited only by the physical size of the volume, or whatever limits the host O/S software will let you impose.

sam2929Author Commented:
If you will, that's the size of the entry in the files "database".
How can i see that?
Kent OlsenData Warehouse Architect / DBACommented:
See what?  The entry?  It's essentially the data that the stat() function returns to a C program.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now