src/ln.c:167 prints this warning unconditionally:

165     if (S_ISLNK (source_stats.st_mode))
166       {
167         error (0, 0, _("%s: warning: making a hard link to a symbolic link\
168 is not portable"), 
169                quote (source));
170       }

I have found a linux-specific use for this in my boot scripts, and would
like to be able to see other errors from ln without cluttering up the
boot process with this one.

A -q/--quiet option to suppress this (and any other future) warnings would
be appreciated.  (Whether you want it to apply to -V is your option.)

(If you care, I make a subset of a given directory available in a chroot
jail by hard linking the required files into a subdirectory and using
"mount -r --bind" to make them visible in the jail; because they are
hard links, things like shared objects will share page cache space with
the copies used by "outside" programs, and config files can be edited in
their usual places in /etc.)

Thank you!


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to