Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 19:25:16 +0100 (CET)
From:      Cyrille Lefevre <clefevre@poboxes.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        clefevre@poboxes.com
Subject:   kern/25067: able to mount a pathname > 80 char. but unable to unmount it
Message-ID:  <200102131825.f1DIPGB78334@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102131825.f1DIPGB78334>