From owner-freebsd-bugs Tue Feb 13 10:30:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E9DB437B503 for ; Tue, 13 Feb 2001 10:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1DIU2o52380; Tue, 13 Feb 2001 10:30:02 -0800 (PST) (envelope-from gnats) Received: from balzac.cybercable.fr (balzac.cybercable.fr [212.198.0.198]) by hub.freebsd.org (Postfix) with SMTP id B980437B491 for ; Tue, 13 Feb 2001 10:25:20 -0800 (PST) Received: (qmail 16325122 invoked from network); 13 Feb 2001 18:25:18 -0000 Received: from d165.dhcp212-231.cybercable.fr (HELO gits.dyndns.org) ([212.198.231.165]) (envelope-sender ) by balzac.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 13 Feb 2001 18:25:18 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.1/8.11.1) id f1DIPGB78334; Tue, 13 Feb 2001 19:25:16 +0100 (CET) (envelope-from root) Message-Id: <200102131825.f1DIPGB78334@gits.dyndns.org> Date: Tue, 13 Feb 2001 19:25:16 +0100 (CET) From: Cyrille Lefevre Reply-To: clefevre@poboxes.com To: FreeBSD-gnats-submit@freebsd.org Cc: clefevre@poboxes.com X-Send-Pr-Version: 3.2 Subject: kern/25067: able to mount a pathname > 80 char. but unable to unmount it Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25067 >Category: kern >Synopsis: able to mount a pathname > 80 char. but unable to unmount it >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 13 10:30:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 4.2-STABLE i386 >Organization: ACME >Environment: FreeBSD gits 4.2-STABLE FreeBSD 4.2-STABLE #7: Tue Jan 23 07:33:34 CET 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 >Description: while I was fixing grub-image from the grub port (0.5.96->0.5.96.1), I was able to mount a virtual device (vn) to a pathname greater than 80 char. and I am unable to unmount it ! >How-To-Repeat: # mkdir -p /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_characters # dd if=/dev/zero of=/tmp/image.flp bs=1k count=1440 # vnconfig -c -s labels vn0 /tmp/image.flp # disklabel -Brw vn0 auto # newfs vn0c # mount /dev/vn0c /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_characters # df /dev/vn0c Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/vn0c 1359 1 1250 0% /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_char # cp /boot/loader /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_characters # df /dev/vn0c Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/vn0c 1359 169 1082 14% /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_char # umount -f /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_characters umount: /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_characters: not currently mounted # umount -f /dev/vn0c umount: unmount of /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_char failed: No such file or directory # df /dev/vn0c Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/vn0c 1359 169 1082 14% /a/very_very_very_very_very_very_very_very_long_pathname_with_more_than_80_char >Fix: none yet. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message