Re: df incorrectly handles volumes > 4TB

2005-01-20 Thread Joshua Hoblitt
I believe that "CONFIG_LPD" must be a typo as it doesn't exist as an option. The author probably meant "CONFIG_LBD", which enables large block device support. All of my systems are already built with 'CONFIG_LBD". I'm going to try posting this issue to the ext-users list. -J -- On Fri, 31 Dec 2

Re: version-etc.c and non-FSF copyrights

2005-01-20 Thread Paul Eggert
Simon Josefsson <[EMAIL PROTECTED]> writes: > How about this? > > 2005-01-20 Simon Josefsson <[EMAIL PROTECTED]> > > * version-etc-fsf.c: New file, with version_etc_copyright. > ... That looks good, thanks. I installed it into gnulib, along with this extra patch: 2005-01-20 Paul

Re: [anonymous] [bugs #11638] chmod and setgid bit

2005-01-20 Thread Andreas Schwab
Jim Meyering <[EMAIL PROTECTED]> writes: > I understand the reasons why you could have decided to remove the > setgid/setuid bit from an executable when it's changed mode or owner, since > this could grant privileges to users not allowed to have them. > But the setgid bit on directories has a very

Re: [bug-gnulib] new modules chdir-long, openat; also, save-cwd improvements

2005-01-20 Thread Paul Eggert
Jim Meyering <[EMAIL PROTECTED]> writes: > FYI, fchdir is used by fts.c, and hence by chmod, chgrp, chown, and du. > It's been in use like that (at least for du) for over a year - since 5.1.0. > No one has complained about link failures :-) In that case let's just rip out the claimed support for

[anonymous] [bugs #11638] chmod and setgid bit

2005-01-20 Thread Jim Meyering
[forwarding from savannah to bug-coreutils] --- Begin Message --- This is an automated notification sent by Savannah. It relates to: bugs #11638, project GNU Core Utilities == OVERVIEW of bugs #11638: ==

Re: ls display directory context?

2005-01-20 Thread P
Andreas Schwab wrote: Nic Ferrier <[EMAIL PROTECTED]> writes: I've considered the semantics of the --dircontext switch. I think what I actually want is ls to be able to acknowledge what directory I told is to look in. So if I say: ls --dircontext childdir it comes back with: childdir/a.txt chil

Re: ls display directory context?

2005-01-20 Thread Andreas Schwab
Nic Ferrier <[EMAIL PROTECTED]> writes: > I've considered the semantics of the --dircontext switch. I think what > I actually want is ls to be able to acknowledge what directory I told > is to look in. > > So if I say: > >ls --dircontext childdir > > it comes back with: > >childdir/a.txt c

Re: ls display directory context?

2005-01-20 Thread P
Nic Ferrier wrote: find childdir --max-depth=1 -type f \ -printf "%AY%Am%Ad%AH%AM %p\n" |\ sort -r | gawk '{print $2}' In general never use ls for scripts as it's designed for human interaction. Use find instead. For example ls can't handle the case where there are directo

Re: ls display directory context?

2005-01-20 Thread Nic Ferrier
[EMAIL PROTECTED] (James Youngman) writes: > On Thu, Jan 20, 2005 at 12:57:39AM +, Nic Ferrier wrote: > >> Is there any reason (apart from POSIX compliance) why ls cannot output >> file lists with the directory context attached to the file? >> >> For example: >> >> $ cd somedir >> $ ls

Re: ls display directory context?

2005-01-20 Thread James Youngman
On Thu, Jan 20, 2005 at 12:57:39AM +, Nic Ferrier wrote: > Is there any reason (apart from POSIX compliance) why ls cannot output > file lists with the directory context attached to the file? > > For example: > > $ cd somedir > $ ls --with-dir-ctx childdir > childdir/in.txt childdir/m

Re: ls display directory context?

2005-01-20 Thread Bob Proulx
Nic Ferrier wrote: > This is not so much a bug as a feature enquiry. Sorry about that, I > don't know who else to ask about this. This is a good forum for discussion of coreutils features. But we try to keep basic shell programming quesions in other forums such as the comp.unix.shell news group.