Linux-Misc Digest #650, Volume #25                Sat, 2 Sep 00 21:13:02 EDT

Contents:
  Re: Updated version of hinv perl script ("Andrew N. McGuire ")
  Re: Pine has no BCC option? ([EMAIL PROTECTED])
  Sony Vaio HE HS JE JS ([EMAIL PROTECTED])
  Re: dialup and a proxy server (Brian Duffell)
  Re: sony Vios...requesting info (prasanth Mudundi)
  Re: Getting my Soundblaster16 installed in Redhat 6.1 ("Andrew N. McGuire ")
  Re: associations (James Franklin)
  Re: dialup and a proxy server (Zebee Johnstone)
  Re: Zip 100 & RedHat 6.2 (James Franklin)
  Re: Updated version of hinv perl script ("Andrew N. McGuire ")
  Re: Getting my Soundblaster16 installed in Redhat 6.1 ("Peter T. Breuer")
  Re: VIA Integrated Sound Blaster Pro Woes (Stefan Woerz)
  Re: timestamp problems (Jean-David Beyer-valinux)
  Re: Winmodems and Linux, a fix ? anyone? (SOMERTON KENNEDY)
  Re: Mkisofs: How to create an empty ISO9660 image (Otto Wyss)
  Re: Mkisofs: How to create an empty ISO9660 image (Otto Wyss)
  Re: Winmodems and Linux, a fix ? anyone? (Bit Twister)
  how to create hard-linked directories? (Steffen 'Mugge' Chmil)
  Re: ncurses, /usr/share/terminfo v /usr/lib/terminfo (Thomas Dickey)

----------------------------------------------------------------------------

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Updated version of hinv perl script
Date: Sat, 2 Sep 2000 17:56:10 -0500

On Sat, 2 Sep 2000, Robert L. Klungle quoth:

