Re: [9fans] Mount a usb ext2 hd?

2008-04-10 Thread a
% if(! test -e /n/usb) mkdir /n/usb % mount -c /srv/ext2 /n/usb mount: mount /n/usb: file does not exist i think you mean mount -c /srv/ext2 /n/ext2 /dev/sdXX/$partition are you correcting the /n/usb to /n/ext2, or the lack of a spec arg? if the later, at least as per the man page,

Re: [9fans] Mount a usb ext2 hd?

2008-04-10 Thread Markus Sonderegger
Thank you! I works like this: usb/disk disk/partfs -m /dev -d sdU0 /n/disk/0/data disk/fdisk -p /dev/sdU0/data/dev/sdU0/ctl blk=`{disk/fdisk -p $disk | awk '/^part linux / {print $3}'} ext2srv -f /n/disk/0/data:$blk usbdisk mount -c /srv/usbdisk /n/usb /dev/sdU0/linux