LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Fail to Mount iPod Nano Read-Write (https://www.linuxquestions.org/questions/slackware-14/fail-to-mount-ipod-nano-read-write-658507/)

Muraii 07-27-2008 02:17 AM

Fail to Mount iPod Nano Read-Write
 
Hi,

I've been scouring teh intarweb for a cure for my iPod issue. There are a few, albeit older, posts here at LQ, but they haven't helped. I'll reproduce my udev rule, then my fstab, then the error message, and the general behavior.

In

Code:

/etc/udev/rules.d/10-local.rules
I have this rule

Code:

BUS=="usb", ATTR{product}=="iPod", KERNEL=="sd?2",NAME="%k", SYMLINK="ipod",MODE="0664"
Here's the fstab entry I'm using.

Code:

/dev/sdb2  /media/ipod    auto    nodev,nosuid,user,rw,noauto    0  0
When firing up amaroK and attempting to connect to the iPod, I get this error.

Code:

Media Device: failed to create lockfile on iPod mounted at /media/ipod: Read-only file system
Generally, my system identifies the iPod Nano 3G when I plug it in. I mount it, then go to amaroK and receive the error above when attempting to connect to the iPod. I know it's mounted using hfsplus, and mount lists it as read-write.

Is there a udev thing I need to do? Wouldn't seem so, since it's recognized, but then again, there's no /dev/ipod entry created. I haven't tried any other app, assuming amaroK doesn't have a bug that's responsible.

Thanks for any pointers.

Daniel

jschiwal 07-27-2008 04:18 AM

Which desktop do you use? On my system, there isn't an entry for the device in /etc/fstab, but you can change some options in the properties of the desktop icon. If you use kde and right click on the icon; select properties; select the mounting tab and click the "mount as user" tab.
Some random notes: I made myself a member of polkituser. I don't know if that's important. I also enabled device icons in the desktop -> properties -> behavior setup.

It could be that your system is designed differently. In that case you might try using the "uid=" and "gid=" options. This will change the owner/group of the filesystem when it is mounted.

If you have a nano, or device with a solid state device, then I think you want to use the same options you would use for a pendrive:

rw,nosuid,nodev,noatime,flush,utf8,shortname=lower

This is how a pendrive is mounted on my system. The nosuid & nodev options enhance security somewhat. The noatime option is important to extend the life of the device by not updating access times, so reading a file won't cause a write.

Muraii 07-28-2008 10:50 AM

Quote:

Originally Posted by jschiwal (Post 3227502)
Which desktop do you use? On my system, there isn't an entry for the device in /etc/fstab, but you can change some options in the properties of the desktop icon.

I use Xfce 4.4 on a Slackware 12.1 system. Mounting from the desktop icon fails.

Quote:

If you use kde and right click on the icon; select properties; select the mounting tab and click the "mount as user" tab.
Some random notes: I made myself a member of polkituser. I don't know if that's important.
I'm looking into that. When googling before posting here, I saw some people creating an "ipod" group. Maybe I'll try that.

Quote:

It could be that your system is designed differently. In that case you might try using the "uid=" and "gid=" options. This will change the owner/group of the filesystem when it is mounted.
I'll read up on that. Thank you.

Quote:

If you have a nano, or device with a solid state device, then I think you want to use the same options you would use for a pendrive:

rw,nosuid,nodev,noatime,flush,utf8,shortname=lower

This is how a pendrive is mounted on my system. The nosuid & nodev options enhance security somewhat. The noatime option is important to extend the life of the device by not updating access times, so reading a file won't cause a write.
I'll look into/try some different mounting options, but the problem just surrounds the write permission. I can look through the iPod file structure without a problem; I think I'm going to try copying something to it outside amaroK just to see if it's amaroK's problem (unlikely).

Thanks for your help.

Daniel

jschiwal 07-28-2008 11:30 PM

When I've had problems updating the tags on an mp3, it was due to there not being write permissions for the group user. After the ipod's drive is mounted look at the permissions with "ls -l". I believe that you want to be the owner and group owner. That means using the "uid=" and "gid=" options. In any event, check the permissions and ownership of the mounted ipod drive.


==
P.S. I noticed that my double quotes were converted to &quot in my prior posts.


All times are GMT -5. The time now is 07:19 PM.