/dev/acd0

/dev/acd0

Post by Oliver Schnuecke » Thu, 26 Jun 2003 04:36:11



Hi,

sorry for something stupid: I kicked /dev/acd0 by abuseing the ln -s
Syntax. Now the device is gone. How can I recreate it?

Many thanks,
Oliver

 
 
 

/dev/acd0

Post by Devo » Thu, 26 Jun 2003 04:40:42



> Hi,

> sorry for something stupid: I kicked /dev/acd0 by abuseing the ln -s
> Syntax. Now the device is gone. How can I recreate it?

> Many thanks,
> Oliver

sh /dev/MAKEDEV all
should work I believe, though you can probably just tell MAKEDEV to
remake acd0, read its usage

--
Devon

 
 
 

/dev/acd0

Post by Oliver Schnuecke » Thu, 26 Jun 2003 04:49:17


Hi,


> sh /dev/MAKEDEV

I am sorry: I cannot find any MAKEDEV.

Oliver

 
 
 

/dev/acd0

Post by Steven G. Kar » Thu, 26 Jun 2003 05:00:20




> Hi,


>> sh /dev/MAKEDEV

> I am sorry: I cannot find any MAKEDEV.

Running 5.x?  5.x doesn't have a MAKEDEV script.
Try "cdcontrol -f /dev/acd0 status".
Also see /etc/devfs.conf or man devfs.

--
Steve
http://troutmask.apl.washington.edu/~kargl/

 
 
 

/dev/acd0

Post by Devo » Thu, 26 Jun 2003 05:11:55



> Hi,


>>sh /dev/MAKEDEV

> I am sorry: I cannot find any MAKEDEV.

> Oliver

Ah, you're running 5.x then I see.  man mknod
You want acd0 to look like this (from 5.0 release):
crw-r--r--  1 root  operator  117,   0 Jun 24 13:01 /dev/acd0

There is probably a better way of doing this (probably something to do
with devd and friends) but mknod should work

--
Devon

 
 
 

/dev/acd0

Post by llewell » Thu, 26 Jun 2003 05:12:57



> Hi,


>> sh /dev/MAKEDEV

> I am sorry: I cannot find any MAKEDEV.

For 5+ , it is no longer provided or required. See:
http://www.freebsd.org/releases/5.1R/early-adopter.html

and search for 'MAKEDEV' .

as for how to fix your original problem:

Quote:> Hi,
> sorry for something stupid: I kicked /dev/acd0 by abuseing the ln -s
> Syntax. Now the device is gone. How can I recreate it?

I don't know. I would:

(a) read 'man 8 devfs'
(b) read 'man 5 devfs'
(c) try:

    # devfs ruleset 0

    as root. (assuming 0 is your ruleset.)

(d) rm the symlink, and try (c) again.
(e) reboot.

Just some guesses. I hope you have backups.

 
 
 

/dev/acd0

Post by Oliver Schnuecke » Thu, 26 Jun 2003 15:41:10



> Hi,

> sorry for something stupid: I kicked /dev/acd0 by abuseing the ln -s
> Syntax. Now the device is gone. How can I recreate it?

> Many thanks,
> Oliver

The solution was quite simple:
Do nothing -  just reboot 5.x .
The device is back at place.

Thanks everybody... :)
Oliver

 
 
 

1. What is the difference between /dev/sg0, /dev/scd0 /dev/hdd and /dev/cdrom ?

Hi people.

I'm trying to debug a problem that I'm having with my CDROM player and
cdparanoia.  They crash talking to each other.

What is the difference between accessing the cdrom via /dev/sg0,
/dev/scd0, /dev/cdrom and /dev/hdd ?

/dev/cdrom is a link, right ?  It is a hard or soft link ?  How would I
point it to something else ?

cdparanoia needs to access the CDROM via a scsi interface.  In order for
that to work, one needs to turn OFF ATAPI CDROM support in the kernel and
turn on general scsi and CDROM scsi support.

Right now my /dev/cdrom device points to /dev/scd0.  Given that cdparanoia
needs a scsi interface, shouldn't this point to /dev/sg0 ?

Furthermore, grub load the following: hdd=ide-scsi.  That means that the
IDE ATAPI CDROM drive will be accessed using the scsi interface, right ?
Could I not point /dev/cdrom to /dev/hdd ?

Thanks,
Nobody

2. XFree86 4.0 Monitor Switch

3. /dev/dsp, /dev/audio, /dev/midi., /dev/sndsta

4. System Reboot. What happen?

5. CDROM problem! acd0?

6. KDE 3.1 Install -> Black Screen

7. /kernel: acd0: read_toc failed

8. Alphaserver 1200 512KB memory kit on ebay

9. /kernel: acd0: read_toc failed...what gives?

10. >/dev/msglog 2<>/dev/msglog </dev/console

11. What is the difference between /dev/ttyS3, /dev/cua3, and /dev/ttys3 ?

12. /dev/fd0 /dev/fd1 /dev/scd0 problems

13. Dev's Dev's Dev's