LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-25-2004, 12:57 PM   #1
Marine Eater
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSE 9.1 Personal Edition
Posts: 15

Rep: Reputation: 0
Creative MuVo TX in Gentoo Linux


Hi,

I'm having a problem accessing my Creative MuVo TX (256mb) in Gentoo linux...
I have read http://www.linuxquestions.org/questi...hreadid=264582 and this site: http://linux.highsphere.net/howtos/muvoTX.php ..

And i run these commands to try and get it mounted:
# mkdir /mnt/muvo
# chmod 777 /mnt/muvo
# fdisk -l
(Find where the device thing is)
# mount -t vfat /dev/sda1 /mnt/muvo
(It is at /dev/sda1)

And then i use Konqueror to navigate to /mnt/muvo, and says "Access denied to /mnt/muvo.", so i # chmod 777 /mnt/muvo ..
And it says it again.
I even try using the Super File Manager in Konqueror [Root] to try and change the access levels and it tells me i have no access to change them - Even as Root!

Now, i can read & write to the /mnt/muvo directory as root, but i would prefer it as a normal user. My kernel is 2.6.9-gentoo-r9.

I would also like it to be auto-mounted to /mnt/muvo when i plug it in, is this possible?

Thanks for any help!
 
Old 12-25-2004, 01:53 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
It's possible to automount it if you apply the supermount patch to your kernel and recompile it, or use submount (that uses a module so you don't need to recompile your kernel). I prefer Supermount.
Otherwise, to be able to have read/write access to the partition as a normal user you will need to put umask=000 into the options on the fstab line you use to mount it.
 
Old 12-25-2004, 05:50 PM   #3
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
Do you have an entry in your /etc/fstab file for this device? If so, what does it look like?
If you see a parameter called 'owner', change it to 'user' , this might do the trick for allowing non-root users access.
 
Old 12-25-2004, 05:59 PM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
1) You may want to consider writing a udev rule to ensure that there is always a fixed symlink the device when you plug it in (e.g. a symlink at /dev/muvo)

2) If you're passing a mount command, unless you specify the 'users' or 'user' option, no one else but root can access it. Try:

mount -t vfat /dev/sda1 /mnt/muvo -o users,sync

Is the correct command to use to let others have access. Changing ownerships and permissions on the folder it's mounted to won't do anything.

If you want an fstab entry, make sure 'users' is also specified. (I've given 'sync' as well owing to my experiences with Linux, caching and my Muvo2. Namely, unless you give 'sync', anything you do to the Muvo isn't actually performed until the device is unmounted.).
 
Old 12-26-2004, 07:08 AM   #5
Marine Eater
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSE 9.1 Personal Edition
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for all the replies!

cathectic:
# mount -t vfat /dev/sda1 /mnt/muvo -o users,sync
Gives the same problem, "Access denied.."

# mount -t vfat /dev/sda1 /mnt/muvo -o users,sync,umask=000
Works for my normal user.

So thanks to both of you for helping me with that.
Now for the automount,
http://supermount-ng.sourceforge.net/
Should i be using that?
And if so, i used 'genkernel' to compile my kernel, how would i use the supermount patch?

Thanks for any help!
 
Old 12-26-2004, 07:43 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Those supermount patches are quite old. Con Kolivas has up to date versions of the supermount patch for the current kernels. This one is for the 2.6.9 kernel. To apply a patch, cd into the kernel source then apply the patch with
patch -p1 < /path/to/supermount-ng207.diff
Change /path/to for the real path to where you saved the patch. When you configure the kernel enable supermount support on the filesystems/pseudo filesystems menu. (I'm unfamiliar with how to compile a kernel the Gentoo way with 'genkernel') If that goes OK you can use Supermount to mount removable media with a line like this in /etc/fstab

none /mnt/muvo supermount dev=/dev/sda1,fs=auto 0 0
 
Old 12-26-2004, 02:03 PM   #7
Marine Eater
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSE 9.1 Personal Edition
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for your replies, but in fear of breaking my kernel i decided to use the 'submount' kernel module.
There is even a gentoo ebuild for it:
# ACCEPT_KEYWORDS="~x86" emerge submount
(It is masked)

And i added:
/dev/sda1 /mnt/muvo subfs users,sync,umask=000 0 0
to the fstab. Works fine now, i can access it as soon as i plug it in.

Thanks for everyones help with this problem.
 
  


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
CreativeŽ 512MB MuVoŽ Micro N200 is linux compatible pajoe Linux - Hardware 0 05-21-2005 08:15 PM
PLease help me !!! creative muvo n200: can't detect qbaza Linux - Hardware 6 01-18-2005 05:53 PM
mount Creative MuVo 2 hylke Linux - Hardware 3 10-01-2004 10:14 AM
Creative Muvo Hacks cowboy45 Linux - Hardware 0 09-09-2004 08:55 PM
installing creative muvo nx pirozzi Linux - Hardware 0 01-28-2004 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:18 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