View previous topic :: View next topic |
Author |
Message |
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Wed Sep 17, 2003 4:13 am Post subject: XMMS and /mnt/windows |
|
|
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 |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Sep 17, 2003 4:41 am Post subject: |
|
|
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 |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Wed Sep 17, 2003 5:18 am Post subject: |
|
|
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 |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Wed Sep 17, 2003 6:01 am Post subject: |
|
|
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 |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Sep 17, 2003 6:12 am Post subject: |
|
|
You don't need the 'noatime' if you are mounting read-only (ro) |
|
Back to top |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Wed Sep 17, 2003 9:29 am Post subject: |
|
|
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 |
|
|
aman Apprentice
Joined: 07 Sep 2003 Posts: 198 Location: Bay Area, California
|
Posted: Wed Sep 17, 2003 9:47 am Post subject: |
|
|
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 |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Wed Sep 17, 2003 1:28 pm Post subject: |
|
|
ooo good call. no writing for me!! |
|
Back to top |
|
|
Um_Help n00b
Joined: 17 Sep 2003 Posts: 74
|
Posted: Wed Sep 17, 2003 1:59 pm Post subject: |
|
|
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 |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Sep 17, 2003 9:28 pm Post subject: |
|
|
Glad to help |
|
Back to top |
|
|
Zoltan Guru
Joined: 27 Aug 2003 Posts: 394 Location: Moscow, Russia
|
Posted: Wed Sep 17, 2003 9:34 pm Post subject: |
|
|
Um_Help wrote: | ooo good call. no writing for me!! |
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 |
|
|
|