LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mtab and fstab problems (https://www.linuxquestions.org/questions/linux-general-1/mtab-and-fstab-problems-224687/)

Henster 08-31-2004 03:35 AM

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

PenguinPwrdBox 08-31-2004 05:18 AM

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..

Henster 08-31-2004 05:25 AM

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

Henster 08-31-2004 05:27 AM

Are fstab and mstab run one after the other? Whats the difference between them?... hmm. confused.

Thanks again
H

PenguinPwrdBox 08-31-2004 05:38 AM

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 02:11 AM.