Auto mounting USB thumb drives and CD/DVD

Wayne Blaszczyk wblaszcz at bigpond.net.au
Sun Apr 11 07:05:15 PDT 2010


On 11/04/10 22:25, Baho Utot wrote:
> On 04/10/10 22:38, Wayne Blaszczyk wrote:
>> On 11/04/10 11:42, Baho Utot wrote:
>>> On 04/10/10 20:21, Andrew Benton wrote:
>>>> On 10/04/10 22:30, Baho Utot wrote:
>>>>> On 04/10/10 17:20, Andrew Benton wrote:
>>>>>
>>>>> [putolin]
>>>>>
>>>>>> Does it work if you specify the device? eg:
>>>>>>
>>>>>> cdrecord dev=/dev/cdrom vista.iso
>>>>>>
>>>>>> Andy
>>>>>
>>>>> Nope
>>>>>
>>>>> I still get cdrecord: No such file or directory. Cannot open '/dev/sg*'.
>>>>> Cannot open SCSI driver.
>>>>>
>>>>> ls /dev/sg*
>>>>> /dev/sg0  /dev/sg1  /dev/sg2  /dev/sg3
>>>>>
>>>> What are the permissions on those? They should be group cdrom and you should
>>>> be a member of the cdrom group, or you could burn the cd as root
>>>>
>>>> Andy
>>>
>>> blfs [ ~ ]$ ls -la /dev/sg*
>>> crw-rw---- 1 root disk  21, 0 Apr 10 17:39 /dev/sg0
>>> crw-rw---- 1 root disk  21, 1 Apr 10 17:39 /dev/sg1
>>> crw-rw---- 1 root disk  21, 2 Apr 10 17:39 /dev/sg2
>>> crw-rw---- 1 root cdrom 21, 3 Apr 10 17:39 /dev/sg3
>>>
>>> Those are set by udev correct?
>> Can you post the following results.
>> ls -la /dev/cd*
>> ls -al /dev/sr*
>> Also, do have the following set in your kernel config?
>> Block devices
>>      Packet writing on CD/DVD media:       Y or M
>>
>> Wayne.
>>
>>
> 
> blfs [ /boot/LFS-6.5 ]$ ls -la /dev/cd*
> lrwxrwxrwx 1 root root 3 Apr 11 08:20 /dev/cdrom -> sr0
> lrwxrwxrwx 1 root root 3 Apr 11 08:20 /dev/cdrw -> sr0
> blfs [ /boot/LFS-6.5 ]$ ls -al /dev/sr*
> brw-rw---- 1 root cdrom 11, 0 Apr 11 08:20 /dev/sr0
> 
> A grep of the config for the kernel does return anything
> 
grep for CONFIG_CHR_DEV_SG
If it's not set, then this is most likely your problem.




More information about the blfs-support mailing list