Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-29-2002, 08:40 AM
|
#1
|
Member
Registered: Jan 2002
Location: New Zealand
Distribution: Mandrake 9.1,Suse 8.2
Posts: 139
Rep:
|
CHMOD and Input/Output errors
Hi.
I have just tried to copy a file,to a 1.4MB floppy,and this was the result.
ERROR: Unable to enter File:/mnt/floppy.You do not have rights to this location.
I also noticed that the /mnt/floppy icon now had a lock on it.
In a terminal I ran chmod various options /mnt/floppy and this was the result.
CHMOD:changing permissions of /mnt/floppy:Input /output error.
When I run MDK 9.0 control centre-system-user I get this response.Cannot lock user lib,file /etc/ptmp or /etc/gtmp exist.I can delete these files temporarily,as when I reboot the files come back again.
Thanks in anticipation.
Lachlan
|
|
|
12-29-2002, 09:01 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
It sounds like you don't have the floppy drive mounted. Open up your terminal and then as root type:
mount
This should display what is mounted. If you floppy isn't, then mount it:
mount -t vfat /dev/fd0 /mnt/floppy
Then you should be able to access it. Only as root though. If you want to access it as a normal user you might have to change what's in your /etc/fstab options section. If you have questions on that, post it here and someone can probably help you.
Cool
|
|
|
12-30-2002, 04:13 AM
|
#3
|
Member
Registered: Jan 2002
Location: New Zealand
Distribution: Mandrake 9.1,Suse 8.2
Posts: 139
Original Poster
Rep:
|
Thanks for the info.I tried to edit /etc/fstab but I screwed up really badly,because when I try to mount /mnt/floppy I get the output:fs type not supported by the kernel.
id: cannot find name for group ID 501
[lachlan@localhost lachlan]$ ls la-/mnt
ls: la-/mnt: No such file or directory
[lachlan@localhost lachlan]$ ls -la /mnt
total 24
drwxr-xr-x 6 root 0 4096 Nov 21 11:00 ./
drwxr-xr-x 19 root 0 4096 Dec 30 21:14 ../
drwxr-xr-x 2 root 0 4096 Nov 21 10:27 cdrom/
drwxr-xr-x 2 root 0 4096 Nov 21 11:00 disk/
drwxrwx--- 2 lachlan 501 4096 Dec 29 09:20 floppy/
drwxrwxrwx 9 root 0 4096 Jan 1 1970 windows/
[lachlan@localhost lachlan]$
/dev/hdb5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom dev=/dev/cdrom,fs=auto,codepage=850,noauto,iocharset=iso8859-15,nosuid,ro,umask=0,
none /mnt/floppy dev=/dev/fd0,fs=auto,--,codepage=850,sync,iocharset=iso8859-15,unmask=0,
/dev/hda1 /mnt/windows vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb7 /usr ext3 defaults 1 2
/dev/hdb3 swap swap defaults 0 0
/dev/hdb6 swap swap defaults 0 0
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/fstab" 9L, 470C 4,1 All
Regards
Lachlan
|
|
|
12-30-2002, 05:11 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
It's trying to guess the filesystem. The "auto" option which is in your /etc/fstab entry will do it's best at guessing. I tend to use mainly floppies formatted with fat32 filesystems. So I have my entry using the filesystem vfat.
Here's my entry, you don't have to use this, but it might give you some ideas (man mount and man fstab will explain things about this for you):
Code:
/dev/fd0 /mnt/floppy vfat noauto,owner 0 0
Basically, it will automatically assume the filesystem is vfat, then mount it with the options noauto,owner
If you use a lot of floppies that are of different filesystems, you might wanna leave the "auto" in your entry in /etc/fstab.
Also, you might wanna check and make sure your distro has support for vfat, if you aren't sure I believe it's:
cat /proc/filesystems
HTH
Cool
|
|
|
All times are GMT -5. The time now is 08:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|