Plan9/Mount Flash Card
How to mount a flash card on 9front and view photos taken on a classic digital camera…
On my Lenovo x230i the flash card appears as /dev/sdM0
:
% ls /dev/sdM0
/dev/sdM0/ctl
/dev/sdM0/data
/dev/sdM0/dos
/dev/sdM0/raw
Let’s mount it first:
% dossrv -f /dev/sdM0/dos photos
% mount -c /srv/photos /n/photos
Next, let’s view the photos on the card:
% cd /n/photos
% ls
.fseventsd
dcim
misc
private
% cd dcim/100_pana
% page *.jpg