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.
|
 |
08-31-2004, 03:35 AM
|
#1
|
Member
Registered: Jul 2004
Posts: 45
Rep:
|
mtab and fstab problems
Hi,
In the devices tab of konqueror I'm seeing 4 hard disks for one physical drive. The drive has been partitioned into 3.. a win partition, linux part and a swap part. I'm getting two mount points for / and what is this /var/lib/nfs/rpc_pipefs hard disk?
When I try to open them it tells me how hdc2 is already mounted...
And I can't write to my windows partition from linux (its fat32).
Anyway, I'm guessing I've messed up the fstab/mtab business so if anybody could help here they are....
FSTAB
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdc3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdc1 /mnt/windows vfat rw 0 0
MTAB
/dev/hdc2 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
none /dev/shm tmpfs rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/dev/hdb /mnt/cdrom1 iso9660 ro,nosuid,nodev,user=henry 0 0
/dev/hda /mnt/cdrom iso9660 ro,nosuid,nodev,user=henry 0 0
I would play around ,yself but i'm a bit nervous...
Cheers
H
|
|
|
08-31-2004, 05:18 AM
|
#2
|
Member
Registered: Oct 2003
Posts: 568
Rep:
|
The /var/lib/nfs/rpc_pipefs is a bit complex. You need it, so don't mess with it.
As I'm sure you have already figured out - all of linux is fille based - devices, processes, etc......
Well, when one process needs to communicate with another process, a "pipe" is opened for the duration of that communication, and then torn down.
/var/lib/nfs/rpc_pipefs is a location where these pipes are stored. Think of it as kinda like a swap drive for your processes
As for your windows drive, your mtab does not reflect it as being mounted.
As root:
Code:
mount -t vfat /dev/hdc1 /mnt/windows
Good luck..
Last edited by PenguinPwrdBox; 08-31-2004 at 05:39 AM.
|
|
|
08-31-2004, 05:25 AM
|
#3
|
Member
Registered: Jul 2004
Posts: 45
Original Poster
Rep:
|
Thanks for the reply. I have the mounting of the windows partition done in fstab... the bottom line I think. The options "rw" ( I'm guessing read/write ) arent working for me... I can only read.
And what about the warning messages telling me that the drives are already mounted? and me having two / mount points in konqueror?
Cheers
H
|
|
|
08-31-2004, 05:27 AM
|
#4
|
Member
Registered: Jul 2004
Posts: 45
Original Poster
Rep:
|
Are fstab and mstab run one after the other? Whats the difference between them?... hmm. confused.
Thanks again
H
|
|
|
08-31-2004, 05:38 AM
|
#5
|
Member
Registered: Oct 2003
Posts: 568
Rep:
|
You don't have /dev/hdc1 mounted.
Your fstab is a table of your drives, and how the kernel is to mount them
Your mtab is a table that lists currently mounted file systems, and what options were used to mount them.
As for your other questions, I'm really not for sure why you would have . in two places........there is no indication in your fstab of what or how this was done........
|
|
|
All times are GMT -5. The time now is 09:09 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
|
|