ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In command line (Terminology)and using enlightenment file manager in a window, nearly all directories are 4k. which is wrong and it seems to be effecting my ability to do basic copy functions in both.
Odder, Thunar file manager has no problem at all and gives all correct readings. I'm able to use it normally.
Never seen a windowed program do what CL would'nt. I do need the CL to work tho'.
ls -l gets this. Many gigs should be there and can be used but no correct sizings. 4096. every directory, but not the .deb. Missing dependency for directories?
drwxr-xr-x 4 barkester users 4096 Mar 20 03:33 'Calibre Library'
drwxr-xr-x 2 barkester users 4096 Mar 19 01:23 Desktop
drwxr-xr-x 2 barkester users 4096 Mar 18 12:52 Documents
drwxr-xr-x 5 barkester users 4096 Mar 20 04:26 Downloads
drwxr-xr-x 34 barkester users 4096 Mar 18 14:01 Music
drwxr-xr-x 2 barkester users 4096 Mar 20 04:26 Pictures
drwxr-xr-x 2 barkester users 4096 Mar 18 12:52 Public
drwxr-xr-x 2 barkester users 4096 Mar 18 12:52 Templates
drwxr-xr-x 3 barkester users 4096 Mar 19 01:22 Videos
-rw-r--r-- 1 barkester users 51549860 Mar 18 14:15 Yandex.deb
Next rung down in music, we find all but one directory with 4096b. The only directory properly listed is totally ununique other than the fact it's proper size comes up. However, the mother directory (music) still shows 4k. Spotty. Here's a small piece of it with the magic directory:
drwxrwxr-x 2 barkester users 12288 Mar 5 07:41 'VA - Drum & Bass, DubStep, Trap V.10 from AGR (2014) MP3, 320 kbps'
drwx------ 2 barkester users 4096 Mar 9 03:57 'VA - DubStep Pro v.19 from AGR (2013) MP3, 320 kbps'
drwxrwxr-x 6 barkester users 4096 Feb 1 2015 'VA - Ministry Of Sound - Fiesta Latin House Anthems (3CD) (2014) [320 kbps]'
drwxrwxr-x 2 barkester users 4096 Feb 23 2016 'VA - Ministry Of Sound : The Annual 2016 [2015] [MP3-VBR] [H4CKUS] [GloDLS]'
Countless other music directories also list 4096, but all can play.
My best guess is I need install another disc utility. I've already installed my fave, GParted, but haven't any of the others. The others may have dependency-like usage I'm unaware of and be needed. Clearly something is missing. What does a terminal use to get volume size info?
Thnx for any info. Pls b gentle. I'm an Arch virgin.
The 4096 figure is not the total size of all the content in the directory. It is the size of the data block(s) that contains the directory entries (each data block is normally a minimum size of 4096 bytes). As long as that data block has enough space to contain the directory entries then the figure remains at 4096.
The size shown for a directory is a function of the number of files it contains (contains directly, not including content of any subdirectories) and the lengths of their names. It is absolutely unrelated to the sizes of those files. That size will always be a multiple of the filesystem blocksize, here 4096. Also, a directory never shrinks. If it becomes enlarged because it contains a lot of files, perhaps with long names, it will retain that size when those files are deleted.
You can use the du command ("Disk Usage") to see the total space used by a directory's contents.
Thanks for that. The link was a help. Process of elimination right now.
Reckon I'll havta look elsewhere for that copy function tick. I'll retest and use a terminal I'm used to. Start over. Hopefully, that'll clear it up.
Currently, I'm studying from The Linux command Line, so even tho' I can easily copy using Thunar, I need to follow the lessons in CL only. Hit the copy commands and got stopped dead.
Like the rest of the world, I was hoping for an easy answer that didn't involve me doing much. Worth a shot. I'll do all the usual checks again now with a new terminal and go from there.
Still learning something, so no worries. Thnx for the blocks lesson. Didn't know ext. cared.
Mostly copying from a half trig portable and it was large files that enlightenment couldn't do. Was no way to copy my whole music file to the new OS using it or CL. I finally did it file at a time with Enlightenment which managed small ones all right before me getting fed up and trying Thunar.
I haven't had time to test Thunar and all the options in CL yet, but honestly, it looks like Enlightenment is just a bit buggy. Also, I may experiment with a different mounting point as I always mounted portables to root before (and did all their partitioning, etc.) and now its media. With no easy answers, I'll just havta go thru it all. Possibly its 2 small but unrelated problems confusingly appearing as one.
I'll have some better examples and hopefully a better answer example for this in a few days. Unrelated tasks await me first.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.