Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mounting a SD card as RW still give RO filesystem

David Kramer wrote:
> david at lexa:~$ l /mnt/tmp
> ls: cannot access /mnt/tmp/Video: Input/output error
> total 1220
> d?????????  ? ?    ?         ?                ? Video
> david at lexa:~$ sudo touch /mnt/tmp/me
> touch: cannot touch `/mnt/tmp/me': Read-only file system
> david at lexa:~$ mount | grep /mnt/tmp
> /dev/sdd1 on /mnt/tmp type vfat (rw,noexec,nosuid,nodev)

I can't say for sure, as you didn't include the OS/version, but on
RHEL4-5/CentOS, the mount command lies - if the filesystem was remounted
due to filesystem errors, mount reports it as how it was mounted
originally. My guess is that if you again run an ls of the device, those
????? will have gone away, but I'm speaking from my prior experiences.

>From what I've seen in the past, what you have here are filesystem
errors - check /var/log/messages. I bet it will show fs errors, and will
show that it re-mounted the device read-only. You may also find some
associated hardware error, but that's not always the case.

Grant M,
Grant Mongardi
Senior Systems Engineer

gmongardi-cGmSLFmkI3Y at
781.894.3114 phone
781.894.3997 fax

NAPC | technology matters

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /