← Back to team overview

ubuntu-phone team mailing list archive

how to unmount / format SD card

 

Hello,

I have inserted an used 8 GByte SD card which is recognised by the E4.5 and
mounted (even if the SD GUI app says it can not mount or format it):

phablet@ubuntu-phablet:~$ mount | fgrep vfat
/dev/mmcblk1p1 on /media/phablet/7895-9F4B type vfat (rw,nosuid,nodev,relatime,uid=32011,gid=32011,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

also all the old content is visible fine:

phablet@ubuntu-phablet:~$ find /media/phablet/7895-9F4B | wc -l
114352
phablet@ubuntu-phablet:~$ du -sh /media/phablet/7895-9F4B 
3.7G	/media/phablet/7895-9F4B
phablet@ubuntu-phablet:~$ df -kh /media/phablet/7895-9F4B 
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk1p1  5.1G  3.7G  1.4G  73% /media/phablet/7895-9F4B

phablet@ubuntu-phablet:~$ ls -l /media/phablet/7895-9F4B
total 352
drwxr-xr-x 4 phablet phablet 32768 Jan  1  2012 diario2011
drwxr-xr-x 4 phablet phablet 32768 Jan  2  2013 diario2012
drwxr-xr-x 3 phablet phablet 32768 Nov 27  2011 dic
drwxr-xr-x 2 phablet phablet 32768 Apr  3 15:16 Documents
drwxr-xr-x 2 phablet phablet 32768 Apr  3 15:16 Downloads
drwxr-xr-x 2 phablet phablet 32768 Jul 15  2012 Habana2011
drwxr-xr-x 2 phablet phablet 32768 Jul 19  2012 Habana2011.1024
drwxr-xr-x 3 phablet phablet 32768 Jan  1  2000 Maps
drwxr-xr-x 2 phablet phablet 32768 Apr  3 15:16 Music
drwxr-xr-x 2 phablet phablet 32768 Apr  3 15:16 Pictures
drwxr-xr-x 2 phablet phablet 32768 Apr  3 15:16 Videos

What should I do to avoid the error messages on re-boot or insert?
The content on the SD does not matter anymore.

Thanks

	matthias

-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045


Follow ups