Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 08:30:38 GMT
From:      Matthew Thyer <thyerm@powerband.net.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/71141: NFS version 3 export of mounted Joliet CD ROM not correct
Message-ID:  <200408300830.i7U8Ucqd077201@www.freebsd.org>
Resent-Message-ID: <200408300840.i7U8ePRS017167@freefall.freebsd.org>

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

>Number:         71141
>Category:       kern
>Synopsis:       NFS version 3 export of mounted Joliet CD ROM not correct
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 30 08:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Thyer
>Release:        5.3-BETA1
>Organization:
>Environment:
FreeBSD freebie 5.3-BETA1 FreeBSD 5.3-BETA1 #0: Sat Aug 21 08:19:34 UTC 2004     root@mack.dcsl.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
On a Solaris UNIX system (Solaris 8 or 9 will do):

> sudo /usr/sbin/mount freebie:/cdrom /mnt
> ls -l /mnt
total 0
-r-xr-xr-x   1 root     root           0 Jan  1  1970 Copyright
-r-xr-xr-x   1 root     root           0 Jan  1  1970 Solaris_9
> sudo /usr/sbin/umount /mnt
> sudo /usr/sbin/mount -o vers=2 freebie:/cdrom /mnt
> ls -l /mnt
total 17
-r--r--r--   2 root     root        7063 Nov 12  2003 Copyright
drwxr-xr-x   7 root     root        2048 Nov 21  2003 Solaris_9

Not only are the date stamps wrong, but also the file sizes and the types of the files.  Notice that the directory "Solaris_9" is coming up as a file.
>How-To-Repeat:
Mount a CD-ROM using mount_cd9660 on the FreeBSD machine.

Have it shared (read only or read write).

Try to NFS mount the shared file system onto a Solaris machine.

I suspect that the CD ROM may need to include Joliet extensions.
The CD ROM I have used in this example is Solaris 9 12/03 1 of 2.

I believe that almost any CD ROM from a commercial vendor will exhibit this problem.
>Fix:
The workaround is to mount using NFS version 2.
>Release-Note:
>Audit-Trail:
>Unformatted:



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