Re: Some improvements to rm(1)

2013-04-26 Thread Dan Rue
On Thu, Apr 25, 2013 at 9:50 PM, Brooks Davis bro...@freebsd.org wrote:

 I think the -x option seems a bit odd.  What is the use case?  At a
 first thought, it seems to raise more questions than it resolves.


I was cleaning up a system a year ago and I had an rm -rf traverse into a
production NFS mountpoint.. oops. I only realized it when it was taking
longer than I expected so I stopped it to investigate. Had to restore a
bunch of data from backups.

Thank you for proposing the patch, I hope it gets committed.

Dan
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: regenerating /var/db/pkg

2010-04-22 Thread Dan Rue
On Thu, Apr 22, 2010 at 03:21:16PM +0300, Eitan Adler wrote:
 
  Just asking opinions, if people want this, I'll make a patch and
  file a PR.
 
 
 Is this script correct?

We're starting to use SSDs for boot drives in our freebsd boxes.  We'd
like to have /var on a memory backed FS, but losing the package database
on every reboot is troublesome.  

This script would be a decent solution to my problem as well, 

Dan
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: [PATCH] newsyslog - archive logs with a timestamp

2007-08-12 Thread Dan Rue
On Sun, Aug 12, 2007 at 02:24:20PM +0200, Ulrich Spoerlein wrote:
 I'd rather see an extension for newsyslog which would rotate foo to
 foo.2007-08-12.gz, iff rotation is done every day at midnight.

Sorry to hijack the thread, but this is something that I've been looking
for for a long time as well.

There's even a patch that's been sitting in purgatory since 2001.

http://www.freebsd.org/cgi/query-pr.cgi?pr=30654cat=

Dan
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with jails after upgrading to 6.1-STABLE

2006-05-18 Thread Dan Rue
On Thu, May 18, 2006 at 02:09:49PM +0200, Bartosz Giza wrote:
 Hi,
 
 Recently i have upgraded my box to 6.1-STABLE. Before i have had 6.0-STABLE.
 
 I am running couple of jails on this box and right now something is messed 
 up with startup scripts or somewhere else.
 Worst thing is that i can't stop them using rc.d/jail script:

snip

6.1 shipped with a buggy /etc/rc.d/jail script.. 

See this post from freebsd-stable:
http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025445.html

Dan
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


chmod features: +RW?

2004-06-04 Thread Dan Rue
Hey, 

I searched the archives, but haven't seen anything regarding this.  

I am interested in a feature addition to chmod for the equivalent of +X
(Add x bit only if it's a dir), except for read and write (R and W?).

I'm not sure how useful W would be - but R would be quite useful for
allowing the reading and traversing of dirs without giving read
permission to the contents of the dirs.  

I know you can do this with a find - that's what I've done in the past.
I'm just wondering if this have been discussed, if it's a horrible idea,
etc.  

If it's a good idea, I'll gladly write a patch - just let me know who to
send it to.  If this is the wrong mailing list, let me know that too.  

thanks, 
dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]