mount command show /dev/sr0 .what sr0 is representing ?
I want to clear a point regarding to my dvd drive.Preior i was using my old pc for linux.At taht time when I use mount command it show me all the mounthed devices included my dvd.like..
/dev/hdc on /media/RHEL_5.3 i386 DVD type iso9660 (ro,noexec,nosuid,nodev,uid=0)
Now I am using a external dvd driter.With mount command for dvd it show me
/dev/sr0 and rest of the things shows that it is my dvd .
the question is what is the difference between /dev/hdc & /dev/sro ?
Please guide me.
hdx is usually used to represent IDE devices, sdx is usually used for SCSI originally, then sata, and USB devices.
sr0, scd0 etc are assigned by the kernel, to devices that are recognised as CD/DVD drives.
It is naming convention for linux, and thats why the notation of device is different (for internal and external devices). /dev/hdc is used to be the old convention for PATA devices usually, and /dev/sr0 is not the new convention used for SATA counterpart.
Logically both are same, and representing the DVD device only.
You can find some useful information;
libATA Developer's Guide
How to configure and use libata SATA / PATA drivers
major libata update
This will depend on the kernel you are using.
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
Thanks for guiding me. I shall discuss it more closely later in this post.Yes you are right "It is naming convention for linux,"The thing which I want to discuss now is when I insert my dvd into the DVD drive and use mount command it show me various devices and at the end of line it show me
I use the command # mount /dev/cdrom even # mount /dev/sr0 but it show me
Is there anyway to mount it again without inserting back the dvd into the drive ?
*If* the dvd drive has a disk with the iso9660 filesystem on it (a data dvd) and
*If* the drive is listed in /etc/fstab,
you may mount the drive with the short mount command: mount /dev/cdrom.
If the above conditions are not present, then you must use the long version of the mount command to remoount the dvd drive with a disk in the drive:
mount -t ext3 /dev/sr0 /media/cdrom.
Note the mount command is followed by -t ext3 (filesystem type), /dev/sr0 (dvd drive device to be mounted, or /dev/dvd may be used if it's so named on your system), and mount point (media/cdrom, or whatever the mount point is on your system).
|All times are GMT -5. The time now is 11:51 AM.|