hongwei@morpheus.wustl.edu said :>I have a question about cd-rom for linux system. Although it is not >related to samba directly, I believe many people in this group are >expert about linux and may give me correct answer. I am going to >buy a pc to install linux (the most recent slackware one). My >question is: do I need a scsi cd-rom drive to install and run linuxThe more recent versions of the linux kernal will mount just about anything, so a normal IDE'ish CDROM drive is fine. If the setup program wont recognize the drive, mount it somewhere sensible and install from pre-mounted partition, eg : mkdir /cdrom mount /dev/hdc /cdrom -t iso9660 (where hdc = drive on master of 2ndry controller) Watch out for your video card though - that seems to be the one area where the linux developers are a bit behind - mainly I should say because the h/w manufacturers are very non-cooperative. -- ===================== Ext : 247 ================== _o Network Support for TIS Software O>O ===================================================
On Freitag, 25. Juli 1997 23:09, samba@arvidsjaur.anu.edu.au wrote:> hongwei@morpheus.wustl.edu said : > > >I have a question about cd-rom for linux system. Although it is not > >related to samba directly, I believe many people in this group are > >expert about linux and may give me correct answer. I am going to > >buy a pc to install linux (the most recent slackware one). My > >question is: do I need a scsi cd-rom drive to install and run linux > > The more recent versions of the linux kernal will mount just about > anything, so a normal IDE'ish CDROM drive is fine. If the setup > program wont recognize the drive, mount it somewhere sensible and > install from pre-mounted partition, eg : > > mkdir /cdrom > mount /dev/hdc /cdrom -t iso9660 > > (where hdc = drive on master of 2ndry controller) >A related question: I would like to build a CD-Rom server based on Samba where it is possible to swap CDs without mounting them by hand. The volume label should appear automatically in Windows. Is this possible ? -Erwin -- mail4u Version 1.2.01 (http://www.mail4u.home.at), registered for Softwareentwicklung und Systemdesign
> A related question: I would like to build a CD-Rom server based on Samba where > it is possible to swap CDs without mounting them by hand. The volume label should > appear automatically in Windows. Is this possible ?Assuming you are using Linux, a good start for this might be the supermount patches from Stephen Tweedie. After you install this (you may need to do a one-line patch to the CD-ROM code to disable door locking) you can just add and remove CDs as you like and they will simply appear and disappear from your filesystem. See <ftp://ftp.dcs.ed.ac.uk/pub/sct/linux/supermount>. It hasn't been updated for a while (Stephen has been busy with robustifying ext2 against disk errors among other things), but I think it still patches more or less cleanly into 2.0 kernels. I haven't had any trouble with it, though admittedly I haven't stressed it. I'm not sure how you would get the volume label to appear in Windows. There's probably an ioctl you could poll on the CDROM device to get the label (assuming it's cached, and not reread from the CD every time), but how do you tell the SMB users the label? -- Erik Corry ec@sign-tronic.dk - I do not speak for Sign-Tronic A/S