RE: devfs newbie questions about mounting

2003-01-27 Thread Narins, Josh

> On Sun, Jan 26, 2003 at 04:05:52PM +0100, Nicos Gollan wrote:
> > On Sunday 26 January 2003 15:32, Dave W wrote:
> > > What I _did_ try was
> > >
> > > mount /dev/scd0 /cdrom
> > >
> > > and that still fails. I still have scsi emulation and the 
> like setup so
> > > I guess perhaps at least THAT little bit has changed.  
> Perhaps it's
> > > using sr or sg or one of the other scsi alphabet soup assignments.
> > 
> > Have a look at /dev/cdroms and I think you'll have a 
> pleasant surprise...
> 
> Or /dev/sr0

Or try the alias you have set up in your .bash_profile

flop='mount /dev/floppy /floppy'
uflop='umount /dev/floppy'

It makes sense to put them in your profile, since the 
hardware will unlikely move unless you change your 
hardware configuration.


--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: devfs newbie questions about mounting

2003-01-26 Thread Jerome Acks Jr
On Sun, Jan 26, 2003 at 04:05:52PM +0100, Nicos Gollan wrote:
> On Sunday 26 January 2003 15:32, Dave W wrote:
> > What I _did_ try was
> >
> > mount /dev/scd0 /cdrom
> >
> > and that still fails. I still have scsi emulation and the like setup so
> > I guess perhaps at least THAT little bit has changed.  Perhaps it's
> > using sr or sg or one of the other scsi alphabet soup assignments.
> 
> Have a look at /dev/cdroms and I think you'll have a pleasant surprise...

Or /dev/sr0

If any devices you expect to see don't exist, make sure you have loaded
the associated module or compiled it into the kernel.
 
-- 
Jerome



msg26447/pgp0.pgp
Description: PGP signature


Re: devfs newbie questions about mounting

2003-01-26 Thread Nicos Gollan
On Sunday 26 January 2003 15:32, Dave W wrote:
> What I _did_ try was
>
> mount /dev/scd0 /cdrom
>
> and that still fails. I still have scsi emulation and the like setup so
> I guess perhaps at least THAT little bit has changed.  Perhaps it's
> using sr or sg or one of the other scsi alphabet soup assignments.

Have a look at /dev/cdroms and I think you'll have a pleasant surprise...

-- 
Got Backup?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: devfs newbie questions about mounting

2003-01-26 Thread Dave W
On Sun, 2003-01-26 at 00:09, Jerome Acks Jr wrote:

> devfsd creates symlinks from old device names to devfs device names.
> /dev/hda1 will be a symlink to ide/host0/bus0/target0/lun0/part1. Your 
> /dev/cdrom will be a symlink to /dev/cdroms/cdrom0. 
> 
> So "mount /dev/fd0 /floppy" will still work, or you could mount the device
> with "mount /dev/floppy/0 /floppy".

Jerome - thanks.  You're certainly right that /dev/floppy still works ...
I didn't try that.  What I _did_ try was 

mount /dev/scd0 /cdrom

and that still fails. I still have scsi emulation and the like setup so
I guess perhaps at least THAT little bit has changed.  Perhaps it's 
using sr or sg or one of the other scsi alphabet soup assignments.

Thanks again.
-- 
Dave W <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: devfs newbie questions about mounting

2003-01-25 Thread Jerome Acks Jr
On Sat, Jan 25, 2003 at 10:44:14PM -0500, Dave W wrote:
> I've been messing around with devfs in sid, trying to learn my way
> around, since this may be the way of the future ... and although
> /dev/scsi/host0/bus0/target2/lun0/cd makes good SENSE and is pretty easy
> to figure out, it's not so quick to type when mounting by hand.  I'm
> used to more or less ignoring the fstab and mounting the old way, like
> "mount /dev/fd0 /floppy ."  Takes about two seconds, and it's
> done.  
> 
> Outside of starting to use fstab, is there a better/faster way to mount
> things using the command line, with devfs?

devfsd creates symlinks from old device names to devfs device names.
/dev/hda1 will be a symlink to ide/host0/bus0/target0/lun0/part1. Your 
/dev/cdrom will be a symlink to /dev/cdroms/cdrom0. 

So "mount /dev/fd0 /floppy" will still work, or you could mount the device
with "mount /dev/floppy/0 /floppy".

-- 
Jerome



msg26302/pgp0.pgp
Description: PGP signature


devfs newbie questions about mounting

2003-01-25 Thread Dave W
I've been messing around with devfs in sid, trying to learn my way
around, since this may be the way of the future ... and although
/dev/scsi/host0/bus0/target2/lun0/cd makes good SENSE and is pretty easy
to figure out, it's not so quick to type when mounting by hand.  I'm
used to more or less ignoring the fstab and mounting the old way, like
"mount /dev/fd0 /floppy ."  Takes about two seconds, and it's
done.  

Outside of starting to use fstab, is there a better/faster way to mount
things using the command line, with devfs?

TIA--
-- 
Dave W <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]