In message <[EMAIL PROTECTED]>, "Daniel C. Sobral" writes:
>> and you must make sure your kernel is compiled with
>> options CD9660
>
>Err... no. The kld gets autoloaded if the kernel doesn't have cd9660
>compiled-in.

The error message that is printed is misleading though, and gives the
impression that cd9660 filesystem support is missing:

        cd9660: No such file or directory

When mount(8) runs mount_cd9660, it gives it an argv[0] of the
fileystem type i.e. 'cd9660'. That's where the cd9660 in the error
message comes from. Maybe mount_cd9660 (and other mount_* programs)
should provide a bit more information in the error message?

Ian

Index: mount_cd9660.c
===================================================================
RCS file: /home/iedowse/CVS/src/sbin/mount_cd9660/mount_cd9660.c,v
retrieving revision 1.15
diff -u -r1.15 mount_cd9660.c
--- mount_cd9660.c      1999/10/09 11:54:08     1.15
+++ mount_cd9660.c      2001/01/17 12:34:23
@@ -176,7 +176,7 @@
                errx(1, "cd9660 filesystem is not available");
 
        if (mount(vfc.vfc_name, mntpath, mntflags, &args) < 0)
-               err(1, NULL);
+               err(1, "%s on %s: mount", mntpath, dev);
        exit(0);
 }
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to