Red Hat Bugzilla – Bug 127158
Last modified: 2007-04-18 13:09:20 EDT
Workbook 5: The Linux Filesystem
> Lesson 2: Hard and Soft Links
> Suppose the system administrator moved the /usr/bin directory, as
> [root@station root]# mv /usr/bin /usr/lib/bin
> 5. Which files in the new /usr/lib/bin directory would be dangling
> symbolic links?
> A. bzcat
> Y B. gunzip
> Y C. gzip
> D. lz
> - E. uncompress
> F. zgrep
> The 'test' claims that 'E' is also a correct answer. If 'E' is
> correct, then so to is 'A'. 'A' & 'E' are both wrong or right
> by the same logic...
> ----- Excerpt -----
> ./bzcat -> bzip2
> ./gunzip -> ../../bin/gunzip
> ./gzip -> ../../bin/gzip
> ./uncompress -> compress
> ----- ----- ----- -----
> Both gunzip & gzip would be effected by the move of /usr/bin
> Both bzcat & uncompress point to the current directory
> Neither bzcat nor uncompress is effected by the move,
> they are either already hanging links or they are not.
> The information given conatains NEITHER bzip2 nor compress,
> says "many lines have been omitted" and so does not give
> enough info to tell if they are hanging links....
> The correct answers should be 'B' & 'C'.
fixing this will require a db change, and therefore a new