What do I add to my fstab to get my iPod to mount???
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171
Rep:
What do I add to my fstab to get my iPod to mount???
Hello guys and girls, what do I add to my fstab to get my ipod to mount when I run GTKpod? I have searche dthe forums and did a few instructions to get the mount points right in disk drake and the mount point is "/dev/sda2/" Now when I try to mount the ipod in a terminal I get this message, "mount: can't find /mnt/ipod in /etc/fstab or /etc/mtab" So now I assume I am supposed to add something to fstab to make it work. What am I supposed to add?
Or you can be a real man and edit your /etc/fstab by hand :P (just kidding here)
Code:
/dev/sda2 /mnt/ipod vfat noauto,owner 0 0
This means it will mount "/dev/sda2" with filesystem format "vfat" into directory "/mnt/ipod". This won't happen at boot time and the device owner is able to mount the filesystem.
If you wish more information you can
Code:
man fstab
man mount
However, I'm not an iPod owner and I'm not completely sure about the options that you should mount your device with.
Last edited by Jose Muņiz; 07-11-2004 at 04:36 PM.
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171
Original Poster
Rep:
Quote:
Originally posted by Jose Muņiz Or you can be a real man and edit your /etc/fstab by hand :P (just kidding here)
Code:
/dev/sda2 /mnt/ipod vfat noauto,owner 0 0
This means it will mount "/dev/sda2" with filesystem format "vfat" into directory "/mnt/ipod". This won't happen at boot time and the device owner is able to mount the filesystem.
If you wish more information you can
Code:
man fstab
man mount
However, I'm not an iPod owner and I'm not completely sure about the options that you should mount your device with.
Okay, I added the /dev/sda2 /mnt/ipod vfat etc... to the fstab. What next? Must I reboot and start GTKpod to see if it works? I think i'm missing something here that you guys are explaining. Sorry for sounding stupid. Okay, from step one, what do I do after I plug my ipod into the dock?
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171
Original Poster
Rep:
Also, when I go into the folder, "/mnt/ipod, there is nothing there. Is there supposed to be something there. (I feel like a real idiot with this)
Another thing before I forget, under the Mandrake Linux Control Center>Partitions> the ipod is recognized in there as Mount point /sda2
Device: sda2
Dos Drive Letter: C (just a guess) <----it actually says that
Type: Fat32
Size: 13GB (99%)
Formatted
Mounted
Ok... your iPod is just some sort of storage device. The same thing goes with CDs , Memory Sticks, Digital Cameras, etc. Hence, think of it as a hard drive.
Hard drives are mounted into your filesystem so that you can view its content and possibly modify it. Hence, at bootup, Linux mounts your root partition so that you can view your files and programs and write to them.
The same thing happens with other units. To be able to use them, you have to make sure they are there somewhere in your filesystem. Take a CD for instance. FIrst you mount the CD
Code:
mount -t vfat /dev/cdrom /mnt/cdrom
Then you can go to /mnt/cdrom and you will find all the content of your CD ROM. Now... notice that the mount was too large and maybe you'd like to only say mount /mnt/cdrom or maybe mount /dev/cdrom. Then, as some things are missing (type and device), your mount command will look in the file called /etc/fstab for more information. This information will be provided by the fstab which will help your system mount the unit.
Now... you have your iPod entry in your fstab. Now mount it (mount /mnt/iPod or whatever the directory was called). You should be able to see something in there :P
And btw.. no need to restart in this kind of things...
I was just wondering if you guys could help me. I have only one USB port in my laptop and i connect to it many different devices, like my mouse, ipod shuffle and my flash drive. I have an entry in my /etc/fstab that says:
/dev/sda1 /mnt/usb-storage auto noauto,users,rw 0 0
That would mount all gadgets connected to sda1 to /mnt/usb-storage which works for me but aint what i want. I want my ipod 9and only the ipod) to be autimattically mounted to /mnt/ipod and the rest of mass storage devices mounted to /mnt/usb-storage. Is it possible?
If not i am consideringn to have a script for the gtkpod startup that would unmount the device and then mountn it again at the desired point9if that is possible too).
I know this thread is old but i hope someone reads this question before i give up
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.