D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Udev mount rw GoGear MediaPlayer

 

On Sun, 2014-02-23 at 14:43 +0000, Kevin Lucas wrote:
> HI all 
> 
> Can any one show me where in Udev I can turn off the on error SW forcing
> ro on mounting a USB media player as it always mounts ro.
> /dev/sdc on /run/media/kevin/PHILIPS type vfat
> (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
> 
> If I am quick enough about 5 secs after plugging in I can Sysnc, after
> that  ....
> 
>  from messages 
> Feb 23 14:34:16 kevin kernel: [20842.204557] FAT-fs (sdc): error,
> fat_bmap_cluster: request beyond EOF (i_pos 6357013)
> 
> If I use DISKS or Gparted or fdisk fix the errors I get to mount it but
> only after fiddeling, unplugging, checking perms etc. 
> 
> On Fedora 18 64 bit.
> -- 
a bit more info from fsck
fsck.vfat  /dev/sdc
fsck.fat 3.0.22 (2013-07-19)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may
be corrupt.
1) Remove dirty bit
2) No action
? 1
FATs differ but appear to be intact. Use which FAT ?
1) Use first FAT
2) Use second FAT
? 1
/.is_audio_player  and
/Music/Friday Night Comedy from BBC Radio 4/fricomedy_20130531-1830a.mp3
  share clusters.
1) Truncate first to 172032 bytes
2) Truncate second to 0 bytes
? 1
/Music/Friday Night Comedy from BBC Radio 4/fricomedy_20130531-1830a.mp3
  File size is 27249189 bytes, cluster chain length is 8192 bytes.
  Truncating file to 8192 bytes.
Leaving filesystem unchanged.
/dev/sdc: 275 files, 55120/494361 clusters
It may be problem on unmounting?


-- 

________________________________________________________________________


Regards

Kevin Lucas
Minions Post Master(Sub) 
A dedicated Linux user
/usr/bin/microsoft
Skype minions_shop
www.minionsbandb.co.uk
www.tearooms.minionsbandb.co.uk
FaceBook Minions_shop
Po House, Minions,
Liskeard Cornwall 
PL14 5LE
01579363386






-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq