> But many thanks for the fs(3) hint. I’m looking into it.
Apologies. To configure a usb disk using fs(3) at boot time, you need
this change to /sys/src/9/boot/local.c which hasn't gone into the
9legacy tree yet:
/sys/src/9/boot/local.c:277,286 - local.c:277,286
if(bind("#p", "/proc", MREPL) < 0)
fatal("bind #p");
bind("#S", "/dev", MAFTER);
- bind("#k", "/dev", MAFTER);
bind("#u", "/dev", MAFTER);
bind("#æ", "/dev", MAFTER);
mountusbparts(); /* make partfs partitions visible again */
+ bind("#k", "/dev", MAFTER); /* /dev/fs config might refer to usb
disks */
if((fd = connectlocalfossil()) < 0)
fd = connectlocalkfs();
------------------------------------------
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T4cb044b1eee98e3e-M9b4ad2b3c2c1e1add529e1eb
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription