[9fans] Mount a usb ext2 hd? - Plan9

This is a discussion on [9fans] Mount a usb ext2 hd? - Plan9 ; Any clues or tips? I've tried: % usb/disk -l usb/disk: statusread: usb endpoint stalled % cat /n/disk/ctl 0: inquiry SAMSUNG HD320KJ geometry 625142448 512 % disk/fdisk -p /n/disk/0/data part linux 63 625137345 % ext2srv -f /n/disk/0/data:63 ext2 % ls /srv/ext2 ...

+ Reply to Thread
Results 1 to 2 of 2

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

  1. [9fans] Mount a usb ext2 hd?

    Any clues or tips? I've tried:

    % usb/disk -l
    usb/disk: statusread: usb endpoint stalled

    % cat /n/disk/ctl
    0: inquiry SAMSUNG HD320KJ geometry 625142448 512

    % disk/fdisk -p /n/disk/0/data
    part linux 63 625137345

    % ext2srv -f /n/disk/0/data:63 ext2
    % ls /srv/ext2
    /srv/ext2

    % if(! test -e /n/usb) mkdir /n/usb
    % mount -c /srv/ext2 /n/usb
    mount: mount /n/usb: file does not exist



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

    IIRC ext2srv doesnt understand the partffset notation as dossrv
    does. You could make a FAT partition on the stick and put the ext2 as
    image file on it. Then you could left some space left free and use it
    also with Windows to exchange some files. But this depends on what
    you want to use the stick for. Other option would be to make usb/disk
    understand partition control messages like sd does... maybe thats
    even the case... My system here is not that up to date... Still
    using the usbsfs here.

    cinap


+ Reply to Thread