General :: Cannot Write Or Delete From SD Card

May 20, 2011

Code:
mount
/dev/sdd1 on /media/E0FD-1813 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
cp 'Aankhon Aankhon Mein hum tum ho gaye deewane.mp3' /media/E0FD-1813/Music/sumeet/a
cp: cannot create regular file '/media/E0FD-1813/Music/sumeet/a/Aankhon Aankhon Mein hum tum ho gaye deewane.mp3': Read-only file system
The micro sd card mounts & works as fat32 in windows xp just fine.

View 14 Replies


ADVERTISEMENT

General :: Write A Shell Script That Will Delete All The .dat Files?

Apr 21, 2011

i have to write a shell script that will delete all the .dat files in /var/oracle/etl/incoming which the created date of the file is 7 days before the currrent date.

View 8 Replies View Related

General :: Cannot Write To SD Card Anymore

Dec 24, 2008

I am using OpenSuSE 11.0
KDE 3.5.9
Konqueror

I was able to copy 227 images to a brand new 2GB memory card and I am only using 8% of the card and now I can't write to it anymore?

Code:
Filesystem Size Used Avail Use% Mounted on
df -h returns this : /dev/sdd1
1.9G 136M 1.8G 8% /media/disk-2

This isn't the first time this has happened either. Just the last couple times I didn't really care enough to pursue it. But now I am trying to load a card for my daughters digital photo frame and I can't because now all of a sudden I can no longer write to the drive? The exact error message I get is: "Could not write to /media/disk/image.jpg" and when I try to create a new folder, I get a disk full error message? How in the heck is this possible when I am only using 136MB of 2GB of capacity?

View 5 Replies View Related

General :: SD Card Write Protect On But Not Enabled

Sep 21, 2010

I plugged in a SDCard (SanDisk 4GB) with the write protect On in my Ubuntu system. Ideally this shouldn't have allowed me to write to this card. But it did. And that's when I found that it was getting mounted as a rw filesystem instead of ro. But the same card when I inserted it in another Ubuntu system with write protect On, this problem was not there. So nothing wrong with the Card.

View 3 Replies View Related

General :: Write To SD Card Fails - No Error

Feb 17, 2010

I am using Sandisk 2GB micro SD card on ARM processor EP9307A. The card is detected, mounted.
I can read data from the SD card. But cannot write to it. There is no error when I attempt to write to the Card. It appears as if its working fine. But after umount and re-mount, the data written is gone.

Here is the log when the SD card is detected:
# insmod drv
card size = 1977614336, sector size = 31, wp_grp_size = 127, wp_grp_enable = y
S:00001000 M:fffff000

What is the significance of Write Group Protect Enable (wp_grp_enable=y). Is it the case that the SD card is write protected.

Using CMD9 : SEND_CSD , I can read the Card Specific Data (CSD).
I have tried CMD27 : PROGRAM_CSD , to CLEAR wr_grp_enable : No effect seen.
I have tried CMD29 : CLEAR_WRITE_PROT ,: No effect seen.

Where is the issue,
1. I could not send commands properly.
2. Card cannot be set free from WRITE_PROTECT.
3. Something else.

View 2 Replies View Related

General :: Write Kernel Module That Will DMA Custom Card?

Aug 31, 2010

I am trying to write a kernel module that will DMA my custom card. Right now when i plug the card into linux no valid PCI device shows up (meaning I probably have a error on my end, i know) however, If I halt the system at startup in the bootloader (uboot) I am able to directly access the card as I know in uboot the physical memory address that is mapped to my device. Is there a way I can access the card in a simliar fashion in linux?

View 1 Replies View Related

General :: Alternative Ways To Turn Off Write Protection On SD Card

Mar 29, 2011

The lock on the card broke off and I tried using tape in that groove, but is too thick for my camcorder. I navigated /media > Context Menu > Properties > Permissions tab > File access, and chose Read and write, but this didn't allow my camcorder to record with the card. Unless there's a way to unlock it with software, I'll try switching the insides with the casing of another. I just want to know what is the best type of SD card or Mini SD adpter to do the trick, i.e. what has the best lock.

View 1 Replies View Related

General :: Remove Write-Protected File - Will It Actually Delete The Password File?

Jul 30, 2010

When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?

View 1 Replies View Related

General :: Cannot Read / Write SD Card After Improper Format (sector Size 0) - Fix It?

Jun 12, 2011

I was attempting to reformat a 16GB MicroSD card in my camera when the battery died mid-way. After that, any time I try to read the card in my camera, it gives me a "Card Error" and does not allow me to reformat it in my camera.

So, I thought I would plug the camera in to the laptop with it set to host the card as media when plugged in as USB, in an attempt to fix the formatting issue.

However, when I plug it in to my linux machine, it does not register as a device (e.g., /dev/sda) due to some errors, therefore I cannot reformat it. Essentially, I think I need to fix the partition table but I'm not sure how to when it doesn't register as a device. code...

View 7 Replies View Related

General :: PCM API To Write Audio Data To Sound Card At Kernel Level

