[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Eroaster as user?.



On Mon, 2003-08-11 at 19:03, Johann Koenig wrote:
> Are they links? Exact output is much preferred to summary. I use devfs,
> and my actual devices are at:
> /dev/scsi/host0/bus0/target[0,1]/lun0/[cd,generic]
> which are chown'd root:cdrom and chmod'd g+rw
> brw-rw----    1 root     cdrom     11,   0 Dec 31  1969 cd
> crw-rw----    1 root     cdrom     21,   0 Dec 31  1969 generic
> 
> But the links are:
> lr-xr-xr-x    1 root     root           36 Aug  9 23:35 /dev/sg0 ->
> scsi/host0/bus0/target0/lun0/generic
> lr-xr-xr-x    1 root     root           36 Aug  9 23:35 /dev/sg1 ->
> scsi/host0/bus0/target1/lun0/generic
> 
> lr-xr-xr-x    1 root     root           31 Aug  9 23:35 /dev/sr0 ->
> scsi/host0/bus0/target0/lun0/cd
> lr-xr-xr-x    1 root     root           31 Aug  9 23:35 /dev/sr1 ->
> scsi/host0/bus0/target1/lun0/cd

They are not links, they are character devices:
/dev/sg0	root:disk	rwxrwxr--
/dev/sg1	root:disk	rwxrwxr--   ........

and my devices are block devices:
/dev/scd0	root:cdrom	rw-rw----
/dev/scd1	root:cdrom	rw-rw----   ........
-- 
ZekeVarg <ZekeVarg@linux.se>



Reply to: