On Dec 29, 2007 5:52 PM, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
> Carl Lowenstein wrote:
> > On Dec 29, 2007 1:09 AM, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
> >
>
>
> Thanks for mentioning that, Carl. I wasn't seeing anything when doing:
> $ ll /dev | grep hdc
> $ ll /dev | grep hda
> $ ll /dev | grep hdb
>
> So then I tried:
> $ ll /dev
> and was surprised that the listing was so much shorter than I remember
> it having been in the past. From this listing I got some clues, and
> basically ended up getting a summary listing by:
> $ ll /dev | grep disk
> which was still long, and:
> $ ll /dev | grep rafael
> which was shorter, but still long, and finally:
> $ ll /dev | grep sr[0-9]
> lrwxrwxrwx 1 root root 3 2007-12-25 15:19 cdrom -> sr0
> lrwxrwxrwx 1 root root 3 2007-12-25 15:19 cdrom1 -> sr1
> lrwxrwxrwx 1 root root 3 2007-12-25 15:19 cdrw1 -> sr1
> lrwxrwxrwx 1 root root 3 2007-12-25 15:19 dvd1 -> sr1
> lrwxrwxrwx 1 root root 3 2007-12-25 15:19 scd0 -> sr0
> lrwxrwxrwx 1 root root 3 2007-12-25 15:19 scd1 -> sr1
> brw-rw----+ 1 rafael disk 11, 0 2007-12-25 15:19 sr0
> brw-rw----+ 1 rafael disk 11, 1 2007-12-25 15:19 sr1
>
> Does it make a difference if the link's owner and group are root? More
> to the point, would /dev/dvd1 work differently than /dev/sr1 since
> ownership and group are different between the two? Or does the link
> inherit the ownership and group of what they are linked to?
Owner and group (and permissions) of a symbolic link don't really mean
anything. Everything is just passed back from the real target of the
link.
As pointed out by David Brown, you have a newer Linux kernel than I
have, and the older tabulation of device names as /dev/hda /dev/hdb
/dev/hdc etc. has been cleaned up by using the udev system.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list