May 26, 2011

In playback application i guess "snd_pcm_lib_write1" is the function call used to write the audio data to sound card at kernel level.If that is true. how can i send the same audio data at kernel level to other system connected over LAN.

View 1 Replies View Related

Ubuntu Networking :: NFS And OSX - Unable To Write Or Delete Anything

Jan 10, 2011

share a mount"/RAID" on my server: 192.168.0.2 with everyone on my network.192.168.0.*
From what I have listed below I am able to mount the share but I can not write or delete anything. It is almost like it is ro only permissions.

From the Server:

Code:

sudo cat /etc/exports
[sudo] password for jesse:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).

[code]....

Eventually I need to share 192.168.0.2:/RAID on two OSX computers as well. I read some places where you need to add insecure to your /etc/exports on your server in order for the OSX client to access the the share.

View 1 Replies View Related

Security :: Group Can Read, Write, But Not Delete?

Oct 14, 2010

Long time reader, first time poster. I've got, what has become to me, a brain bender. It seems ACL's are the best way to go, but I am not 100% sure. Each user should be able to create files and modify each others'files, but should not be able to delete any one elses files in a directory.chmod -1777?setfacl?

View 2 Replies View Related

Software :: Write Access To A File But Not Delete?

Mar 16, 2011

On a server in an office, I want a situation where people on the client PC are able to write to a particular file, but not have privileges to delete it -

View 3 Replies View Related

Ubuntu :: Write A Script To Go Through And Delete Bulk Duplicate Files?

Jul 7, 2010

I am using my Ubuntu machine to serve as a media server and network storage. The problem I have is iTunes on my desktop managed to make 2 copies of every song on the machine so instead of the 30GB I have its up to almost 100gb. I was wondering if there was a way to write a script to go through and delete the duplicates. The duplicates are the same filename as the original except a 1 or 2 following. Wasn't looking forward to deleting 12,000 files by hand.

View 1 Replies View Related

Ubuntu Networking :: Windows XP Pro - Write And Delete From Folder And Lucid

Dec 22, 2010

I just got a new PC with 2TB of HDD space and it's running Ubuntu 10.04.1 32bit. I have created a user for networking, called share and have created a folder within the home folder called public. I then shared the folder and gave 777 access to it as I want this to be public - but for my local network and my later for ssh access. I have installed samba, and under the sharing options I allowed for guest logins and people to write and delete from folder. SO how would I be able to "see" this from my windows machine? It's running XP pro and it has a domain other than workgroup - but that shouldn't affect it should it?

Also, the laptop with XP is on the wireless with and internal IP of 10.0.0.135 and my PC is on the LAN connection with and internal IP of 10.0.0.1 I'm sort of familiar with networks, but I have NO clue as to how to do this.

View 3 Replies View Related

Programming :: Write Synatax To Delete Stuff Older Than 8 Days?

Mar 31, 2011

I got this part from my script working that it will delete a folder is from 8 days agoEightDaysAgo=`(date --date="8 days ago" +%d-%m-%Y)`rm -rf $EightDaysAgoTarHowever I need to remove files that are older than 8days for example if the script is'nt run for a day it will remove both the 9th and 8th day one not just the 8th day one. If I'm making any sense lol

View 3 Replies View Related

Server :: Write A Cron Job To Delete Imap Processes Every Minute

Jan 8, 2010

I'm running my website on a linux server. I'm using a mac. Apparently, mac mail has a bug where it creates too many imap processes.

Since I'm on a shared server with a 25 process limit, with 3 email accts x 4+ processes each = a lot of problems!

I'm trying to write a cron job to delete imap processes every minute.

I've tried two things

1) following this blog's advice [URL]

Code:
killall imap

i realised it was imapd not imap, but i tried another method anyway

2) create a kill-imap.sh file in my server folder.

Code:
#!/bin/bash
/usr/bin/killall imapd

then executing the file from the cron command /kill-imap.sh

both these cases, it didn't seem to work!

I would get a daemon emai reply with

imapd: no process killed

just to give more info, the existing imap processes look like this

/usr/lib/courier-imap/bin/imapd /home/sitename/mail/sitename.com/emailusername

honestly, I'm not too experienced in this, and i've searched the net without luck. can anyone advise what i'm supposed to do to kill these imap processes every 5 min via cron job?

View 2 Replies View Related

Ubuntu :: Write Into The Mac Os X Partition Inorder To Delete The Appleintelcpupowermanagment.kext File

Aug 18, 2011

i want to write into the mac os x partition inorder to delete the appleintelcpupowermanagment.kext file

View 1 Replies View Related

General :: Storage - Mount "locked" SD Card As Read-write In GNU

Feb 9, 2010

My Canon PowerShot A470 + CHDK can write to SD-cards that are "locked" (the lock switch is used to make the card bootable), but GNU/Linux

