Re: [Hampshire] mounting an ipod nano.

Top Page
Author: Hugo Mills
Date:  
To: testermike, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] mounting an ipod nano.

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57305100.hantslug.org.uk.16575': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Aug 20 16:38:26 2007 BST
gpg: using DSA key B2C27BC21C335860
gpg: Can't check signature: No public key
On Sun, Aug 19, 2007 at 04:00:44PM -0500, Mike Burrows wrote:
> Hello Folks.
>
> Please see the returns below:
>
> Disk /dev/hda: 164.6 GB, 164696555520 bytes
> 255 heads, 63 sectors/track, 20023 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1         851     6835626   83  Linux
> /dev/hda2             852       20023   153999090    f  W95 Ext'd (LBA)
> /dev/hda5             852       19961   153501043+  83  Linux
> /dev/hda6           19962       20023      497983+  82  Linux swap /
> Solaris
> Note: sector size is 2048 (not 512)

>
> Disk /dev/sda: 2030 MB, 2030043136 bytes
> 255 heads, 63 sectors/track, 61 cylinders
> Units = cylinders of 16065 * 2048 = 32901120 bytes
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1           3       96264    0  Empty
> /dev/sda2               4          61     1863540    b  W95 FAT32
> marvin:/home/testermike# /dev/sda2 /mnt/ipod vfat rw,user,noauto,noatime
> 0 0
> bash: /dev/sda2: Permission denied
> marvin:/home/testermike#

>
>
> I'm guessing that the nano only has root permissions. It certainly
> automounts when I boot as root.


Or it could be that "/dev/sda2" isn't a valid command. You need to
put that line in /etc/fstab, and then use "mount /dev/sda2" or "mount
/mnt/ipod" to mount it.

> Does somebody know how to make it accessible by the non root user
> please?


You may also want to look at the "uid" and "gid" options -- see
the section for the FAT filesystem in the mount man page.

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
      --- Normaliser unix c'est comme pasteuriser le Camembert ---