Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 7th, 2007, 05:53 AM
Authorized User
Join Date: Feb 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mount file systems


    Hi all! I have some problem in mounting file systems and changing directories with CDROM.

    I have checked the /etc/fstab table and found the following entries:

LABEL=/ / ext3 defaults

---- more entries ----

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,r
o 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,r
o 0 0

cd /dev/cdrom

quote:bash: cd: /dev/cdrom: Not a directory

        - When I typed mount, I cannot see any cdrom mounted and once I change the directory to cdrom or cdrom1, errors as quoted above happened. Did I do something wrong ?

        - Further, I have bought a USB Flash Memory Stick. However, I cannot mount it to the Linux system! Could anyone suggest me some ways to solve the problems... Sorry for any newbie questions asked!! Many thanks!

Best regards

Old August 3rd, 2007, 01:01 PM
Registered User
Join Date: Aug 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ajopaul

after mounting u need to cd to /mnt/cdrom - the mount point as mentioned in fstab and not /dev/cdrom which is actually a block device
Old August 4th, 2007, 04:48 AM
Registered User
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Try this to mount you flash stick.

In fstab:
/dev/sda1   /media/flash  vfat   umask=022,codepage=866,iocharset=utf8,user,owner,users  0   0
i.e. flash drive is like SCSI/SATA drive. If you have any SCSI/SATA drive then use sdb1 or sdc1 (depends on quantity of drives).
When you plug in stick try
tail /var/log/messages
Aug 4 13:44:26 o-O kernel: sd 2:0:0:0: Attached scsi removable disk sdb
Sorry my terrible english...

Similar Threads
Thread Thread Starter Forum Replies Last Post
Capturing Screen of Other Systems javaean Java GUI 0 June 15th, 2007 01:49 AM
Problem integrating systems David_Lovesit Classic ASP Professional 0 December 29th, 2004 06:04 AM
mount system call ur_cherub Linux 1 June 25th, 2004 07:24 AM
Programming for POS systems drasko ASP.NET 1.0 and 1.1 Basics 0 March 12th, 2004 10:30 AM
Internet Database Systems csronlinemail Oracle 1 October 28th, 2003 07:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.