Linux-Development-Sys Digest #27, Volume #8      Tue, 18 Jul 00 12:13:18 EDT

Contents:
  Re: Can't compile kernel!! (Markus Kossmann)
  Re: mpeg capture from video capture card (blowfish)
  Re: embedded linux footprint size ("Mike")
  Re: kernel debugger ? ("pusillus")
  Re: Interface i8255 ("Christian Dahmen")
  Re: mpeg capture from video capture card (Steve Martin)
  Router (Giorgio Di Natale)
  new kernel now recognize my HPT366 UDMA hd, but screw my sound card (Wesley Wong)
  Re: file_operations structure (Fabrice Peix)
  Pbl Synchro Client/Server (vdeverre)
  Re: Installation of Oracle 8.1.16 for Linux ([EMAIL PROTECTED])
  how do I trace linux kernel? ("NTUST")
  Re: Question: system() from C++ CGI to Perl with Kernel 2.2.16 (Stephen Harris)
  Re: My own distribution ([EMAIL PROTECTED])
  kernel hangs in sock_recvmsg (Hoch Martin)
  strange "mv" bug ([EMAIL PROTECTED])
  Re: Warning! -- SONY SUBSTANDARD SERVICE (Tom Daley)
  Re: strange "mv" bug (Robert Lynch)
  Re: strange "mv" bug (Kaz Kylheku)

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

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: Can't compile kernel!!
Date: Tue, 18 Jul 2000 04:20:33 +0200

root wrote:
> 
> Hello,
> 
> I'm in the process of trying to upgrade 2.2.14 to 2.2.16 + the newest
> ide patch.  It appears that all the code is ready for compilation, and I
> did make clean, make dep, and make config.  The problem is when I try
> make bzdisk.  Here is what I get:
> 
> gcc -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -o
> scripts/split-include scripts /split-include.c
> In file included from /user/include/errno.h:36
>   from scripts/split-include.c:26:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make: *** [scripts/split-include] Error 1
> 
> It files seem to be in the right place, but it can't find them.  What do
> I do?  Any ideas?
Make sure that the links /usr/include/linux and /usr/include/asm links
point to the include/linux and include/asm directories  of your kernel
sources. 


--
Markus Kossmann                                    
[EMAIL PROTECTED]

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

From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: mpeg capture from video capture card
Date: Mon, 17 Jul 2000 20:24:13 -0700

Steve Martin wrote:
> 
> > > Do you know an existing program (with sources) wich capture video from a
> > > video capture card (bt chips) and save it in mpeg or quicktime format.
> > > Without using Xwindows.
> 
> > broadcast2000.
> 
> Broacast2000 *uses* X. Not what he asked for. Other than that, though,
> it's a really neat program.

Sorry, My fault. :P

Forgot about that because my Linux box runs X and KDE. 

Yes, broadcast 2000 is really neat.

Try it with multi SMP clusters.  You'll love it.

-blowfish

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

From: "Mike" <[EMAIL PROTECTED]>
Subject: Re: embedded linux footprint size
Date: Tue, 18 Jul 2000 07:36:27 +0300

Wolfgang Denk wrote in message ...

>On a board half the size of a credit  card  you  can  get  the  whole
>PowerPC  system  (CPU, 64 MB RAM, 8 MB Flash, Ethernet, serial ports,
>USB, LCD/VGA, CAn-Bus, ...) - that's more than enough for most cases.


Where can I find those miniatyre cards capable to run Linux?





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

From: "pusillus" <[EMAIL PROTECTED]>
Subject: Re: kernel debugger ?
Date: Tue, 18 Jul 2000 05:56:33 GMT


john a. prather ha scritto nel messaggio
<8ktroc$mfa$[EMAIL PROTECTED]>...
>anyone know where I can get a debugger.
>
>John Prather
>[EMAIL PROTECTED]
>

http://ttt.inf.upv.es/~viesllo/

http://oss.sgi.com/projects/kdb/





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