~~ Date: Sat, 02 Sep 2000 19:44:57 GMT
~~ From: Robert L. Klungle <[EMAIL PROTECTED]>
~~ Newsgroups: comp.os.linux.misc
~~ Subject: Updated version of hinv perl script
~~ 
~~ I acquired a copy of the hinv script on the net (don't remember where)
~~ several years ago. Haven't seen any updates since. A couple of days ago
~~ I noticed that some of the elements were no longer there or were wrong
~~ (apparently Linux has changed). So modified and added to get to 2.1.13.
~~ Quick hack so not the best.
~~ If anyone knows of anyother updates, wouild like to see/have them.
~~ Here is my current one.

OK, I took the liberty of changing some things, minor errors and a couple
personal things.  Here is a summary of what I did.

1. Removed duplicate code.
2. Fixed compile time error on line 163.
3. Renamed file handles to be more descriptive than 'FD'.
4. Fixed s/total.// in scsi loop to read s/total\.//.
5. Made script indentation 4 columns (studies have shown this to be most readable)
6. Explicity closed file handles.
7. Got rid of concatenation warnings ( $modelname ||= 'Unknown' )
8. Fixed some syntactical errors (legal, but bad).
9. Added error checking on open statements.
10. Various other small things (cuddled elses, style stuff).

I still think that there is alot wrong with this script, the biggest being
lack of 'use strict;', but I did fix some things and tried not to break anything.
If you find I did break something, I apologize, but I tried to be careful.
I tested the script and it does work on my system, so if word wrap screws it
up you can email me if you are interested.

[ aside: sorry for reposting a now 243 line script ]

anm


#!/usr/bin/perl -w

# Try and emulate SGI's hinv command
# We want to figure out the following:
# CPU type, mhz, memory, busses, floppies, disks, tapes, cdroms, ttys,
# networks, graphics.

open(DMESG, 'dmesg |') ||
    die "Can't fork dmesg: $!\n";

while (<DMESG>) {
    @_ = split;
    if (/^tty/) {
        $ttys{$_[$#_]}++;
    } 
    elsif (/^Floppy/) {
        $floppy{$_[$#_]}++;
    }
    elsif (/^FDC /) {
        s/.*is a //;
        chop;
        $fdc{$_}++;
    }
    elsif (/^scsi : detected/) {
        $scsi = $_;
    }
    elsif (/^eth\d.* at /) {
        s/\s*at .*//;
        push(@eth, $_);
    }
}

close(DMESG);

open(CPU, '/proc/cpuinfo') || 
    die "Can't read /proc/cpuinfo: $!\n";

while (<CPU>) {
    @_ = split;
    if (/model name/) {
        $modelname = (split /:/, $_)[1];
    }
    if (/cpu MHz/) {
        $speed = $_[3];
    }
    if (/vendor_id/) {
        $modelname ||= 'Unknown';
        $vendor = $_[2] . $modelname;
        $cpus{$vendor}++;
    }
}

close(CPU);

open(IO, '/proc/ioports') ||
    die "Can't read /proc/ioports: $!\n";

while (<IO>) {
    if (/keyboard/) {
        $kbd++;
    }
    elsif (/vga/) {
        @_ = split;
        $graphics{$_[$#_]}++;
    } 
    elsif (/timer/) {
        $tmr++;
    }
}

close(IO);

open(MEM, '/proc/meminfo') ||
    die "Can't read /proc/meminfo: $!\n";

while (<MEM>) {
    @_ = split;
    if (/^Mem: /) {
        $_[1] /= 1024;
        $mem = "Main memory size: $_[1] Mbytes\n";
    }
}

close(MEM);

if (-e '/proc/ide/hda/model') {
    open(HDA, "/proc/ide/hda/model") ||
        die "Can't read /proc/ide/hda/model: $!\n";
    $hda = <HDA>;
    $ides++;
    close(HDA);
}
if (-e '/proc/ide/hdb/model') {
    open(HDB, "/proc/ide/hdb/model") ||
        die "Can't read /proc/ide/hdb/model: $!\n";
    $hdb = <HDB>;
    $ides++;
    close(HDB);
}
if (-e '/proc/ide/hdc/model') {
    open(HDC, "/proc/ide/hdc/model") ||
        die "Can't read /proc/ide/hdc/model: $!\n";
    $hdc = <HDC>;
    $ides++;
    close(HDC);
}
if (-e '/proc/ide/hdd/model') {
    open(HDD, "/proc/ide/hdd/model") ||
        die "Can't read /proc/ide/hdd/model: $!\n";
    $hdd = <HDD>;
    $ides++;
    close(HDD);
}

print $mem if  defined $mem;

for $key (keys %cpus) {
    print "$cpus{$key} $key $speed MHz processor";
    print $cpus{$key} > 1 ? "s\n" : "\n";
}
for $key (keys %ttys) {
    print "$ttys{$key} $key serial port";
    print $ttys{$key} > 1 ? "s\n" : "\n";
}
for $key (keys %fdc) {
    print "$fdc{$key} $key floppy controller";
    print $fdc{$key} > 1 ? "s\n" : "\n";
}
for $key (keys %floppy) {
    print "$floppy{$key} $key floppy drive";
    print $floppy{$key} > 1 ? "s\n" : "\n";
}
for $key (keys %graphics) {
    print "$graphics{$key} $key graphics device";
    print $graphics{$key} > 1 ? "s\n" : "\n";
}
if (defined $tmr) {
    print "$tmr timer controller\n";
}
if (defined $kbd) {
    print "$kbd keyboard";
    print $kbd > 1 ? "s\n" : "\n";
}
if (defined $ppt) {
    print "$ppt parallel port";
    print $ppt > 1 ? "s\n" : "\n";
}
if ($#eth > -1) {
    $n = $#eth + 1;
    print "$n ethernet interface";
    print $n > 1 ? "s\n" : "\n";
    for $eth (@eth) {
        print "  $eth";
    }
}

if (defined $hda) {
    print "$ides IDE device";
    print $ides > 1 ? "s\n" : "\n";
    print "  $hda";
}
if (defined $hdb) {
    print "  $hdb";
}
if (defined $hdc) {
    print "  $hdc";
}

if (-e "/proc/parport/1/hardware") {
    $ppt++;
}
if (defined $tmr) {
    print "$tmr timer controller\n";
}
if (defined $kbd) {
    print "$kbd keyboard";
    print $kbd > 1 ? "s\n" : "\n";
}
if (defined $ppt) {
    print "$ppt parallel port";
}    
if (defined $hdd) {
    print "  $hdd";
}

if (defined $scsi) {
    $scsi =~ s/.*detected //;
    $scsi =~ s/total\.//;
    print $scsi;
    open(SCSI, "/proc/scsi/scsi") ||
        die "Can't read /proc/scsi/scsi: $!\n";
    $_ = <SCSI>;
    while (<SCSI>) {
        next unless /Vendor/;
        s/.*Vendor:\s*//;
        s/\s*Rev:.*//;
        s/Model:\s*//;
        print "  $_";
    }
    close(SCSI);
}

open(PCI, "/proc/pci") ||
    die "Can't read /proc/pci: $!\n";

$done = 0;
while (<PCI>) {
    if (/^\s*Bus/) {
         if ($done == 0) {
             print "PCI bus devices:\n";
             $done++;
         }
         $_ = <PCI>;
         print;
    }
}

close(PCI);

if ($#eth > -1) {
    $n = $#eth + 1;
    print "$n ethernet interface";
    print $n > 1 ? "s\n" : "\n";
    for $eth (@eth) {
        print "  $eth";
    }
}

if (defined $hda) {
    print "$ides IDE device";
    print $ides > 1 ? "s\n" : "\n";
    print "  $hda";
}
if (defined $hdb) {
    print "  $hdb";
}
if (defined $hdc) {
    print "  $hdc";
}
if (defined $hdd) {
    print "  $hdd";
}
__END__
-- 
Andrew N. McGuire
[EMAIL PROTECTED]
perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`'


------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Pine has no BCC option?
Date: Sat, 02 Sep 2000 22:47:08 GMT

wow, thanks. I can't believe I missed that one. I'm not on a linux
machine a lot, so I don't have much time to read all the docs that come
with the programs. But this is certainly a lesson I'll be learning. I
knew pine was rich in options.

In article <39b034fe$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> > Pine has no BCC option? Or is it somewhere in the setup that I can't
> > find. If that is it, where is it?
>
> Sure it does. Did you read the dox? Often it does not show up on the
> screen (there are a lot of headers) but if you have the cursor in the
> header section, try CTRL-R (that should expand to the headers). The
pinerc
> file (which you can edit manually or use the setup option on) has a
> section where you can choose which headers appear when you compose a
> message. There is help if you use the configure setup options from
within
> PINE (will tell you the headers you can put there). Personally I
leave BCC
> hidden (as I use it so seldom) and CTRL-R with the cursor in the
header
> section to make it available (CTRL-R in the message body reads in a
file).
>


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Subject: Sony Vaio HE HS JE JS
Date: Sat, 02 Sep 2000 22:46:13 GMT



Has anyone ever gotten the modem of Sony Vaio HE HS JE JS (K)
notebooks to work with Linux?



Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Brian Duffell <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.dial-up,comp.os.linux.setup
Subject: Re: dialup and a proxy server
Date: Sat, 02 Sep 2000 23:56:15 +0100

On 2 Sep,  
     "Steven L. Dahlin" <[EMAIL PROTECTED]> wrote:

> Can anyone tell me if there is a product or a way to setup a proxy server
> with dial up capabilities, i.e., allowing anyone on my network to make a
> request and, if there is no current connection to the ISP, disl up and
> establish the connection.  Earlier I tried diald but despite a lot of input
> from several and a lot of elbow grease I was unable to make it work.
> Currently I am using a product call WinProxy on an NT workstation that
> works like a charm.  It was easy to setup and configure and has been easy
> to maintain.  But I would certainly prefer to have a linux server in that
> role, but the pain and trouble of diald was too much.

I'm having limited success with pppd (2.2 kernel) but I can setup the ppp
connection ok. unfortunately the calling application is unable to resolve
unless I ping an unknown ip address first, and give time for the link to
setup before I use the resolver for the actual download. It may be fine with
a linux network rather than mixed OS's 
-- 
  Brian Duffell    RiscPC600      |  StrongARM 233Mhz RISC OS 4 50Mb
  Darlington Dolphin Masters ASC  |<www.darlington-masters.org>
  Thornaby ASC                    | <[EMAIL PROTECTED]>
  

------------------------------

From: prasanth Mudundi <[EMAIL PROTECTED]>
Subject: Re: sony Vios...requesting info
Date: Sat, 02 Sep 2000 19:08:02 -0400

Thanks for the info.

prasanth mudundi


"Peter T. Breuer" wrote:
> 
> prasanth Mudundi <[EMAIL PROTECTED]> wrote:
> : planning on buying a sony PCG-F590K VAIO NOTEBOOK
> : can i install linux and has anybody done it.
> 
> Plenty of people have linux on sony vaios. Don't know about your model.
> Linus himself has a 505, as I recall.
> 
> : I prefer SUSE. But if i have to i am willing to
> 
> The distro is irrelevant. Linus complained that he couldn't use both
> the cdrom and the floppy at the same time, making it difficult to boot
> from floppy in order to get the distro off the CD. I think both are on
> pcmcia crads.  The solutions range from the obvious to the ingenious (I
> think Linus' fell in the latter category, involving the use of the
> floppy format of the first tracks on a bootable cdrom).
> 
> If yours is a firewire model, that doesn't work. Or didn't, last time I
> looked.
> 
> Peter

------------------------------

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Getting my Soundblaster16 installed in Redhat 6.1
Date: Sat, 2 Sep 2000 18:15:30 -0500

On Sat, 2 Sep 2000, mike quoth:

~~ Date: Sat, 02 Sep 2000 11:08:55 -0400
~~ From: mike <[EMAIL PROTECTED]>
~~ Newsgroups: comp.os.linux.misc
~~ Subject: Re: Getting my Soundblaster16 installed in Redhat 6.1
~~ 
~~ Hi Peter, and All,
~~                     I have tried pnpdump and read PnP HOWTO and
~~ Sound HOWTO, and haven't, so far, found a solution. I will
~~ continue to try.
~~                                                  Thanks
~~ 
~~                                                         Mike
~~ P.S. The config programs don't see or find the correct info

These work for my ISA SB16 (Vibra):

/sbin/modprobe sb io=0x220 irq=5 dma=1 dma16=3 mpu_io=0x300
/sbin/modprobe opl3 io=0x388
/sbin/modprobe v_midi

anm
-- 
Andrew N. McGuire
[EMAIL PROTECTED]
perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`'


------------------------------

From: [EMAIL PROTECTED] (James Franklin)
Crossposted-To: alt.os.linux,comp.os.linux.setup,comp.os.linux.x
Subject: Re: associations
Reply-To: [EMAIL PROTECTED]
Date: 2 Sep 2000 18:46:19 -0600

On Sat, 02 Sep 2000 21:35:38 GMT, [EMAIL PROTECTED] wrote:
>Go into the Gnome Control Panel and go to Edit MIME Types.
>David
>[EMAIL PROTECTED]
>
>
>
>In article <8ojpft$bkb$[EMAIL PROTECTED]>,
>  "Darren Welson" <[EMAIL PROTECTED]> wrote:
>> How do I associate an application with a particular file type, like a
>> certain editor with text files?  I use rh62 and am using gnome in X.
>>
>>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

Although I use KDE I will offer this.  In KDE I have to ensure that I create
the file mime first, go to the application mime and associate that particular
file mime, the go back to the file mime and pick the application that I
associated with it.  Maybe Gnome is more intuitive.
-- 
James

A Daily Quip, Quote, or Fortune:
"Whom are you?" said he, for he had been to night school.
                -- George Ade

------------------------------

From: [EMAIL PROTECTED] (Zebee Johnstone)
Crossposted-To: alt.os.linux,alt.os.linux.dial-up,comp.os.linux.setup
Subject: Re: dialup and a proxy server
Date: 2 Sep 2000 21:39:39 GMT
Reply-To: [EMAIL PROTECTED]

In comp.os.linux.setup on Sat, 2 Sep 2000 14:17:58 -0700
Steven L. Dahlin <[EMAIL PROTECTED]> wrote:
>Can anyone tell me if there is a product or a way to setup a proxy server
>with dial up capabilities, i.e., allowing anyone on my network to make a
>request and, if there is no current connection to the ISP, disl up and
>establish the connection.  Earlier I tried diald but despite a lot of input
>from several and a lot of elbow grease I was unable to make it work.

Diald is not much chop and is old.

Read the man page for ppp, especially the demand, persist, idle and
holdoff parameters.

Zebee

------------------------------

From: [EMAIL PROTECTED] (James Franklin)
Subject: Re: Zip 100 & RedHat 6.2
Reply-To: [EMAIL PROTECTED]
Date: 2 Sep 2000 18:56:13 -0600

On Thu, 31 Aug 2000 15:20:30 +1200, Peter Rodriguez wrote:
>NDQ wrote:
>
>> Peter Rodriguez wrote:
>> >
>> > I have got an Iomega Zip 100 (Parallel version) running perfectly under
>> > RedHat 6.0 with a line added to .bash_profile - " modprobe imm >&
>> > /dev/null " However on another machine running RedHat 6.2, this doesn't
>> > work. Any ideas, anybody?
>>
>> Which error when you try :
>> $ modprobe imm
>>
>> ????
>
>I get
>
>imm : Version 2.03 (for Linux 2.0.0)
>scsi : 0 hosts.
>/lib/modules/2.2.14-5.0/scsi/imm.o : init_module : Device or resource busy
>/lib/modules/2.2.14-5.0/scsi/imm.o : insmod
>/lib/modules/2.2.14-5.0/scsi/imm.o failed
>/lib/modules/2.2.14-5.0/scsi/imm.o : insmod imm failed
>
>--
>Peter Rodriguez
>2/219, St. George Street, Papatoetoe
>Auckland, NEW ZEALAND                LINUX RULES
>
>
>

I use modprobe ppa.  Is imm better or better yet, how is it different?
-- 
James

A Daily Quip, Quote, or Fortune:
"Whom are you?" said he, for he had been to night school.
                -- George Ade

------------------------------

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Updated version of hinv perl script
Date: Sat, 2 Sep 2000 19:09:16 -0500

On Sat, 2 Sep 2000, Andrew N. McGuire  quoth:

~~ Date: Sat, 2 Sep 2000 17:56:10 -0500
~~ From: Andrew N. McGuire  <[EMAIL PROTECTED]>
~~ Newsgroups: comp.os.linux.misc
~~ Subject: Re: Updated version of hinv perl script
~~ 
~~ On Sat, 2 Sep 2000, Robert L. Klungle quoth:
~~ 
~~ ~~ Date: Sat, 02 Sep 2000 19:44:57 GMT
~~ ~~ From: Robert L. Klungle <[EMAIL PROTECTED]>
~~ ~~ Newsgroups: comp.os.linux.misc
~~ ~~ Subject: Updated version of hinv perl script
~~ ~~ 
~~ ~~ I acquired a copy of the hinv script on the net (don't remember where)
~~ ~~ several years ago. Haven't seen any updates since. A couple of days ago
~~ ~~ I noticed that some of the elements were no longer there or were wrong
~~ ~~ (apparently Linux has changed). So modified and added to get to 2.1.13.
~~ ~~ Quick hack so not the best.
~~ ~~ If anyone knows of anyother updates, wouild like to see/have them.
~~ ~~ Here is my current one.
~~ 
~~ OK, I took the liberty of changing some things, minor errors and a couple
~~ personal things.  Here is a summary of what I did.
~~ 
~~ 1. Removed duplicate code.
~~ 2. Fixed compile time error on line 163.
~~ 3. Renamed file handles to be more descriptive than 'FD'.
~~ 4. Fixed s/total.// in scsi loop to read s/total\.//.
~~ 5. Made script indentation 4 columns (studies have shown this to be most readable)
~~ 6. Explicity closed file handles.
~~ 7. Got rid of concatenation warnings ( $modelname ||= 'Unknown' )
~~ 8. Fixed some syntactical errors (legal, but bad).
~~ 9. Added error checking on open statements.
~~ 10. Various other small things (cuddled elses, style stuff).
~~ 
~~ I still think that there is alot wrong with this script, the biggest being
~~ lack of 'use strict;', but I did fix some things and tried not to break anything.
~~ If you find I did break something, I apologize, but I tried to be careful.
~~ I tested the script and it does work on my system, so if word wrap screws it
~~ up you can email me if you are interested.
~~ 
~~ [ aside: sorry for reposting a now 243 line script ]
~~ 

[ snip script ]

There is still duplicate code in what I posted, some code is also still out of order.
Also, my solution for fixing the concatenation warnings was not the best, I found
a better one.  I am still hacking this thing, because it is kind of a useful script,
I will share any later developments with anyone interested (and of COURSE the OP).

anm
-- 
Andrew N. McGuire
[EMAIL PROTECTED]
perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`'


------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Getting my Soundblaster16 installed in Redhat 6.1
Date: 3 Sep 2000 00:01:24 GMT

Andrew N. McGuire  <[EMAIL PROTECTED]> wrote:
: On Sat, 2 Sep 2000, mike quoth:

: ~~                     I have tried pnpdump and read PnP HOWTO and
: ~~ Sound HOWTO, and haven't, so far, found a solution. I will
: ~~ continue to try.
: These work for my ISA SB16 (Vibra):

: /sbin/modprobe sb io=0x220 irq=5 dma=1 dma16=3 mpu_io=0x300
: /sbin/modprobe opl3 io=0x388
: /sbin/modprobe v_midi

Being precisely what's given in the sound howto (except that having a vibra,
you have abnormal dma channels, and you have the mpu port at 300 instead
of 330, ahem ...):

       Sound initialization started
       <Sound Blaster 16 (4.13)> at 0x220 irq 5 dma 1,5
       <Sound Blaster 16> at 0x330 irq 5 dma 0
       <Yamaha OPL3 FM> at 0x388
       Sound initialization complete


Peter

------------------------------

From: Stefan Woerz <[EMAIL PROTECTED]>
Subject: Re: VIA Integrated Sound Blaster Pro Woes
Date: Sun, 03 Sep 2000 02:24:27 +0200

Hi John !

[EMAIL PROTECTED] wrote:
> 
> I have the same problem with the ABIT VH6, which uses the same codec.
> 
> From what I've been reading, the latest ALSA library supports the VIA
> sound chipset.  Check them out at http://alsa-project.org.  You first
> have to remove any modules that are loading now, as this replaces OSS.
> 

I had similar problems with my VIA sound chipset. But I just
installed ALSA and it is working :)

Thanks for this tip,
Stefan

------------------------------

From: Jean-David Beyer-valinux <[EMAIL PROTECTED]>
Subject: Re: timestamp problems
Date: Sat, 02 Sep 2000 20:29:24 -0400

Tony wrote:

> In article <[EMAIL PROTECTED]>,
>   Jean-David Beyer-valinux <[EMAIL PROTECTED]> wrote:
> > Tony wrote:
> >
> > > Running Linux Redhat 6.2 Kernel 2.2.16-3, P-III 700MHZ 256MB RAM:
> > >
> > > When I create a file (pico for example) or when I run "touch
> filename"
> > > the timestamp of the file is exactly 7 hours in advance (GMT).
> However
> > > all other system clocks seem to be correct. When I run "date" the
> date
> > > and time returned is correct. I have run timetool, linuxconf,
> checked
> > > the CMOS's date/time and all those are correct.
> > >
> > > This problem occurs if I FTP a file to the computer or any
> manipulation
> > > of a file where a timestamp would be initiated. Because of this
> > > timestamp problem, many programs won't work correctly. For example:
> > >
> > > When Linux RedHat starts up it runs "/etc/rc.d/inet.d/syslogd". This
> > > startup script uses "touch" to create a file at:
> > >
> > > /var/lock/subsys/syslog
> > >
> > > But because the timestamp of this touch is different than the time
> of
> > > the machine, this startup says it failed. However syslogd is running
> and
> > > all log message timestamps show the "correct" date/time. Other
> problems
> > > are also caused by this. For example:
> > >
> > > If I edit a file with my programmer's editor it always says that the
> > > time of the file I am trying to save is newer on the computer than
> the
> > > time I am now trying to save and asks if I want to overwrite. These
> are
> > > just some of the annoying problems this has caused.
> > >
> > > I have not done any updating of my system (kernel etc) for over a
> month.
> > > Everything worked just fine and then one day it didn't.
> > >
> > > Any ideas?
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> >
> > It may be that one of the programs is putting out UTC time. My machine
> runs
> > the hardware clock in UTC. I sometimes have problems with my other
> system
> > that is dual boot Microsoft Windows 95 and Linux. I have to run the
> clock
> > there in local time because Microsoft is too dumb to do anything else.
> > Trouble is, Windows diddles the clock whenever Daylight Savings TIme
> begins
> > and ends, and once in a while it thinks that is at a different time
> from
> > reality. When it adjusts to Daylight Savings Time in January or
> something,
> > things get really screwy. This machine is Linux-Only, and I have no
> > problems running the hardware clock in UTC.
> >
> > Here are a few experiments:
> >
> > valinux:jdbeyer[~]$ date
> > Sat Sep  2 14:13:48 EDT 2000
> > valinux:jdbeyer[~]$ touch frammis
> > valinux:jdbeyer[~]$ ls -l frammis
> > -rw-r-----   1 jdbeyer  jdbeyer         0 Sep  2 14:13 frammis
> > valinux:jdbeyer[~]$ /sbin/clock
> > Sat Sep  2 18:15:30 2000  -0.601410 seconds
> > valinux:jdbeyer[~]$
> >
> > (I see my hardware clock is drifting. My system clock is set to the
> > U.S.Navy clock up to 4 times a day, and is rarely more than a few
> seconds
> > off.)
> >
> > --
> >  .~.   Jean-David Beyer           Registered Linux User 85642.
> >  /V\                              Registered Machine    73926.
> > /( )\  Shrewsbury, New Jersey
> > ^^-^^  2:12pm up 24 days, 21:41, 5 users, load average: 2.31, 2.34,
> 2.28
> >
> >
>
> I can't see anything wrong with the clock:
>
> [[EMAIL PROTECTED]]$ date
> Sat Sep  2 11:58:39 MST 2000
> [[EMAIL PROTECTED]]$ touch frammis
> [[EMAIL PROTECTED]]$ ls -l frammis
> -rw-rw-r--   1 tonyf  tonyf         0 Sep  2 18:58 frammis
> [[EMAIL PROTECTED]]$ /sbin/clock
> Sat Sep  2 11:59:01 2000  -0.823669 seconds
> [[EMAIL PROTECTED]]$
>
> You'll notice that touch created a file 7 hours in advance. This I
> believe is GMT, but I don't see how it can create a file with this
> timestamp if all other times are not GMT? The CMOS is also set to the
> correct time.

> Isn't this a strange one? There must be something that determines the
> date of a newly created or modified file. Obviously this has nothing to
> do with the clock (at least these clocks).
>
> I looked at my /etc/adjtime file:
>
> -0.013481 967840065 0.000000
> 967840065
> LOCAL
>
> On my other Linux box it reads:
>
> 0.0 0 0.0
>
> So could this be something?
>
> Thanks for trying to help.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

What is the value of your environmental variable TZ?

--
 .~.   Jean-David Beyer           Registered Linux User 85642.
 /V\                              Registered Machine    73926.
/( )\  Shrewsbury, New Jersey
^^-^^  8:18pm up 25 days, 3:47, 4 users, load average: 2.33, 2.20, 2.26




------------------------------

From: SOMERTON KENNEDY <[EMAIL PROTECTED]>
Subject: Re: Winmodems and Linux, a fix ? anyone?
Date: Sun, 03 Sep 2000 00:44:50 GMT

winmodems dont work with linux sorrry

Robert Clement wrote:
> 
> Can anyone get a winmodem to work with Linux? Does anyone know of such a
> thing?
> 
> --
> -----------------------------------------------------
> Click here for Free Video!!
> http://www.gohip.com/free_video/

------------------------------

From: [EMAIL PROTECTED] (Otto Wyss)
Subject: Re: Mkisofs: How to create an empty ISO9660 image
Date: Sun, 3 Sep 2000 02:43:28 +0200

> >to create an empty 650MB ISO image possibly with Joliet and RockRidge
> >
> I presume the problem is that if you do a mksiofs of an empty directory,
> the image you get is quite small.  Then if you mount it, the loop device
> doesn't allow the size to increase...  I don't remember if this is the
> case
> 
Yes, or at least I haven't found out how.

> I'm not sure how you might do this.  I think I might experiment with 
> creating a 650 mb file with all zeros in it (using dd and /dev/zero, 
> specifying a block size and count).  Then put that in a directory by 
> itself and doing a mkisofs of that directory.  That will get you the 
> size that you want. Then you should be able to mount it and erase the
> 650 file you created and replace it with stuff you want to be in the 
> image....
>
Thanks I'm going to try it. 

I just thought there must have been a switch in mkisofs which allows to
specify the size of the image. 

O. Wyss

------------------------------

From: [EMAIL PROTECTED] (Otto Wyss)
Subject: Re: Mkisofs: How to create an empty ISO9660 image
Date: Sun, 3 Sep 2000 02:43:32 +0200

> >to create an empty 650MB ISO image possibly with Joliet and RockRidge
> >
> What would the purpose be?   iso9660 file system is a read-only file system,
> so what would you do with an empty read-onoy file system
> 
Mounted through the loop device, it is just as writeable as anything
what's laying physically on a harddisk.

I want to organize my backup that way. Dropping anything to backup on
this image and burning it to CDR  when it's full. I know I could to the
same with a backup directory except it's much easier to see when the
image is full.

O. Wyss

------------------------------

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: Winmodems and Linux, a fix ? anyone?
Reply-To: This_news_group.invalid
Date: Sun, 03 Sep 2000 01:01:20 GMT


You might look around here
http://www.linmodems.org/ 
http://www.o2.net/~gromitkc/winmodem.html  

On Fri, 01 Sep 2000 02:21:05 GMT, Robert Clement
> <[EMAIL PROTECTED]> wrote:
>Can anyone get a winmodem to work with Linux? Does anyone know of such a
>thing?
>

------------------------------

From: Steffen 'Mugge' Chmil <[EMAIL PROTECTED]>
Subject: how to create hard-linked directories?
Date: Sun, 03 Sep 2000 03:02:36 +0200

root-rights, same partition.

ln  -d, -F, --directory  does not work...

thx!

Steffen

------------------------------

From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: ncurses, /usr/share/terminfo v /usr/lib/terminfo
Date: 3 Sep 2000 01:08:59 GMT

Raymond Doetjes <[EMAIL PROTECTED]> wrote:
> Well what you are requesting is a patch for the problem.

no - not even that (it was moved about 4 years ago, but some distributors
chose to continue packaging obsolete/buggy software).

(and when built from the original distribution, both /usr/lib/terminfo
and /usr/share/terminfo are the same - symlinked).

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to