[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug #608428: freebsd-utils: mount/umount have 80/85 character path limit breaking mounting



forwarded 608428 http://www.freebsd.org/cgi/query-pr.cgi?pr=153600
thanks

This is also reproducible on vanilla FreeBSD (I tested 8.2-RC1),
though the 80-84 character behaviour is absent (only breaks after
85 characters).  The test was done using the following shell
script.

#!/bin/sh

chrs="0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f 0 1 2 3 4 5 6 7 8 9 a b c d e f"

for c in $chrs; do
  cs="$cs$c"
  dir="/tmp/$cs"
  echo "Testing $cs ($(echo -n "$dir" | wc -c) chars)"
  mkdir "$dir"
  mount -v -t linprocfs linprocfs "$dir"
  umount -v "$dir"
  rmdir "$dir"
done


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: