LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-01-2004, 07:42 PM   #1
ZeroX-2
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Rep: Reputation: 0
Mounting Question


I accidently had my Windows Dir mounted in /mnt rather then /mnt/windows

eg...

root@deathrow:/home/zero# ls /mnt/
$VAULT$.AVG CONFIG.SYS NVIDIA WINDOWS
AUTOEXEC.BAT Documents and Settings Program Files boot.ini
AVG7DB_F.DAT IO.SYS RECYCLER ntldr
AVG7QT.DAT MSDOS.SYS SXS pagefile.sys
BOOT.BKK NTDETECT.COM System Volume Information

What can I do to get those files mounted in a new folder called Windows (/mnt/windows).

I would also like to be able to view the dir (/mnt/windows) rather then have to log in as root to view it with a gui. Right now I have to login through Konsole and view the stuff via text mode.
 
Old 12-01-2004, 07:54 PM   #2
tmorton
Member
 
Registered: Jan 2003
Location: In front of my computer in Oregon, USA
Distribution: Slackware
Posts: 198

Rep: Reputation: 31
Hi,
Read this: How to edit /etc/fstab.

Basically, do this:
Code:
cd /
umount /mnt
cd /mnt
mkdir windows
You'll find a line like this in the /etc/fstab file:
Code:
/dev/hda1  	/mnt     ntfs   	defaults  	1 2
Just add /windows to that /mnt (/mnt/windows).

Edit it and save. Now, just run mount /mnt/windows.

HTH,
--
Taj
 
Old 12-02-2004, 07:17 AM   #3
ZeroX-2
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Great, worked ^_^ thanks.


Now How can I have it so I acn open the windows dir as a non super user, currently I have to open Konsole, sudo my way in text mode to view the dir.

TIA
 
Old 12-02-2004, 07:27 AM   #4
bruj3w
Member
 
Registered: Mar 2004
Location: england
Distribution: slackware
Posts: 164

Rep: Reputation: 30
man chown
 
Old 12-02-2004, 07:48 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
fstab lines :
----------------
/dev/hda2 /win-d vfat defaults,users,umask=022 1 0
/dev/hda3 /win-e ntfs ro,user,umask=022 1 0
---------------
this is what i use for vfat and ntfs partitions ( notice the options )
permissions for vfat and ntfs are set in the fstab.
users can read ntfs and r/w vfat part.

egag

Last edited by egag; 12-02-2004 at 07:49 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about mounting a new hd sunman Slackware 4 11-24-2005 02:13 AM
Quick mounting question viniosity Linux - Newbie 2 03-23-2005 11:51 AM
Question about mounting johnlong_03 Slackware 4 08-01-2004 01:18 AM
mounting question... hollywoodb Linux - Newbie 4 08-26-2003 03:11 PM
Mounting question? blither Linux - General 3 01-20-2003 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration