Re: Mounting a CDROM in freeBSD 4.2

2001-01-17 Thread Daniel C. Sobral

mouss wrote:
 
 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.

-- 
Daniel C. Sobral(8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

"There is no spoon." -- Kiki



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



Re: Mounting a CDROM in freeBSD 4.2

2001-01-17 Thread Ian Dowse

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



Re: Mounting a CDROM in freeBSD 4.2

2001-01-16 Thread Philippe CASIDY

In article [EMAIL PROTECTED],
[EMAIL PROTECTED] writes:
   Please send the response directly back to me, in addition to sending 
 it to  hackers , as the volume of mail to  hackers  is so great that I could 
 very easily miss the response if it were only sent there.
   I just installed  freeBSD 4.2  and found that I couldn't mount a  
 CDROM  even though I copied the command-lines from (the top of) page 236 of 
 Greg Lehey's book (ISBN 1-57176-246-9).  When I was running  freeBSD 3.3 , I 
 was able to mount a  CDROM , and I believe I did it just as described in 
 Greg's book.  The error message that I get is 'cd9660: Device not 
 configured'.  I was able to mount and read an  MSDOS  floppy.
 

The naming of the cdrom has changed from 3.x to 4.x. I do not remember the old
name but the new name is /dev/acd0c for an ATAPI cdrom. So you must have
in /etc/fstab something like...
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0


Maybe you encounter this kind of trouble.

Regards,

Phil.


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



Re: Mounting a CDROM in freeBSD 4.2

2001-01-16 Thread mouss

and you must make sure your kernel is compiled with
options CD9660


At 18:08 16/01/01 +0100, Philippe CASIDY wrote:
The naming of the cdrom has changed from 3.x to 4.x. I do not remember the old
name but the new name is /dev/acd0c for an ATAPI cdrom. So you must have
in /etc/fstab something like...
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0


Maybe you encounter this kind of trouble.



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



Re: Mounting a CDROM in freeBSD 4.2

2001-01-16 Thread gerald stoller

  I'd like to thank every one who responded, and all those who were 
willing to respond but saw that they would be repeating information already 
sent.
  It turns out that the designation of the  CDROM  drive changed between 
versions  3.3  and  4.2 , and the only one I knew was the designation of the 
  CDROM  drive for version  3.3 .  I did a
 grep -i  cdrom  *.TXT
on the files
 ABOUT.TXT INSTALL.TXT   README.TXTTROUBLE.TXT
 ERRATA.TXTLAYOUT.TXTRELNOTES.TXT  UPGRADE.TXT
and found no mention of the designation of the  CDROM  drive, so I am glad 
that a couple of responders sent it to me.  I would like to know how they 
found out this tidbit of information so I'll know where to look for it in 
the future.  I would suggest that there be a  man page  listing all the 
drive designations ( CDROM ,  A ,  B [if one has it] ,  IDE  [or other] 
drive D , etc. ,  SCSI drives ) and this  man page  should be referenced as 
a "SEE ALSO" in all the  mount  man pages .  Possibly it could be like Greg 
Lehey's table 13.5 except that it should be more complete.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com



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



Mounting a CDROM in freeBSD 4.2

2001-01-15 Thread gerald stoller

  Please send the response directly back to me, in addition to sending 
it to  hackers , as the volume of mail to  hackers  is so great that I could 
very easily miss the response if it were only sent there.
  I just installed  freeBSD 4.2  and found that I couldn't mount a  
CDROM  even though I copied the command-lines from (the top of) page 236 of 
Greg Lehey's book (ISBN 1-57176-246-9).  When I was running  freeBSD 3.3 , I 
was able to mount a  CDROM , and I believe I did it just as described in 
Greg's book.  The error message that I get is 'cd9660: Device not 
configured'.  I was able to mount and read an  MSDOS  floppy.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com



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



Re: Mounting a CDROM in freeBSD 4.2

2001-01-15 Thread Soren Schmidt

It seems gerald stoller wrote:
   Please send the response directly back to me, in addition to sending 
 it to  hackers , as the volume of mail to  hackers  is so great that I could 
 very easily miss the response if it were only sent there.
   I just installed  freeBSD 4.2  and found that I couldn't mount a  
 CDROM  even though I copied the command-lines from (the top of) page 236 of 
 Greg Lehey's book (ISBN 1-57176-246-9).  When I was running  freeBSD 3.3 , I 
 was able to mount a  CDROM , and I believe I did it just as described in 
 Greg's book.  The error message that I get is 'cd9660: Device not 
 configured'.  I was able to mount and read an  MSDOS  floppy.

You dont give us any information to go on at all, what was the
exact command you issue'd ?

-Sren


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



Re: Mounting a CDROM in freeBSD 4.2

2001-01-15 Thread gerald stoller




From: Soren Schmidt [EMAIL PROTECTED]
To: [EMAIL PROTECTED] (gerald stoller)
CC: [EMAIL PROTECTED]
Subject: Re: Mounting a  CDROM  in freeBSD 4.2
Date: Mon, 15 Jan 2001 19:50:59 +0100 (CET)

It seems gerald stoller wrote:
Please send the response directly back to me, in addition to 
sending
  it to  hackers , as the volume of mail to  hackers  is so great that I 
could
  very easily miss the response if it were only sent there.
I just installed  freeBSD 4.2  and found that I couldn't mount a
  CDROM  even though I copied the command-lines from (the top of) page 236 
of
  Greg Lehey's book (ISBN 1-57176-246-9).  When I was running  freeBSD 3.3 
, I
  was able to mount a  CDROM , and I believe I did it just as described in
  Greg's book.  The error message that I get is 'cd9660: Device not
  configured'.  I was able to mount and read an  MSDOS  floppy.

You dont give us any information to go on at all, what was the
exact command you issue'd ?

-Søren

The exact command (issued as  root ) was
  mount -t cd9660 -o ro  /dev/cd1a  /cdrom
after I had previously donemkdir /cdrom   .
I also read the  man  pages for the  mount's .
_
Get your FREE download of MSN Explorer at http://explorer.msn.com



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