git: 9front

Download patch

ref: 0d61797ee0b0e15e6fb07823ef42c1d5b5a62bb6
parent: 9b66ea61bc5963549af5d572f8dda128bf813164
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Nov 26 04:01:41 EST 2025

9fs: scan /dev/sd[MN]*/dos for pidos (thanks clevor)

The sdmmc controllers have changed
with the addition of sdio wifi,
so scan both sdM* and sdN*.

--- a/rc/bin/9fs
+++ b/rc/bin/9fs
@@ -10,7 +10,7 @@
 	if(~ $#2 1)
 		part=`{ls $2 >[2]/dev/null}
 	if not if(~ $1 pidos)
-		part=`{ls /dev/sdM*/dos >[2]/dev/null}
+		part=`{ls /dev/sd[MN]*/dos >[2]/dev/null}
 	if not
 		part=`{ls /dev/fs/$1 /dev/sd*/$1 >[2]/dev/null}
 	if(~ $#part 0) {
--