bevan@ecr.mu.oz.au (Bevan Anderson) (04/17/91)
Hello all. I am having a problem with implimenting the symlinks package found on plains. I applied the patches etc, but somewhere allong the way the files with the defines for MKDIR and RMDIR got killed. I did a quick hack to fs/path.c to remove the RMDIR statement, and the system was up. BUT I cannot now create or remove directories... I also cannot seem to be able to find the defines in the backup I took just before I did the installation. SO can someone out there send me the appropriate defines for both MKDIR and RMDIR? Thanks, Bevan Anderson. ps. But the symlinks work fine....! _______________________________________________________________________________ Bevan Anderson. Engineering bevan@ecr.mu.oz.au Melbourne Uni.
v892231@si.hhs.nl (Tuinder) (04/17/91)
In article <9104170040.AA02233@mcsun.EU.net> you write: >Hello all. > >I am having a problem with implimenting the symlinks package found >on plains. >I applied the patches etc, but somewhere allong the way the files >with the defines for MKDIR and RMDIR got killed. I did a quick hack >to fs/path.c to remove the RMDIR statement, and the system was up. >BUT I cannot now create or remove directories... >I also cannot seem to be able to find the defines in the backup I took >just before I did the installation. Th symlink patches on plains are against 1.5.3. The systemcalls were a litlle different back then. The pacth for callnr.h has a lot of differences. Therefore you had to remove the mkdir/rmdir systemcall's since they are not present in Ken's callnr.h :-) The best way to implement Ken's patches is to start with vanilla 1.5. All the fs-patches are OK except for fs/table.c. You should edit this one manually. The other file you should change yourself is callnr.h. Ken supplies an entire file, but what you should do is edit the current callnr.h and ad the three needed system calls (symlink, readlink, lstat). After you have added these calls, you should edit fs/table.c and add the required callnr. (do_symlink = ??). I did this too, and it worked OK. ___________________________________________________________________________ Edvard Tuinder | internet: v892231@si.hhs.nl Student Computer Science | edvard@bbltv.nl.mugnet.org Haagse Hogeschool | uucp: ...!uunet!mcsun!hp4nl!hhinsi!v892231 The Hague, The Netherlands | ...!uunet!minixug!bbltv!edvard