LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   View devices in RH9 (text) (https://www.linuxquestions.org/questions/linux-newbie-8/view-devices-in-rh9-text-456167/)

v1nc3nt 06-19-2006 05:17 AM

View devices in RH9 (text)
 
How do I view what zip, stiffy, cdrom. I have connected to my PC in rh9(no graphic as it is a server)

I cant just do so by looking at it as the server is on a remote site. also, how do i change permissions to allow all users to dump to the zip drive

Wim Sturkenboom 06-19-2006 05:55 AM

Code:

/dev/hda1        /                reiserfs    defaults        1  1
/dev/hda3        /server          reiserfs    defaults        1  2
/dev/hda5        /home            reiserfs    defaults        1  2
/dev/cdrom      /mnt/cdrom      iso9660    noauto,owner,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
/dev/sda1        /mnt/sda1        vfat        noauto,user      0  0

devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0

Check your /etc/fstab; modify according to your requirements. Mine is shown above. You can mount the floppy with the command mount /mnt/floppy and the a usb device with mount /mnt/sda1.
Please note that the floppy can only be mounted by root (noauto,owner) while the usb-device can be mounted by all users (noauto,user).

Note 1:
Directories /mnt/floppy and /mnt/sda1 must exist (create them if necessary). You should have the floppy entry already, although it might have a different name (maybe /media/floppy).

Note 2:
With regards to the usb-device, just check how your device is recognized (output of dmesg). I keep it generic; if you have 2 devices, the one might be sda1 and the other sdb1; a next time, it can be the other way around.


All times are GMT -5. The time now is 10:30 PM.