Re: /sbin/reboot: symbolic link to `halt'

2009-08-16 Thread James Youngman
On Sun, Aug 16, 2009 at 9:22 PM, Sven Joachim wrote: > On 2009-08-16 22:36 +0200, Chris Bannister wrote: > >> I noticed that /sbin/reboot is a symbolic link to /sbin/halt. How does >> the system "know" the difference? > > The program notices how it is called and behaves accordingly.  Programs > wri

Re: Ctrl+Ret in Terminals

2009-07-01 Thread James Youngman
On Wed, Jul 1, 2009 at 12:56 AM, Kumar Appaiah wrote: > Dear Debian Users, > > This is a generic question, not Debian-specific. > > One of my friends uses org-mode in GNU Emacs, and loves it. Now, the > issue is that one of the functions in org-mode is bound (by default) > to C-RET (Ctrl+Enter), wh

Re: find -ls

2009-07-01 Thread James Youngman
On Sun, Jun 28, 2009 at 6:52 AM, root wrote: > Is there any way other than modifying the source > to get "find -ls" to return the file date as "month day year" The M-D-Y ordering is dangerously ambiguous, and especially for that portion of the world that lives outside the USA. Consider using YYY

Re: What happened to network devices?

2009-06-02 Thread James Youngman
On Sat, May 30, 2009 at 5:30 PM, lee wrote: > On Fri, May 29, 2009 at 06:40:00PM -0500, Boyd Stephen Smith Jr. wrote: >> In <20090529225111.gf1...@cat.rubenette.is-a-geek.com>, lee wrote: >> >Anyway, I'd like to know what happened >> >to /dev/eth0. >> >> I've never had a Linux box where /dev/eth0

Re: I can not set up postfix to send email through SSL-connection

2009-05-12 Thread James Youngman
On Tue, May 12, 2009 at 10:16 AM, Sthu Deus wrote: > Good day. > > I can not set up postfix to send email through SSL-connection (465). It > works for plain connection (on 25 port) only. > > If You have any suggestion on what could be a culprit, I would like to > know. I can provide any necessary

HTPC cases/remotes - Linux support?

2009-04-27 Thread James Youngman
I plan to buy an HTPC case and muck about building a NAS and perhaps using it as a PVR/music player etc. Online shops are less than specific about which of their fancy HTPC cases work with Linux (I'm thinking specifically of www.komplett.ie). What have you guys found that worked? Did they inclu

Support for Logitech QuckCam S7500 in Lenny?

2009-04-22 Thread James Youngman
I looked for software to support the LogiTech QuckCam S7500 (a newish USB web camera) in Lenny. Plenty of stuff appeared to be relevant, but nothing actually seemed to work (for example, one piece of software turned out to be for parallel port driven cameras). With the popularity of Logitech ha

Suggestions for multilevel backup of single machine?

2009-04-11 Thread James Youngman
Here's my current backup arrangement: Data is stored in filesystems on LVM volumes over RAID1. While RAID1 presents some protection from disk failure, it gives no protection against data corruption due to flaky hardware or data loss caused by fire or theft. Therefore I have an offsite backup arr

Re: Advice on raid/lvm

2009-04-11 Thread James Youngman
On Wed, Apr 8, 2009 at 9:04 PM, Miles Fidelman wrote: > I'm currently in my third day of rebuilding a machine that had /boot and / > on an LVM volume on raided disks.  After one drive died, I ended up in a > weird mode where LVM was mounting one of the component drives, rather than > the raid vol

Re: slocate replacements

2009-02-10 Thread James Youngman
On Tue, Jan 27, 2009 at 4:07 PM, Johannes Wiedersich wrote: > Several implementations of locate exist: the original implementation > from GNU's findutils, slocate, and mlocate. The advantages of mlocate are: > > * it indexes all the filesystem, but results of a search will only > include files th

Re: Unknown network traffic

2009-01-10 Thread James Youngman
On Fri, Jan 9, 2009 at 5:08 PM, T o n g wrote: > Hi, > > I've tried all the network bandwidth monitoring tools that I know to find > out the unknown network traffic I'm having now, I've tried iftop, netstat, > lsof and pktstat, and still can't find out the result. Please help. > > First, neither o

Re: OT: IP of computer sending message

2009-01-06 Thread James Youngman
Any program running on a Unix-like system can do this using getpeername() (for stream-oriented protocols) or recvfrom() (for datagram-oriented protocols). But as to how to get your software to issue that system call, it's a question for users of that software (I'm sure there's a users' mailing li

Re: FQDN vs. domain in /etc/hosts

2009-01-06 Thread James Youngman
On Sun, Jan 4, 2009 at 9:11 PM, Stefan Schmidt wrote: > Hello, > > in my understanding the /etc/hosts file should contain an entry with the > FQDN of the host. > > 123.123.123.123 hostname.domain.tld hostname > > I would for simplicity prefer to use a domain name instead of a FQDN. > > 123.123.123

Re: Keystrokes go missing after script exits

2009-01-03 Thread James Youngman
On Sat, Jan 3, 2009 at 11:31 PM, Curt Howland wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Saturday 03 January 2009, James Youngman was heard to say: >> It's left your terminal in a non-echoing mode; this is used for >> example when asking for a

Re: Keystrokes go missing after script exits

2009-01-03 Thread James Youngman
It's left your terminal in a non-echoing mode; this is used for example when asking for a password. You can fix this with "stty sane". -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: Corrupt data - RAID sata_sil 3114 chip

2009-01-03 Thread James Youngman
On Fri, Jan 2, 2009 at 9:30 PM, Bernd Schubert wrote: > Hello Bengt, > > sil3114 is known to cause data corruption with some disks. So far I only know > about Seagate, but maybe there issues with newer Samsungs as well? I've experienced data corruption with a SII 0680 ACLU144 (on an ST Labs' A-13

Re: weird find error on fresh etch system

2009-01-03 Thread James Youngman
On Wed, Aug 13, 2008 at 2:11 PM, Mumia W.. wrote: > On 08/13/2008 12:16 AM, Zach Uram wrote: >> >> I just installed Debian 4.0 and whenever I use find on / I see: >> >> find: WARNING: Hard link count is wrong for ./proc/sys/net: this may >> be a bug in your filesystem driver. Automatically turn

System-wide policy to install documentation? Including non-dfsg docs?

2008-12-20 Thread James Youngman
Is there any way that I can set up a policy or default like this? (I'm running lenny) 1. Installing foo where foo Recommends: foo-doc causes the installation of foo-doc. 2. Installing bar-doc where bar-doc Recommends: bar-doc-non-dfsg causes the installation of bar-doc-non-dfsg (In other words, a

Re: how to run debsums for 'ps' and 'readline'

2008-12-20 Thread James Youngman
On Fri, Dec 19, 2008 at 11:25 AM, oneman wrote: > Hi All, > > > chkrootkit is complaining about processes hidden from ps and readdir. So I'd > like to run debsums on them to test the integrity of ps and readdir. > However, 'debsums ps' doesn't work. Wich package name should I use to check > the in

Re: NFS problems with files.

2008-12-08 Thread James Youngman
On Mon, Dec 8, 2008 at 6:57 PM, Brian Schrock <[EMAIL PROTECTED]> wrote: > I am testing a courier-postfix setup using nfs for the Maildir folders > on debian etch, and my client machine is debian/lenny. Everything > seems to work just peachy except for when I use pop/imap for access to > the mail.

Re: TTY programming

2008-12-02 Thread James Youngman
On Tue, Dec 2, 2008 at 9:34 AM, David Baron <[EMAIL PROTECTED]> wrote: > I have seen loads of postings but no real answer to this: > > I write() a command to the modem > I read() to try to get a response, i.e. OK or if the command is a dial, BUSY > or such. > I do not get anything. > > The commands

Re: When stability is pointless

2008-11-09 Thread James Youngman
On Wed, Nov 5, 2008 at 5:40 AM, Nate Duehr <[EMAIL PROTECTED]> wrote: > It is very common for software developers to plow ahead without thinking > much about the versions the distros provide. > > You may want to contact them and see how they would expect users to use > their software effectively. >

Re: Electricity Cutoffs, EXT3 and Filesystems

2008-11-09 Thread James Youngman
On Sun, Nov 9, 2008 at 12:32 PM, James Youngman <[EMAIL PROTECTED]> wrote: > You should arrange for your systems to be cleanly shut down (with, for > example, shutdown) before the UPS runs out of power. There even > exists software for some UPS types that allows you to defer the &

Re: Electricity Cutoffs, EXT3 and Filesystems

2008-11-09 Thread James Youngman
On Sun, Nov 2, 2008 at 9:39 AM, Volkan YAZICI <[EMAIL PROTECTED]> wrote: > This year I'm obligated to administrate extra ~5 production servers and > as a result of major GNU/Linux headquarters moving from ReiserFS to > EXT3, I started to use EXT3 in those new servers. But unfortunately, > after eve

Re: updatedb for very large filesystems

2008-11-08 Thread James Youngman
On Thu, Oct 2, 2008 at 1:29 PM, James Youngman <[EMAIL PROTECTED]> wrote: > On Thu, Oct 2, 2008 at 11:18 AM, Ron Johnson <[EMAIL PROTECTED]> wrote: >> Since find is so disk-intensive, isn't this is only of benefit if /usr, /var >> and /home are on different device

Re: updatedb for very large filesystems

2008-11-08 Thread James Youngman
On Fri, Oct 10, 2008 at 1:05 PM, Ron Johnson <[EMAIL PROTECTED]> wrote: > On 10/10/08 07:28, James Youngman wrote: >> >> On Fri, Oct 10, 2008 at 8:55 AM, Ron Johnson <[EMAIL PROTECTED]> >> wrote: >>> how do you actually optimize disk head movement? &

Re: updatedb for very large filesystems

2008-10-10 Thread James Youngman
On Fri, Oct 10, 2008 at 8:55 AM, Ron Johnson <[EMAIL PROTECTED]> wrote: > On 10/09/08 23:05, James Youngman wrote: >> >> On Wed, Oct 8, 2008 at 3:29 AM, Ron Johnson <[EMAIL PROTECTED]> wrote: >>> >>> I *think* that James Youngman was being sarcasti

Re: updatedb for very large filesystems

2008-10-09 Thread James Youngman
On Wed, Oct 8, 2008 at 3:29 AM, Ron Johnson <[EMAIL PROTECTED]> wrote: > > I *think* that James Youngman was being sarcastic. If I'm wrong, then so > much the better. I was not being sarcastic. James. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of &q

Re: updatedb for very large filesystems

2008-10-02 Thread James Youngman
On Thu, Oct 2, 2008 at 11:18 AM, Ron Johnson <[EMAIL PROTECTED]> wrote: > Since find is so disk-intensive, isn't this is only of benefit if /usr, /var > and /home are on different devices? Yes. Disk-head-movement optimisation will not be implemented in findutils for another six weeks or so. Jam

Re: updatedb for very large filesystems

2008-10-02 Thread James Youngman
On Wed, Oct 1, 2008 at 12:15 PM, Mag Gam <[EMAIL PROTECTED]> wrote: > I was wondering if its possible to run updatedb on a very large > filesystem (6 TB). Has anyone done this before? I plan on running this > on a weekly basis, but I was wondering if updatedb was faster than a > simple 'find'. Are

Re: diagram tool

2008-08-23 Thread James Youngman
On Thu, Aug 7, 2008 at 8:15 PM, Damon L. Chesser <[EMAIL PROTECTED]> wrote: > Starting a contract job and I might need to diagram out the network, I > know of diag, anything else out there? http://cheops-ng.sourceforge.net/screenshots.php -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a su

Re: what's the best IDE for C programming in Debian?

2008-08-12 Thread James Youngman
On Sat, Aug 9, 2008 at 6:09 AM, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > Seeing how powerful it is, but knowing how powerful emacs is, or can > be, I wonder what emacs based tools exist for performing similarly in > emacs? A few pointers to some more powerful code tools in emacs would >

Broke /etc/apt/preferences when trying to use just one package from unstable.

2008-07-26 Thread James Youngman
I modified /etc/apt/{preferences,sources.list} to get just flashplugin-nonfree from unstable. That seemed to work. However, now I find that "apt-get install libsdl1.2-dev" results in this error: # apt-get install libsdl1.2-dev Reading package lists... Done Building dependency tree Reading st

Re: to cluster or not? what's best solution for 2-node HA?

2008-07-26 Thread James Youngman
On Fri, Jul 25, 2008 at 10:32 PM, Bob <[EMAIL PROTECTED]> wrote: > however - you can run drbd in a primary/primary config - this > sounds like what I want. But it sounds like I need a clustering files > system to do this like GFS. After countless hours researching this, > I'm still not sure how

Re: dumb question about tar

2008-07-19 Thread James Youngman
On Thu, Jul 17, 2008 at 7:16 PM, David Denney <[EMAIL PROTECTED]> wrote: > Hello all, > When you tar a file (i.e. a backup) to a destination disk, does tar build > the file on the destination disk, or does it create it in a tmp file, > memory, etc then move it to the final destination? I have to t

Re: [OT] How to Analyze/Study Source Code?

2008-07-19 Thread James Youngman
On Wed, Jul 16, 2008 at 5:57 PM, Amit Uttamchandani <[EMAIL PROTECTED]> wrote: > Hey everyone, > > Just wondering how you guys go about studying code? Do you read every > single source file and then make notes? Or is there a tool that goes > about and draws out relationships between source code fil

Re: [OT] the limits of googling

2008-06-28 Thread James Youngman
On Sat, Jun 28, 2008 at 2:59 PM, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > Hi, > > Google searching is (still?) primitive. > > I would like to know the answer to a simple question: > > What are the most recent laptops that run Linux *and* have a working analog > (RJ-11) modem installed? > > List

Hooks for read-only /usr

2008-06-19 Thread James Youngman
I like to have a read-only /usr filesystem. So I have ... # cat /etc/apt/apt.conf.d/50readonly-usr DPkg { // Auto re-mounting of a readonly /usr Pre-Invoke {"mount -o remount,rw /usr";}; Post-Invoke {"mount -o remount,ro /usr || true";}; } Unfortunately this works quite badly. Durin

Re: Any isencrypted function available?

2008-06-18 Thread James Youngman
On Wed, Jun 18, 2008 at 8:26 AM, buyoppy <[EMAIL PROTECTED]> wrote: >> Try this implementation, which I have not tested (or >> even compiled). (I realised subsequently that it reads past the end of the buffer if system memory is low and the input buffer was less than PLANB_BUF_SIZE; oops). > Th

Re: Any isencrypted function available?

2008-06-17 Thread James Youngman
On Sun, Jun 15, 2008 at 10:56 PM, buyoppy <[EMAIL PROTECTED]> wrote: > I saw a webpage of Solaris's 'isencrypted' function which > inspects some data in a buffer is encrypted or not using > some algorithm including statistical analysis. But now I > cannot find that page on the Internet... Try t

Re: Getting network settings to stick

2008-06-09 Thread James Youngman
On Mon, Jun 9, 2008 at 9:16 PM, <[EMAIL PROTECTED]> wrote: > Greetings > > I have put Debian Etch on my laptop. Somewhere during the course of the > install the IP address I assigned didn't stick. I have used the ifconfig > command in an attempt to set it but the system doesn't retain it between >