# emonPi custom bash prompt: RW indicator

**URL:** <https://community.openenergymonitor.org/t/emonpi-custom-bash-prompt-rw-indicator/2056>\
**Category:** emonPi\
**Created:** [31 October 2016 11:55 UTC](https://community.openenergymonitor.org/t/emonpi-custom-bash-prompt-rw-indicator/2056 "2016-10-31T11:55:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [31 October 2016 11:55 UTC](https://community.openenergymonitor.org/t/emonpi-custom-bash-prompt-rw-indicator/2056/1 "2016-10-31T11:55:08Z")

</div>

Continuing the discussion from [Increase emonSD pre-built SD card to 8GB min](https://community.openenergymonitor.org/t/increase-emonsd-pre-built-sd-card-to-8gb-min/1730/12):

As suggested by @Andy_Taylor in the thread above we have implemented a custom bash prompt on the emonPi which alerts the user if the file-system is in read-only (ro) or read-write(rw) mode from the prompt e.g.

```auto
pi@emonpi(ro):~$ 
pi@emonpi(ro):~$ rpi-rw
Filesystem is unlocked - Write access
type ' rpi-ro ' to lock
pi@emonpi(rw):~$ 

```

_This updated prompt will be rolled out to all existing emonPis via emonPi update. Just run ‘admin \> emonPi Update’ in local Emoncms to pull in the changes_\*

> <https://github.com/openenergymonitor/emonpi/commit/c21e61cde7ad43c0a6ccc8c5b144a88ef3a8b4e2>
