Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-11-2004, 11:49 AM
|
#1
|
Member
Registered: Jun 2004
Location: Mays Landing, NJ
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?
|
|
|
07-11-2004, 04:14 PM
|
#2
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811
Rep:
|
The howto...
Plug in iPod...
run hard drive and disk drive partition software.
Select ipod from list.
Tell it where you want it to mount...
Not sure why you would be messing with anything in your config files when you could just run the partition manager and have it done automatically...
|
|
|
07-11-2004, 04:32 PM
|
#3
|
Member
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248
Rep:
|
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.
|
|
|
07-11-2004, 05:11 PM
|
#4
|
Member
Registered: Jun 2004
Location: Mays Landing, NJ
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?
|
|
|
07-11-2004, 05:17 PM
|
#5
|
Member
Registered: Jun 2004
Location: Mays Landing, NJ
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
I do not know how to make sense of it all.
|
|
|
07-12-2004, 10:46 AM
|
#6
|
Member
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248
Rep:
|
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...
|
|
|
02-15-2005, 02:01 PM
|
#7
|
Member
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363
Rep:
|
shuffle and flash drive
Hello,
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
thanks
|
|
|
All times are GMT -5. The time now is 03:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|