Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Re: [SLE] Zip and CDROM Install Questions
  • From: Philipp Thomas <pthomas@xxxxxxx>
  • Date: Tue, 01 May 2001 21:23:07 +0200
  • Message-id: <tputet07shebqg0n0q8ed0tua4c14igvm3@xxxxxxx>
* David C. Johanson [Mon, 30 Apr 2001 21:42:46 -0400]:

>-----
>
>1 /dev/sdb3 / ext2 defaults 1 1
>2 /dev/sdb1 /boot ext2 defaults 1 2
>3 /dev/cdrom /cdrom auto ro,noauto,user,exec 0 0
>4 # /dev/cdrom2 /mnt/cdrom2 auto ro,noauto,user,exec 0 0
>5 devpts /dev/pts devpts defaults 0 0
>6 /dev/fd0 /floppy auto noauto,user 0 0
>7 proc /proc proc defaults 0 0
>8 /dev/sda1 /windows/C vfat noauto,user 0 0
>9 /dev/sdb2 swap swap defaults 0 2
>10 # /dev/sdb4 /mnt/zip vfat user,exec,dev,suid,rw,noauto 0 0
>--------

>My system has 2 SCSI hard drives, the
>IDE Zip 250, 2 SCSI CD-ROMS, and a SCM SwapBox (PCMCIA card cage) for
>data transfer. I tried sdd4, sda4, sdb4 (didn't try c) but nothing
>would mount the zip drive. Can someone assist me in getting it mounted?
>The line ( # 10 ) in fstab was copied from my Mandrake 7 install.

As the ZIP drive is an ATA device, you don't need to load any other
modules. The parport and ppa/imm modules are only needed for the
external parallel ZIP drives. ATA drives are consistently named
depending on channel and master/slave:

1st channel: master: hda
slave : hdb

2nd channel: master: hdc
slave : hdd

and so on. So if you've connected the ZIP drive to the primary channel
configured as master, you can access the drive as hda. Standard ZIP
media (i.e. not repartitioned by yourself) always use the fourth
partition to make them readable on Macs. So the fstab entry for such
media would be:

/dev/hda4 /zip vfat user,exec,dev,suid,rw,noauto 0 0

>Likewise, line #4 was copied from line #3 and modified from cdrom to
>cdrom2 (idea once again taken from my Mandrake 7 install). I first did a
>mkdir /mnt/cdrom2 prior to modifying the fstab file. Trying to do a
>mount "/dev/cdrom2 -t iso9660 /mnt/cdrom2" returns the error
>"special device /dev/cdrom2 does not exist.

In order to mount a device, you need a special device node in /dev. If
you do a 'ls -l /dev/cdrom' you'll see that it is a symbolic link to
/dev/scd0. In order for your mount to succeed, you'd have to log in as
root and do the following:

cd /dev
ln -s scd1 cdrom2

>Finally, what is being identified in line 5?

/dev/pts is a pseudo file system needed to support Unix98 pseudo
terminals. Pseudo terminals are needed whenever you access a system from
something that isn't a real terminal, i.e. log in via telnet or ssh or
you use a terminal emulation like xterm/konsole/wterm under X11.


--
Penguins to save the dinosaurs
-- Handelsblatt on Linux for S/390

< Previous Next >
References