|
From: Geoffrey Clements on 30 Sep 2006 16:50 My daughter visits me regularly and often brings her iPod. I have installed gtkpod on my PC so that she can manage her mp3s on the iPod. gtkpod needs to be told where the iPod mount point is and I'd like to fix this location. Currently it is being set to /media/sda2 - note that this is a mount point not the device - but this could change the next time she plugs it in. I'd like to make sure that when she attaches this iPod it always mounts at the same place, e.g. /media/Amys_IPod but I'm not sure how to do this. I know I can configure udev to create links to the device which remain constant (I already do this with my digital camera) but I'm not sure how to keep the mount point common. Configuring hal may be the way and I'm wading through the hal documentation but I'm getting more confused by the minute! One thought is that I could use udev to set the device symlink then use fstab to set the mount point but this seems a bit, well, klunky. Also I'm not sure how hal and fstab interact with each other. -- Geoff Registered Linux user 196308 Replace bitbucket with geoff to mail me.
From: Alex Butcher on 30 Sep 2006 18:53 On Sat, 30 Sep 2006 21:50:16 +0100, Geoffrey Clements wrote: > My daughter visits me regularly and often brings her iPod. I have > installed gtkpod on my PC so that she can manage her mp3s on the iPod. > gtkpod needs to be told where the iPod mount point is and I'd like to fix > this location. Currently it is being set to /media/sda2 - note that this > is a mount point not the device - but this could change the next time she > plugs it in. > > I'd like to make sure that when she attaches this iPod it always mounts at > the same place, e.g. /media/Amys_IPod but I'm not sure how to do this. Fedora's default config uses the filesystem label as the name of the mountpoint. Try that. Best Regards, Alex. -- Alex Butcher, Bristol UK. PGP/GnuPG ID:0x5010dbff "[T]he whole point about the reason why I think it is important we go for identity cards and an identity database today is that identity fraud and abuse is a major, major problem. Now the civil liberties aspect of it, look it is a view, I don't personally think it matters very much." - Tony Blair, 6 June 2006 <http://www.number-10.gov.uk/output/Page9566.asp>
From: Geoffrey Clements on 3 Oct 2006 05:46 "Alex Butcher" <alex.butcher.news0706(a)assursys.co.uk> wrote in message news:pan.2006.09.30.22.53.47.348845(a)assursys.co.uk... > On Sat, 30 Sep 2006 21:50:16 +0100, Geoffrey Clements wrote: > >> My daughter visits me regularly and often brings her iPod. I have >> installed gtkpod on my PC so that she can manage her mp3s on the iPod. >> gtkpod needs to be told where the iPod mount point is and I'd like to fix >> this location. Currently it is being set to /media/sda2 - note that this >> is a mount point not the device - but this could change the next time she >> plugs it in. >> >> I'd like to make sure that when she attaches this iPod it always mounts >> at >> the same place, e.g. /media/Amys_IPod but I'm not sure how to do this. > > Fedora's default config uses the filesystem label as the name of the > mountpoint. Try that. > Thanks for the suggestion, I've googled around and searched the man pages but haven't found out how to do this unless I do it manually (and therfore statically) by setting up fstab. I've been reading through the hal docs and I think I've now lost the will to live. I think it can be done by configuring hal but I haven't had the time to try it yet. -- Geoff
From: Bruce Stephens on 3 Oct 2006 14:46 "Geoffrey Clements" <geoffrey.clementsNO(a)SPAMbaesystems.com> writes: [...] > Thanks for the suggestion, I've googled around and searched the man > pages but haven't found out how to do this unless I do it manually > (and therfore statically) by setting up fstab. > > I've been reading through the hal docs and I think I've now lost the > will to live. I think it can be done by configuring hal but I > haven't had the time to try it yet. I've never tried hal. I suggest first making the device fixed (by writing some suitable udev rule). Then set up the mount point using autofs (so edit /etc/auto.media or something rather than fstab).
From: Nix on 10 Oct 2006 19:06 On Sat, 30 Sep 2006, Geoffrey Clements said: > My daughter visits me regularly and often brings her iPod. I have installed > gtkpod on my PC so that she can manage her mp3s on the iPod. gtkpod needs > to be told where the iPod mount point is and I'd like to fix this location. > Currently it is being set to /media/sda2 - note that this is a mount point > not the device - but this could change the next time she plugs it in. > > I'd like to make sure that when she attaches this iPod it always mounts at > the same place, e.g. /media/Amys_IPod but I'm not sure how to do this. I That is udev's job. e.g., I use this: # MP3 player SUBSYSTEMS=="scsi", ATTRS{model}=="iPod", ATTRS{vendor}=="Apple", KERNEL=="sd?2", SYMLINK+="ipod", GROUP="dosdisks" > know I can configure udev to create links to the device which remain > constant (I already do this with my digital camera) but I'm not sure how to > keep the mount point common. Um, /etc/fstab, just as for any other device? /dev/ipod /mnt/ipod vfat defaults,nosuid,nodev,quiet,gid=16,umask=002,user,noauto 0 0 > One thought is that I could use udev to set the device symlink then use > fstab to set the mount point but this seems a bit, well, klunky. Well, that's the way it works for every other Unix block device. -- `In typical emacs fashion, it is both absurdly ornate and still not really what one wanted.' --- jdev
|
Next
|
Last
Pages: 1 2 3 4 Prev: Copying a partition from one disk to another Next: Knopiix 3.4 slow writing to USB2 hard drive |