Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XMMS and /mnt/windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Um_Help
n00b
n00b


Joined: 17 Sep 2003
Posts: 74

PostPosted: Wed Sep 17, 2003 4:13 am    Post subject: XMMS and /mnt/windows Reply with quote

i got a dual boot setup /w windows xp and linux. what i want to do is get xmms to play my music on my windows partition. what i did was mount the windows partion and then go from there. first off i cant look at /mnt/windows without being root (i cant look at any of my mounts unless im root.) anyway to change that? when i am root i can load my music up fine but only like 5 of my songs actually work???? any ideas or is my explaination to crappy? im a newb :D
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Wed Sep 17, 2003 4:41 am    Post subject: Reply with quote

When you mount /mnt/windows, use the uid option:


Code:
# mount /dev/hdaX /mnt/windows -o uid=1000


replace X with your partition number and 1000 with whatever your user ID is (type 'id' to see).

Although you still have to be root to perform the mount, that should mount the partition as if your non-root user had done it.

You can put this option in your /etc/fstab if you want it to be permanent.

Or you can put the 'user' option in fstab to allow any user to mount it. Only makes sense with the noauto option, otherwise it will just get mounted as 'root'.

e.g. from /etc/fstab:

Code:
/dev/hda3               /mnt/windows          ntfs            ro,uid=1000            0 0


or

Code:
/dev/hda3               /mnt/windows          ntfs            ro,user,noauto        0 0



You can also play around with 'gid' if you want a group of users to have access.

As for the 5 songs, you'll have to provide more information. Can you try using mpg123 to play them and see what errors come up?
Back to top
View user's profile Send private message
Um_Help
n00b
n00b


Joined: 17 Sep 2003
Posts: 74

PostPosted: Wed Sep 17, 2003 5:18 am    Post subject: Reply with quote

whoa nice ill add that stuff in asap kinda busy right now. im hoping that, that will fix all my problems. ill give ya a reply when i get a chance to do it. THANKS ALOT
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Wed Sep 17, 2003 6:01 am    Post subject: Reply with quote

Code:

/dev/hda1               /mnt/winxp     ntfs            noatime,noauto,umask=000,ro             0 0


Here is what I have, umask=000 allows anyone to read/write to it, ro makes so it is read only.
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Wed Sep 17, 2003 6:12 am    Post subject: Reply with quote

You don't need the 'noatime' if you are mounting read-only (ro) :wink:
Back to top
View user's profile Send private message
Um_Help
n00b
n00b


Joined: 17 Sep 2003
Posts: 74

PostPosted: Wed Sep 17, 2003 9:29 am    Post subject: Reply with quote

could i possibly do this for the second to last part?

user,noatime,noauto,umask=000

i would like to be able to write if i could

this is what i want i want only my user to be able to see it and i want to be able to read/write to it (if possible)
Back to top
View user's profile Send private message
aman
Apprentice
Apprentice


Joined: 07 Sep 2003
Posts: 198
Location: Bay Area, California

PostPosted: Wed Sep 17, 2003 9:47 am    Post subject: Reply with quote

I would not reccommend trying to write to an NTFS partition, for one thing you have to enable this in the kernel, and once you do, it is really BUGGY! You can always make a FAT32 partition in windows (not for the OS but just for storage) to read and write to from Linux.
Back to top
View user's profile Send private message
Um_Help
n00b
n00b


Joined: 17 Sep 2003
Posts: 74

PostPosted: Wed Sep 17, 2003 1:28 pm    Post subject: Reply with quote

ooo good call. no writing for me!! :wink:
Back to top
View user's profile Send private message
Um_Help
n00b
n00b


Joined: 17 Sep 2003
Posts: 74

PostPosted: Wed Sep 17, 2003 1:59 pm    Post subject: Reply with quote

dont mean to double post but after typing some of your suggestions i finally for it to work using

Code:
/dev/hdax               /mnt/windows          ntfs            ro,uid=xxxx            0 0


thanks alot guys[

EDIT:

THANKS AGAIN!!!!!!!! You dont know how long i have been trying to fix this!!! I LOVE IT!!! THANKS!!!! ALL MY MUSIC WORKS TO!!!!
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Wed Sep 17, 2003 9:28 pm    Post subject: Reply with quote

Glad to help :)
Back to top
View user's profile Send private message
Zoltan
Guru
Guru


Joined: 27 Aug 2003
Posts: 394
Location: Moscow, Russia

PostPosted: Wed Sep 17, 2003 9:34 pm    Post subject: Reply with quote

Um_Help wrote:
ooo good call. no writing for me!! :wink:

You can do it the other way around. There are two windows programs for reading linux filesystems, one for reading ext2/ext3, another for reading reiserfs. I don't have links right now, but some googling will find them. These programs allow you to transfer files to your windows disks from linux. They aren't very advertised because they are totally insecure because they allow any windows user to read any read protected linux file...

No I didn't try reiserfs reading program, I just know that it exists. Explore2fs works pretty well in my experience.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum