Re: Really stupid use of cleanlinks

2003-08-14 Thread Colin Watson
On Wed, Aug 06, 2003 at 05:48:17PM +0100, Anthony Campbell wrote: > I do think the man file for cleanlinks should include a warning. Yeah, it probably should (I wrote it in a spare ten minutes or so some months back). File a bug against xutils. Cheers, -- Colin Watson

Re: Really stupid use of cleanlinks

2003-08-14 Thread Colin Watson
On Wed, Aug 06, 2003 at 02:24:50PM -0500, Michael D. Schleif wrote: > Also sprach Colin Watson (Wed 06 Aug 02003 at 07:21:57PM +0100): > > It's a utility to reverse the effects of lndir, which is mainly intended > > for building cheap copies of source trees. See their respective man > > pages. > >

Re: Really stupid use of cleanlinks

2003-08-14 Thread John Hasler
Colin Watson writes: > I wrote [cleanlinks] in a spare ten minutes or so some months back Did you intend it to remove all symlinks not pointing to ordinary files? -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: Really stupid use of cleanlinks

2003-08-14 Thread Michael D. Schleif
Also sprach Alan Shutko (Wed 06 Aug 02003 at 01:20:57PM -0500): > "Michael D. Schleif" <[EMAIL PROTECTED]> writes: > > ># Remove dangling symlinks and empty directories from a shadow link tree > ># (created with lndir). > > > What could be the purpose of this script? > > As described in

Re: Really stupid use of cleanlinks

2003-08-14 Thread Colin Watson
On Wed, Aug 06, 2003 at 12:48:11PM -0500, Michael D. Schleif wrote: > Actually, that script removes every symbolic link that does not test > successfully as a regular file. Yes, that test will follow the symbolic > link; but, it will only check whether or not the destination is a > regular file.

Re: Really stupid use of cleanlinks

2003-08-14 Thread Florian Ernst
On Wednesday 06 August 2003 19:50, John Hasler wrote: > Anthony Campbell writes: >> ...also removed /usr/bin/X11 which is a symlink to /usr/X11R6/bin >> and is pointed to by /etc/X11/X... > > That sounds like a bug. ...which I just reported: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=20436

Re: Really stupid use of cleanlinks

2003-08-14 Thread Michael D. Schleif
Also sprach Colin Watson (Wed 06 Aug 02003 at 07:21:57PM +0100): > On Wed, Aug 06, 2003 at 12:48:11PM -0500, Michael D. Schleif wrote: > > Actually, that script removes every symbolic link that does not test > > successfully as a regular file. Yes, that test will follow the symbolic > > link; but,

Re: Really stupid use of cleanlinks

2003-08-14 Thread Alan Shutko
"Michael D. Schleif" <[EMAIL PROTECTED]> writes: ># Remove dangling symlinks and empty directories from a shadow link tree ># (created with lndir). > What could be the purpose of this script? As described in the script and manpage, it's to fix up a shadow link tree that was created with

Re: Really stupid use of cleanlinks

2003-08-14 Thread Colin Watson
On Wed, Aug 06, 2003 at 03:57:21PM -0500, John Hasler wrote: > On Wed, Aug 06, 2003 at 01:41:43PM -0500, John Hasler wrote: > Colin Watson writes: > > I wrote it in a spare ten minutes or so some months back > > I wrote: > > Did you intend it to remove all symlinks not pointing to ordinary files?

Re: Really stupid use of cleanlinks

2003-08-14 Thread Colin Watson
On Wed, Aug 06, 2003 at 01:41:43PM -0500, John Hasler wrote: > Colin Watson writes: > > I wrote [cleanlinks] in a spare ten minutes or so some months back > > Did you intend it to remove all symlinks not pointing to ordinary files? Eh? I didn't say I wrote cleanlinks; I said I wrote the man page.

Re: Really stupid use of cleanlinks

2003-08-14 Thread John Hasler
mds writes: > This is plain scary !?!? The thing is dangerously broken. File a bug. -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Really stupid use of cleanlinks

2003-08-14 Thread Joerg Johannes
On Wednesday 06 August 2003 16:56, Anthony Campbell wrote: > Never do this! > > I just ran cleanlinks on my root directory; really stupid thing to > do! > > Lots of things were deleted which should not have been and I don't > know how long it will take to get things back working; only just > restor

Re: Really stupid use of cleanlinks

2003-08-14 Thread Anthony Campbell
On 06 Aug 2003, Joerg Johannes wrote: > On Wednesday 06 August 2003 16:56, Anthony Campbell wrote: > > Never do this! > > > > I just ran cleanlinks on my root directory; really stupid thing to > > do! > > > > Lots of things were deleted which should not have been and I don't > > know how long it wi

Re: Really stupid use of cleanlinks

2003-08-08 Thread Michael D. Schleif
Also sprach Anthony Campbell (Wed 06 Aug 02003 at 03:56:28PM +0100): > Never do this! > > I just ran cleanlinks on my root directory; really stupid thing to do! > > Lots of things were deleted which should not have been and I don't know > how long it will take to get things back working; only jus

Re: Really stupid use of cleanlinks

2003-08-08 Thread Florian Ernst
Hello there! On Wednesday 06 August 2003 17:10, Anthony Campbell wrote: > Never do this! > > I just ran cleanlinks on my root directory; really stupid thing to > do! > > Lots of things were deleted which should not have been and I don't > know how long it will take to get things back working; o

Re: Really stupid use of cleanlinks

2003-08-07 Thread John Hasler
On Wed, Aug 06, 2003 at 01:41:43PM -0500, John Hasler wrote: Colin Watson writes: > I wrote it in a spare ten minutes or so some months back I wrote: > Did you intend it to remove all symlinks not pointing to ordinary files? Colin Watson writes: > I didn't say I wrote cleanlinks; I said I wrote t

Re: Really stupid use of cleanlinks

2003-08-06 Thread Michael D. Schleif
Also sprach Anthony Campbell (Wed 06 Aug 02003 at 03:56:28PM +0100): > Never do this! > > I just ran cleanlinks on my root directory; really stupid thing to do! > > Lots of things were deleted which should not have been and I don't know > how long it will take to get things back working; only jus

Re: Really stupid use of cleanlinks

2003-08-06 Thread John Hasler
Anthony Campbell writes: > ...also removed /usr/bin/X11 which is a symlink to /usr/X11R6/bin and is > pointed to by /etc/X11/X... That sounds like a bug. > The modem also would not work, I can't remember why (something to do with > /dev/ttyS0). Perhaps you had /dev/modem pointing to /dev/ttyS0 a