"Joakim Rosqvist (JRO.SE)" <[EMAIL PROTECTED]> writes:

>> Also, what would ls show for files that are neither regular files nor
>> symlinks?  E.g., what "size" would it show for character devices?
>
> For now, it will be a zero (which is what ls -s also shows), as that is
> what the size field of the inode gives.

They should be different things; one depends on st_blocks, the other
on st_size.  POSIX says that st_size has an undefined value for
everything other than regular files and symlinks.

"Joakim Rosqvist (JRO.SE)" <[EMAIL PROTECTED]> writes:

> Showing major/minor-numbers is an interesting idea ("show what ls -l
> would have shown").

This sounds a bit too much like creeping featurism.  How about if we
just add a more-general argument that lets you specify the desired
output fields, as a format string?  That's in the TODO list.  It would
solve your problem, no?


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to