Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: hiro on March 15, 2013, 08:48:49 AM

Title: requesting stat command
Post by: hiro on March 15, 2013, 08:48:49 AM
I think stat should be in tinycore base, does it not exist in busybox?
Title: Re: requesting stat command
Post by: tinypoodle on March 15, 2013, 09:28:29 AM
+1
(it does)
Title: Re: requesting stat command
Post by: bmarkus on March 15, 2013, 10:09:26 AM
You can always find something not in base but usually in other distros so you think it is essential. You can always add them installing a proper extension. In case of stat

coreutils.tcz

Keep Core slim, do not bloat it.
Title: Re: requesting stat command
Post by: hiro on March 15, 2013, 10:42:40 AM
is the busybox version of stat bloated?

I'm now using ls -lc for what I wanted to use stat for. I agree there might not be a need for stat after all. Perhaps someone else would tell a reason to consider having it at all. Tinypoodle?
Title: Re: requesting stat command
Post by: tinypoodle on March 15, 2013, 11:05:31 AM
A need for stat could come up at any moment, at least for me that seems to be so.

I use the static busybox binary (built with make defconfig) as provided upstream, which is less than half the size of the coreutils.tcz extensions and about 30% of it when squashed, to keep bloat in limits ;)
Title: Re: requesting stat command
Post by: bmarkus on March 15, 2013, 11:16:17 AM
A need for stat could come up at any moment, at least for me that seems to be so.

I use the static busybox binary (built with make defconfig) as provided upstream, which is less than half the size of the coreutils.tcz extensions and about 30% of it when squashed, to keep bloat in limits ;)

I have never used stat in the last 10 years and I dio not miss it.

You can always find something you need and not is in the base, like 'ed'. My view is that Core itself has all necessary tools and you can always add missing one from the repo or build it yporself or submit as an extension. It is the beauty of Core.
Title: Re: requesting stat command
Post by: hiro on March 15, 2013, 11:17:02 AM
@tinypoodle well, tell me anything you're using stat for that ls -l[ctu] couldn't do?
Title: Re: requesting stat command
Post by: tinypoodle on March 15, 2013, 11:41:46 AM
There are many options when a file or filesystem requires examination, and also ls doesn't examine filesystems.