From: "Christian Dahmen" <[EMAIL PROTECTED]>
Subject: Re: Interface i8255
Date: Tue, 18 Jul 2000 10:49:02 +0200

Danke f�r Deinen Tip,
am liebsten w�rde ich irgend eine L�sung kaufen, da ich a keine Zeit / Lust
f�r eine
entwicklung habe und b eine L�sung brauche.

Ich werde trotz dem einmal in die HOWTO schauen, vielleicht ist das ja recht
easy.

so denn

C. Dahmen


Iwo Mergler <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> Christian Dahmen wrote:
> >
> > Hi,
> > ich bin auf der Suche nach einem Linuxtreiber (Kernel 2.1) f�r einen
> > i8255 Chip.
> > Bei Conrad habe ich mir die i8255 ISA Karte von bmc gekauft (top Teil),
nur
> > unter Linux finde ich keinen Treiber.
> >
> > Wer kann mir helfen?
> >
> > C.Dahmen
>
> Der 8255 ist relativ einfach gebaut. Wenn ich mich richtig erinnere, sind
das
> nur 4 8-Bit Register, Port A-C und ein Steuerregister.  Es ist
wahrscheinlich
> am einfachsten, selber ein kleines Programm dafuer zu schreiben. Alles was
Du
> wissen musst, steht im IO-Port-Programming Howto. :^) Ich helfe Dir gerne
bei
> konkreten Problemen damit...
>
> Iwo
>
> [OP is looking for a driver for the 8255 chip. I suggested the
do-it-yourself
> approach.]



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

From: Steve Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: mpeg capture from video capture card
Date: Tue, 18 Jul 2000 05:17:44 -0400

blowfish wrote:

> Yes, broadcast 2000 is really neat.
> 
> Try it with multi SMP clusters.  You'll love it.

*Sigh*

Actually, BC2000 is the reason I'm saving up for an SMP mobo.

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

From: Giorgio Di Natale <[EMAIL PROTECTED]>
Subject: Router
Date: Tue, 18 Jul 2000 11:15:28 +0200

Hi everybody,
  I'm developing a dependable routing system based on Linux. Somebody
knows the meaning and the functionality of the struct named
'rt_hash_table' into the file 'net/ipv4/route.c'?

Thank you very much

Bye

                      __\/__ 
                  .  / ^  _ \  . 
                  |\| (o)(o) |/| 
