LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount questions (https://www.linuxquestions.org/questions/linux-newbie-8/mount-questions-238532/)

1racerx 10-04-2004 03:58 AM

mount questions
 
Well, as the title says, I have a few questions regarding mounting my NTFS partition.

I installed Mandrake 10 on /dev/hdb1

The primary HD I had installed at the time was divided into 3 fat32 drives and mandrake did the following:

-Made a mount point icon on the desktop called "harddisk" that was /mnt/hd and had nothing in it.
-Mounted /dev/hda1 hda2 & hda3 as win_c win_d win_e

These 3 as it would happen didnt work either. I then replaced the hda1 with my current XP install and booted into mandrake. It would not let me make anychanged to mounts in the Mandrake control center, it said it was in use or something.

I then edited /etc/fstab and made it look like the following:

Code:

/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
none /mnt/hd supermount dev=/dev/ide/host0/bus0/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,kudzu,codepage=850 0 0

The /dev/hda1 now mounts perfect as a readonly NTFS as /mnt/windows . . .

BUT:
/mnt/win_c
/mnt/win_d
/mnt/win_e
/mnt/hd
are all still created and are empty!! how do i make them stop??

also since playing with the fstab file my icon on the desktop that says home now goes to /mnt/windows NOT to the home directory!!

Can anyone shed some light on what im doing wrong? I woudl like the hardisc icon to go to my /mnt/windows and the home icon to work as usual.

Thanks :)

Baldrick65 10-04-2004 05:03 AM

Here is the relevant line from my fstab to mount fat32 partitions for all users:
Code:

/dev/hde5 /mnt/windata vfat users,umask=000,rw,auto 0 0
Just change the partition and mount point to suit.

Baldrick

michaelk 10-04-2004 06:26 AM

Quote:

BUT:
/mnt/win_c
/mnt/win_d
/mnt/win_e
/mnt/hd
are all still created and are empty!! how do i make them stop??
I do not understand. You do not have an entry for these mount points in your fstab file.

To see how the drive is partitioned log in as root and use the following command:
fdisk -l /dev/hda (that is a small L)

I would not use supermount on a nonremovable filesystem. BTW your trying to mount hda1 to /mnt/hd but it is already mounted to /mnt/windows.

1racerx 10-04-2004 11:48 PM

sorry for my lack of understanding:

can you advise what changes i should make to the fstab file?? is this acceptable?


Code:

/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy auto dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hda1 /mnt/hd ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0

what i was saying is even though the fstab file has NO referance to creating /mnt/win_c it still appears after every reboot!
as does /mnt/win_d & /mnt/win_e
What i want to know is what is creating these directories if there is no listing for them in fstab anymore??

Baldrick65 10-05-2004 07:09 AM

If there is nothing in /mnt/win_c etc, just delete the empty directories (as root) and they shouldn't re-appear. Also, post the output of
Code:

fdisk -l
as root, just so we can see what partitions you actually have.

Baldrick


All times are GMT -5. The time now is 07:34 AM.