|
From: stroller on 14 Apr 2005 14:41 hi, another newbie question here: how do i determine the cdrom device name on my solaris sunblade 100 machine, running solaris 8? i've tried everything i know but i can't mount it... i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2 /cdrom/cdrom0 thx
From: Andrew Gabriel on 14 Apr 2005 16:32 In article <lPy7e.2385$t85.1942(a)newssvr21.news.prodigy.com>, "stroller" <smcbutler(a)hotmail.com> writes: > hi, another newbie question here: > > how do i determine the cdrom device name on my solaris sunblade 100 machine, > running solaris 8? If you have /dev/sr0, it will be a symlink pointing to it. > i've tried everything i know but i can't mount it... > > i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2 > /cdrom/cdrom0 Of course, it _really_ helps to say what the error was, but there are a number of problems here... You will have to explicitly specify the mount is read-only, with -r or -o ro. The volume manager probably has the cdrom device open anyway, so it can automatically mount any cd which is inserted, which means you don't have to. If you have a /cdrom/cdrom0, that implies the volume manager already mounted the CD. -- Andrew Gabriel
From: Dave Uhring on 14 Apr 2005 16:58 On Thu, 14 Apr 2005 20:32:43 +0000, Andrew Gabriel wrote: > In article <lPy7e.2385$t85.1942(a)newssvr21.news.prodigy.com>, > "stroller" <smcbutler(a)hotmail.com> writes: >> i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2 >> /cdrom/cdrom0 > > Of course, it _really_ helps to say what the error was, but there are > a number of problems here... > You will have to explicitly specify the mount is read-only, with -r or -o ro. > The volume manager probably has the cdrom device open anyway, so it can > automatically mount any cd which is inserted, which means you don't have to. > If you have a /cdrom/cdrom0, that implies the volume manager already mounted > the CD. It is also usually helpful to attempt to mount a filesystem rather than a raw disk device.
From: stroller on 14 Apr 2005 17:03 > > hi, another newbie question here: > > > > how do i determine the cdrom device name on my solaris sunblade 100 machine, > > running solaris 8? > > If you have /dev/sr0, it will be a symlink pointing to it. > i have /dev/sr0 > > i've tried everything i know but i can't mount it... > > > > i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2 > > /cdrom/cdrom0 > > Of course, it _really_ helps to say what the error was, but there are > a number of problems here... i when i try /dev/sr0 as my device i get "/dev/sr0 is already mounted, /cdrom is busy or allowable number of root points exceeded" > You will have to explicitly specify the mount is read-only, with -r or -o ro. i tried -r, had no effect > The volume manager probably has the cdrom device open anyway, so it can > automatically mount any cd which is inserted, which means you don't have to. i have a cd in there but when i cd there, i see nothing... > If you have a /cdrom/cdrom0, that implies the volume manager already mounted > the CD. > actually that was my mistake, i made a dir inside /cdrom so the mount point became /cdrom/cdrom0 but i think that the wrong thing to do so i deleted cdrom0 inside /cdrom thx for the response, any other ideas?
From: Andrew Gabriel on 14 Apr 2005 18:41
In article <vUA7e.2413$t85.565(a)newssvr21.news.prodigy.com>, "stroller" <smcbutler(a)hotmail.com> writes: >> Of course, it _really_ helps to say what the error was, but there are >> a number of problems here... > > i when i try /dev/sr0 as my device i get "/dev/sr0 is already mounted, > /cdrom is busy or allowable number of root points exceeded" Well, ignore the "allowable number of _mount_ points exceeded" option (Solaris has no limit, but this is a standard System V error message). Most likely you can't mount it as the volume manager is using the device and will have already mounted it if possible. What does the `mount' command by itself list as mounted filesystems? -- Andrew Gabriel |