#----------------.OOOo--oo--oOOO.-----------# 
# Giorgio Di Natale                         # 
# PhD Student                               # 
# Tel:   +39 011 564 7084                   #
# Email: [EMAIL PROTECTED]                 #
# WWW:   http://www.testgroup.polito.it/    #
#_________________________Oooo._____________# 
                  .oooO   (   ) 
                  (   )    ) / 
                   \ (    (_/ 
                    \_) 


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

From: Wesley Wong <[EMAIL PROTECTED]>
Subject: new kernel now recognize my HPT366 UDMA hd, but screw my sound card
Date: Tue, 18 Jul 2000 09:30:02 GMT

I've downloaded kernel-source-2.2.16-3 and upgraded my kernel, 
mainly because after I patched this kernel, it supports my
HPT366 20 GIG IBM HD. But now, it screw my sound card 
saying

[root@localhost /root]# modprobe emu10k1
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol remap_page_range
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol __wake_up
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol kmalloc
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol
interruptible_sleep_on
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol __pollwait
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol kfree
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol mem_map
/lib/modules/2.2.16-3/misc/emu10k1.o: unresolved symbol printk
/lib/modules/2.2.16-3/misc/emu10k1.o: insmod
/lib/modules/2.2.16-3/misc/emu10k1.o failed
/lib/modules/2.2.16-3/misc/emu10k1.o: insmod emu10k1 failed
[root@localhost /root]# 

I am sure my sound card work, because the same module works before. I tried
to mv my old module for emu10k1 in 2.2.14-5.0 modules dir, but it gives me
even more errors. Anyone know why and how to fix it? (My sound card is SB
live!, and I suspect somehow, the IRQ is not manage very well, resulting
the error maybe...)

--
Posted via CNET Help.com
http://www.help.com/

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

From: Fabrice Peix <[EMAIL PROTECTED]>
Subject: Re: file_operations structure
Date: Tue, 18 Jul 2000 11:33:29 +0200

Richard Meester wrote:
> 
> Hello,
> 
> I have a question about the file_operations structure.
> 
> In the book from alessandro rubini the read and write functions of this
> structure looked like:
> 
> long long (or int) write (struct inode *, struct file *, const char
> *buf, unsigned long count);
> 
> when i tried this in my driver the count argument was all screwed up.
> 
> When looking in th linux/fs.h the file_operations structure looked quite
> different;
> 
> long long  write (struct inode *, const char *buf, size_t count, loff_t
> *);
> 
> can anyone tell me since which kernel this has changed. I use 2.2.14-5.
> 
> And can anyone also tell me what the loff_t argument is used for?
> 
> Regards Richard Meester
> 
> --
> Quest Innovations
> tel: +31 (0) 227 604046
> http://www.quest-innovations.com

This difference appears between 2.0 and 2.2 
i think loff_t argument  is use for asynchronous io.

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

From: vdeverre <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development
Subject: Pbl Synchro Client/Server
Date: Tue, 18 Jul 2000 11:47:37 +0200

I write a FTP Client.
I use read and write function.

I send a command to the FTP Server and just after I read the answer.

Normally I must have the answer of my question when I print my string to
the screen, like
C-> USER toto
S -> 331 Password required for toto.
(stdout) 331 Password required for toto.
C -> PASS toto
S -> 230 User cpi logged in.
(stdout) 230 User cpi logged in.

But something I've the answer of the precedent commande
C-> USER toto
S -> 331 Password required for toto.
C -> PASS toto
S -> 230 User cpi logged in.
(stdout) 331 Password required for toto.

in my char string I've: 331 Password required for toto.\0x0D\0x0A230
User cpi logged in.\0x0D\0x0A

Hown can I wait the end of the answer of the FTP server and the flush it
?

It seems that I execute my command more quickly that the speed of data
of socket.

I use a socket descriptor for my function and not a file descriptor.


Thanks.

--

=========================================
DEVERRE Vincent - MCII : [EMAIL PROTECTED]
=========================================




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

From: [EMAIL PROTECTED]
Subject: Re: Installation of Oracle 8.1.16 for Linux
Date: Tue, 18 Jul 2000 11:26:51 GMT

In article <8ksu17$6k9$[EMAIL PROTECTED]>,
  "Christof Laeremans" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to install Oracle 8.1.16 on my Linux PC but when I start the
> installation there is a error message that's appear: "Can not be installed
> on local hard disks"
>
> Is there any person who can help me by installing Oracle ??
>
> Christof
>
>
Hi,

I've installed Oracle too.
I've got no problem with RedHat 6.2 and Oracle.
You only must set the enviroment variable ORACLE_HOME=/usr/local/oracle
and the ORACLE_SID should be your password.
Then install.
I've installed it on to PC's and there was no problem.

I hope it helps.

Andr�




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

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

From: "NTUST" <[EMAIL PROTECTED]>
Subject: how do I trace linux kernel?
Date: Tue, 18 Jul 2000 19:43:29 +0800

as title

    I wanna trace a linux kernel.
    So....where is the related document about linux kernel?
    I hope someone can give some suggestions.
    thanks




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

From: [EMAIL PROTECTED] (Stephen Harris)
Subject: Re: Question: system() from C++ CGI to Perl with Kernel 2.2.16
Date: Tue, 18 Jul 2000 11:24:33 GMT

Mario Klebsch ([EMAIL PROTECTED]) wrote:
: Lisa Wilcox <[EMAIL PROTECTED]> writes:

: >I've got a C++ CGI making a syscall to a Perl program on a Red Hat Linux
: >test server with kernel 2.2.5, and working beautifully.  On another
: >system where the main difference is the kernel (2.2.16), it doesn't
: >work at all.  I have combed through all relevant logs in /var/log and

: It definitely would be a good idea, to look into this
: /var/log/httpd/error_log and see, what error messages there are.

It would also be useful programming the C++ side to report the return code
from the system() call.  Maybe also at the beginning of the program, make
stderr go to a special log file (eg /tmp/mycgi.err) for debugging.  REMOVE
THAT WHEN IT WORKS :-)
-- 
                                 Stephen Harris
                 [EMAIL PROTECTED]   http://www.spuddy.org/
      The truth is the truth, and opinion just opinion.  But what is what?
       My employer pays to ignore my opinions; you get to do it for free.      
  * Meeeeow ! Call  Spud the Cat on > 01708 442043 < for free Usenet access *

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