`/dev/mmcblk1': Read-only file system

(I'm using "Texas Instrument 5-in-1 Multimedia Card Reader")

So I have to switch that switch on and off again and again. ("unlocked" to write to the card in Linux, "locked" to boot the camera from it).

How to force locked card to be writable in GNU/Linux?

View 1 Replies View Related

Ubuntu :: Cannot Write Into Sd Card

Jun 25, 2011

i bought a new phone(Sony ericcson xperia x8 ).i had been using it fine till few days back.now, i plug the usb.the drive appears, i copy files, files appears in the drive, eject.but the files dissapear.when i plug the usb again, the files arent there.

View 6 Replies View Related

Ubuntu Multimedia :: Banshee Write To An SD Card?

Apr 3, 2011

I've star rated hundreds of tracks. All I want to do is write the 4* & 5* tracks to an SD card for use elsewhere. Banshee can use Brasero to write them to CD so at a push I could write a CD then copy it back to an SD card but that seems the long way round.

I'm using Banshee 1.8.1 on Lucid.

View 2 Replies View Related

Ubuntu :: Unable Write To SD Media Card?

May 7, 2011

I've got a 2GB SD card, I'm trying to transfer some videos on to it, but Ubuntu keeps on prompting me to open Shotwell Photo Manager.It won't let me create folders or transfer my videos to the SD card.

View 4 Replies View Related

General :: Write A Shell Script Which Will Simultaneously Collect OS User Information And Write In An Individual Text Files?

Feb 17, 2010

I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.

View 8 Replies View Related

Ubuntu :: Camera Flash Card Write Access?

Nov 2, 2010

I have this Lumix G2 camera from Panasonic. Problem is that I cannot put any files on cameras memory card from Ubuntu via usb. I need it to put firmware updates for the camera.

View 1 Replies View Related

Red Hat / Fedora :: Read Or Write At Specified Memory Location On SD Card

Dec 10, 2010

I am new to linux at driver level. I want to read/write at specified memory location in microSD card in linux. I do not want to used SD card with any file system. How to do that. My linux distribution is Fedora13.

View 3 Replies View Related

Debian :: Low Power Server / Use USD Card As Write Buffer So HD Idles

Dec 18, 2015

I have made a server using a bananapi. The bananapi is an embedded linux mini PC, using an allwinner A20 SOC. This server boots and runs from an uSD card, and logs data from sensors to an attached 1TB hard drive. This works OK, but the hard drive consumes a lot of power (about 2.5W), this essentially doubles the amount of power needed. I am planning to power this setup from an accu, therefore I would like to keep power consumption as low as possible.

I am planning to let the application log to the uSD card. After a while the uSD card is almost full. At that moment I can wake up the HD, move the data to the HD, delete the data from the uSD card, set the HD to sleep, and wait until the uSD card is full again. Is there some clever way to do this? I can do this with basic shell scripting, but then I get all kind of issues like open files that are copied to the HD while they are still being filled by the logging application. This would mean they end up on the HD incomplete.

View 5 Replies View Related

Hardware :: PCMCIA Linear Flash - Read And Write To The Card

Mar 4, 2011

The card in question is a PC Card (PCMCIA) 16Bit Intel Series 2 Flash Memory Card (2MB) and I want to be able to read from and write to the card. I've rebuilt latest stable kernel (2.6.37.2) with all the PCMCIA options turned on or built as modules. I've got an SRAM card, a CompactFlash Card (in a CF to PC-Card adapter) and the Linear Flash card to try, the SRAM card I'm not expecting greatness from, but hoping to prove that the slot works (it registers, but doesn't get much reported from lspcmcia). The CF card in the adapter works. I'm expecting to see a block device in /dev but nothing appears lspci:

[Code]....

View 11 Replies View Related

Hardware :: Phone And Memory Card Auto Mounting With Write Permissions

Feb 4, 2010

Few weeks ago modified my old mobile phone SE k750i by setting on it w800i firmware. After this my phone isn't really (fully automatically) recognized by Ubuntu (9.10) which is the small problem for me now. Linux recognizes it as a USB device, but doesn't automatically mount it, which is why I have to do that manually and that leads to read only permissions for my user.

Here are the few outputs:

lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 005: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 004: ID 0fce:d028 Sony Ericsson Mobile Communications AB
Bus 002 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 002: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep usb .....

I've tried to create a custom udev rule via this thread, by putting the correct information according to lsusb:

Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="d028", MODE="0660", OWNER="zivs"
and reloading the udev rules, but that didn't help also.

How could I make my Ubuntu mount the /dev/sdb1 (which is my phone's memory card, since manually mounting it, there's all my phone recorded stuff) automatically on Desktop with all read and write permissions when I connect my phone to computer? Phone gets recognized immediately on Win7 OS ... but after the firmware change it's not really recognized by Ubuntu anymore.

View 1 Replies View Related

Ubuntu :: Write A Shell Script To Extract Files From An SD Memory Card In The Background?

Aug 20, 2010

I'm looking for a way to insert an SD memory card into my computer and have it copy the files from it (a specific directory) in the background while I view the images from the desktop.

View 2 Replies View Related

Ubuntu :: Change Delete Button To Delete Instead Of Move To Trash

Apr 18, 2010

Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved