Question:
1. There are link-missing errors, so I want to locate where
and name of the symlink file, if it exists.
2. Is there a command that can locate a symbolic linked file
when you ONLY list the original REAL file?
3. Any flags for 'fsck' to not cause any problems (-ofull -n)
assuming 'fsck' will track the problem... to locate if and where
there is a symlink?
Any feedback is appreciated.
- Jeff H
What is showing such errors? custom verification? If so, save the
error report and look at it.
| 2. Is there a command that can locate a symbolic linked file
| when you ONLY list the original REAL file?
I can't think of one, but my BackupEdge master log lists these symlinks.
| 3. Any flags for 'fsck' to not cause any problems (-ofull -n)
| assuming 'fsck' will track the problem... to locate if and where
| there is a symlink?
Fsck will note empty symlinks, but it won't detect existing symlinks
to any given real file.
--
JP
LONE-TAR backup summaries.
|
| | 2. Is there a command that can locate a symbolic linked file
| | when you ONLY list the original REAL file?
|
| I can't think of one, but my BackupEdge master log lists these symlinks.
So does LONE-TAR... but neither control or fix a broken link.
A customer is getting errors on the backup summary where there are
missing links. Many times the REAL data may be missing, and its real
easy to know where the symlink points to. In this case, I'm looking
for a command that shows where the symlink is pointing to when all
you have is the REAL file to do a 'ls'.
The error long shows the symlink pointing back to itself... when in fact
its known that it crosses partitions.
|
| | 3. Any flags for 'fsck' to not cause any problems (-ofull -n)
| | assuming 'fsck' will track the problem... to locate if and where
| | there is a symlink?
|
| Fsck will note empty symlinks, but it won't detect existing symlinks
| to any given real file.
|
| --
| JP
It's good to hear from you JP :-) Been awhile since we've spoken.
- Jeff
Hi Jeff,
Ask your customer to umount /dev/u, then have them look in /u
to see if there are any files that could be the missing links.
When /dev/u is mounted, it SHOULD be to an empty /u directory.
If the /u directory is NOT empty, mounting a filesystem
to /u will hide those files that are a part of the root directory.
Good luck,
Dan Martin
Oops. I meant to say that mounting to a non-empty /u directory
will hide those files in /u that are a part of the root filesystem,
not root directory.
Dan
gfind has a -lname predicate for this purpose.
John
--
John DuBois spc...@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/
John,
Now we're talkin'.
On 5.0.6, there is no 'gfind'.
Any spot to track this command down?
- Jeff H
Dan,
I know about data potentially being there if unmounted.
Seen that before :-)
If '/u' is unmounted, in multiuser mode, the dir is empty.
- Jeff H
You can get source code for GNU utilities all over the internet. If you
don't prefer, as I do, to compile my own bianaries, then just grab the
findutils package from Skunkware.
--
JP
Install gwxlibs and/or gnutools. It's in one of those. The latest
version of gwxlibs is actually a sub-package in osr507mp5 which I have
installed even on 5.0.5 systems without apparent problem as long as the
prerequisites were installed first, which in your case is just going to
be rs506a and oss646c, but there is also a stand-alone package on
ftp.sco.com that's good enough. look for gwxlibs-2.1.0-something.
The latest gnutools is somewhat older than gwxlibs and is gnutools-507Kj
Many of the binaries in gnutools (possibly not gfind, but still, why
install broken stuff?) require gwxlibs, so gnutools installer will say
install gwxlibs first, however, gwxlibs is actually years newer, and, a
bunch of files overlap because they were moved from gnutools to gwxlibs,
so, you really want to force gnutools to install first, ignore errors,
then install gwxlibs. Otherwise the old gnutools displaces a bunch of
files from the new gwxlibs. search this list archive on google groups
for messages containing gnutools and gwxlibs and you should find a few
different posts where I gave a more detailed recipe in the past. You
need to place an empty file in /tmp just before the gnutools install to
tell it to allow you to ignore the gwxlibs requirement but I forget the
details.
Those are both pretty big downloads though, and then pretty big
installs, so much so that it might push the limits of your available
space on the root fs because the default install procedure for osr 506
sets up, or suggests anyways, a pretty small root. So, There are older
versions around too that might or might not have the required feature,
but they require a lot less for you to install them because they were
compiled years earlier on older systems with fewer add-on libraries.
Many skunkware binaries don't require anything at all, they were built
against stock libraries and can just be installed on stock systems. I
don't remember the different skunkware package names that might have
find in it. There might be a nice obvious seperate package called find,
but I think it's more likely included in one called find utils or file
utils or shell utils, or different versions in more that one of those.
So, if you think you can't do the big new packages, you can look for
those old skunkware ones.
-- bkw
OK, What's the minimum necessary to get gcc working on OSR 6?
Bill
--
INTERNET: bi...@celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
Giving money and power to government is like giving whiskey and car keys to
teenage boys -- P.J. O'Rourke
- Jeff H