From: [EMAIL PROTECTED]
Subject: Re: My own distribution
Date: Tue, 18 Jul 2000 12:44:09 GMT

On Mon, 17 Jul 2000 12:15:55 +0200 Gregor Zor� <[EMAIL PROTECTED]> wrote:

| I would like to make my own Linux distribution cd wich I could share
| with others.

Why?  WHat I'm asking is, are you thinking of some idea or philosophy
that will make your distribution at least distinct, and for people like
yourself also better, than what's out there now?


| There are sites on the web, where you get instructions, how to make your
| own distribution on your hard drive (like http://www.diylinux.com/ ).
| But I couldn't find a site with instructions, how to make your own linux
| distribution cd.

You have to first decide what your installation process will be like.
Then you basically build a CD bootable system.  In abstract, what will
happen is that the CD will have a boot image which contains a kernel
and a ramdisk image.  The ramdisk will be mounted either as / or as
the initrd (something to go read about).  The CD may also be mounted.
The system setup with either automatically run your installer program,
or instruct the user how to do so (probably login as root and do it).


| I would like to make a distribution cd, wich I could take to my friend,
| and install my distribution on his/her computer. Basicly I would like to
| hava a distribution cd like let's say Red Hat, just fewer instalation
| options.

Certainly one way to make a distribution is to untar a massive tar file
with everything in it, initialize lilo, and go for it.  You'll probably
have to partition something before that.  I'm planning to do something
almost like that.

-- 
| Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
| phil  (at)  ipal.net +----------------------------------------------------
| Dallas - Texas - USA | [EMAIL PROTECTED]

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

Date: Tue, 18 Jul 2000 15:20:32 +0200
From: Hoch Martin <[EMAIL PROTECTED]>
Crossposted-To: 
ch.comp.os.linux,comp.os.linux.embedded,comp.os.linux.misc,maus.computer.linux,ch.comp.os.linux,alt.os.linux,z-netz.alt.linux,tu-graz.betriebssysteme.linux,at.linux
Subject: kernel hangs in sock_recvmsg

Hello !

I have a problem with stopping a kernel thread in a driver module. The
thread is receiving data all the time and should be stopped by
kill_proc(...). Then the function waits till the thread has stopped
operation using a semaphore.
This mechanism works fine almost the time, but in one of 10 to 100 cases
this mechanism failes. The thread is stuck in sock_recvmsg(..) and
down(..) never returns.
Below is an excerpt of the code. I'm using kernel 2.10

Does anybody have an idea ?

thanks,
Martin

The code of the thread
....
    for (;;)
    {
        oldfs = get_fs();
        set_fs(get_ds());

        iov.iov_base = buf;
        iov.iov_len = MAX_SIZE;
        memset( &msg, 0, sizeof(msg));
        msg.msg_namelen = sizeof( struct sockaddr_in );
        msg.msg_flags = MSG_DONTWAIT;
        msg.msg_iov = &iov;
        msg.msg_iovlen = 1;
        result = sock_recvmsg( rs->socket, &msg,
                    MAX_SIZE, MSG_WAITALL);
        set_fs(oldfs);
        if (signal_pending( current ))
        {
            up( &rs->waiting_sem );
            break;
        }
        ... do something with data ...
    }


stopping the thread:
    kill_proc( rs->pid,  SIGUSR1, 1 );
    down( &rs->waiting_sem );



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

From: [EMAIL PROTECTED]
Subject: strange "mv" bug
Date: Tue, 18 Jul 2000 14:42:14 GMT

It appears in Linux (Slackware 7.0 with 2.2.16 in this case, but also
in Redhat 6.0 with 2.2.10):

phil@procyon:/home/phil 2> ls -ld d f1 f2
ls: d: No such file or directory
ls: f1: No such file or directory
ls: f2: No such file or directory
phil@procyon:/home/phil 3> mkdir d
phil@procyon:/home/phil 4> touch f1
phil@procyon:/home/phil 5> ln f1 f2
phil@procyon:/home/phil 6> mv f1 f2 d
mv: d/f2: No such file or directory
phil@procyon:/home/phil 7> mv f2 d

But in Solaris 2.7 it works as expected:

phil@sirius:/home/phil 2> ls -ld d f1 f2
d: No such file or directory
f1: No such file or directory
f2: No such file or directory
phil@sirius:/home/phil 3> mkdir d
phil@sirius:/home/phil 4> touch f1
phil@sirius:/home/phil 5> ln f1 f2
phil@sirius:/home/phil 6> mv f1 f2 d
phil@sirius:/home/phil 7> 

Any ideas why a single invokation of "mv" cannot move to links to the same
object from them both being in a common directory to a different common
directory?  Oh, and it doesn't matter that the directories are parent
and child:

phil@procyon:/home/phil 8> ls -ld e
ls: e: No such file or directory
phil@procyon:/home/phil 9> mkdir e
phil@procyon:/home/phil 10> mv d/f1 d/f2 e
mv: e/f2: No such file or directory
phil@procyon:/home/phil 11> mv d/f2 e
phil@procyon:/home/phil 12> 

I'll have to write some code to see if I can make the problem happen
with the rename() system call to see if it's a bug in the kernel.
I suspect a problem with the "mv" command, but I cannot imagine what
that could be.

-- 
| Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
| phil  (at)  ipal.net +----------------------------------------------------
| Dallas - Texas - USA | [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Tom Daley)
Subject: Re: Warning! -- SONY SUBSTANDARD SERVICE
Date: 18 Jul 2000 15:20:39 GMT

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> Anyone considering the purchase of a Sony peripheral for their computer
> might want to give it some further thought. There clearly is not a
> reciprocal relationship between what they sell and what they service. 
> -

I have had bad service with Sony service as well.  I bought a Sony
factory refurbished monitor.  The image on the screen jitters from 
side to side.  I can't watch it for any length of time.  I sent it 
back for service (shipping at my expense).  When it came back it
still had the problem.

On the other hand, I had a bad Epson printer and they sent a new
one to me as long as I sent the bad one back in the same box.

-- 
===================================================================
|         o        Tom Daley                                      |
|   ___ </v        Woodland Park, CO                              |
|  ___  -\         [EMAIL PROTECTED]                            |
| ___    /                                         (719) 785-4227 |
|       (*)        Linux!                                         |
===================================================================


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

From: Robert Lynch <[EMAIL PROTECTED]>
Subject: Re: strange "mv" bug
Date: Tue, 18 Jul 2000 08:59:05 -0700
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:
> 
> It appears in Linux (Slackware 7.0 with 2.2.16 in this case, but also
> in Redhat 6.0 with 2.2.10):
> 
> phil@procyon:/home/phil 2> ls -ld d f1 f2
> ls: d: No such file or directory
> ls: f1: No such file or directory
> ls: f2: No such file or directory
> phil@procyon:/home/phil 3> mkdir d
> phil@procyon:/home/phil 4> touch f1
> phil@procyon:/home/phil 5> ln f1 f2
> phil@procyon:/home/phil 6> mv f1 f2 d
> mv: d/f2: No such file or directory
> phil@procyon:/home/phil 7> mv f2 d
======
Works for me on RH 6.2:

$ mkdir d
$ touch f1
$ ln f1 f2
$ mv f1 f2 d
$ ls d
f1  f2 

HTH. Bob L.
=====                                                                         
> But in Solaris 2.7 it works as expected:
> 
> phil@sirius:/home/phil 2> ls -ld d f1 f2
> d: No such file or directory
> f1: No such file or directory
> f2: No such file or directory
> phil@sirius:/home/phil 3> mkdir d
> phil@sirius:/home/phil 4> touch f1
> phil@sirius:/home/phil 5> ln f1 f2
> phil@sirius:/home/phil 6> mv f1 f2 d
> phil@sirius:/home/phil 7>
> 
> Any ideas why a single invokation of "mv" cannot move to links to the same
> object from them both being in a common directory to a different common
> directory?  Oh, and it doesn't matter that the directories are parent
> and child:
> 
> phil@procyon:/home/phil 8> ls -ld e
> ls: e: No such file or directory
> phil@procyon:/home/phil 9> mkdir e
> phil@procyon:/home/phil 10> mv d/f1 d/f2 e
> mv: e/f2: No such file or directory
> phil@procyon:/home/phil 11> mv d/f2 e
> phil@procyon:/home/phil 12>
> 
> I'll have to write some code to see if I can make the problem happen
> with the rename() system call to see if it's a bug in the kernel.
> I suspect a problem with the "mv" command, but I cannot imagine what
> that could be.
> 
> --
> | Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
> | phil  (at)  ipal.net +----------------------------------------------------
> | Dallas - Texas - USA | [EMAIL PROTECTED]
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: strange "mv" bug
Reply-To: [EMAIL PROTECTED]
Date: Tue, 18 Jul 2000 16:02:17 GMT

On Tue, 18 Jul 2000 14:42:14 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>phil@procyon:/home/phil 3> mkdir d
>phil@procyon:/home/phil 4> touch f1
>phil@procyon:/home/phil 5> ln f1 f2
>phil@procyon:/home/phil 6> mv f1 f2 d
>mv: d/f2: No such file or directory
>phil@procyon:/home/phil 7> mv f2 d

I have investigated this with strace and it indeed is a bug with mv.  When mv
does a stat() on f2, it appears to realize that it has moved that file object
before and then erroneously looks for it the target directory. 

Since this is GNU mv, you should submit an appropriate bug report to the GNU
folks or raise a discussion in some gnu.* newsgroup.

>I'll have to write some code to see if I can make the problem happen
>with the rename() system call to see if it's a bug in the kernel.

Save your keystrokes; do an strace on mv, it's mv that is doing the
wrong thing.

stat("d", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
lstat("f1", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
lstat("d/f1", 0xbffff894)               = -1 ENOENT (No such file or directory)
rename("f1", "d/f1")                    = 0
lstat("f2", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
lstat("d/f2", 0xbffff894)               = -1 ENOENT (No such file or directory)
link("d/f2", "d/f2")                    = -1 ENOENT (No such file or directory)
write(2, "mv: ", 4)                     = 4
write(2, "d/f2", 4)                     = 4
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)

>I suspect a problem with the "mv" command, but I cannot imagine what
>that could be.

I think it's trying to reproduce links by actually relinking in the target
directory rather than moving the link, but it is fumbled. That is
to say, it seems to want to do:

        rename("f1", "d/f1");
        /* realize f2 is a link to f1 */
        link("d/f1", "d/f2");

Perhaps there are filesystems out there where hard links cannot cross directory
boundaries, so this algorithm is needed.

-- 
#exclude <windows.h>

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


** 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.development.system) 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-Development-System Digest
******************************

Reply via email to