Thank you all for the clearing this up for me. The presence of mount_ntfs suggested to me that ntfs was supported, but apparently not. I'll either work around this with two machines and pscp on the Windows side, or build a kernel with ntfs support enabled.
Thanks again -- /Don Allen On Sat, Jun 6, 2009 at 9:58 AM, Owain Ainsworth<zer...@googlemail.com> wrote: > On Sat, Jun 06, 2009 at 09:10:28AM -0400, Donald Allen wrote: >> I've got OpenBSD 4.5 installed on a Thinkpad X61, dual-booted with >> Windows XP. XP is at the beginning of the disk, starting at sector 63. >> The XP slice, to use BSD terminology, is about 10 Gb (the disk is 100 >> Gb). The OpenBSD slice occupies the rest of the disk. During the >> OpenBSD install, I created partitions a, b, d, e, f, and g for the >> mountpoints /, swap, /tmp, /var, /usr, and /home. I don't believe >> there was any interaction regarding the XP slice during the install. >> >> Now I want to mount the XP (ntfs) partition. So, having created >> /mnt/windows as root, I tried >> >> r...@sophie:/mnt$ mount -t ntfs /dev/sd0i windows >> mount_ntfs: /dev/sd0i on /mnt/windows: Operation not supported >> >> So I did >> >> r...@sophie:/mnt$ disklabel sd0 >> # Inside MBR partition 1: type A6 start 20487600 size 174877920 >> # /dev/rsd0c: >> type: ESDI >> disk: ad4s2 >> label: >> flags: >> bytes/sector: 512 >> sectors/track: 63 >> tracks/cylinder: 255 >> sectors/cylinder: 16065 >> cylinders: 12161 >> total sectors: 195371568 >> rpm: 3600 >> interleave: 1 >> trackskew: 0 >> cylinderskew: 0 >> headswitch: 0 # microseconds >> track-to-track seek: 0 # microseconds >> drivedata: 0 >> >> 8 partitions: >> # size offset fstype [fsize bsize cpg] >> a: 316575 20487600 4.2BSD 2048 16384 1 >> b: 2104515 20804175 swap >> c: 195371568 0 unused >> d: 321300 22908690 4.2BSD 2048 16384 1 >> e: 176715 23229990 4.2BSD 2048 16384 1 >> f: 12594960 23406705 4.2BSD 2048 16384 1 >> g: 159364800 36001665 4.2BSD 2048 16384 1 >> disklabel: warning, unused partition i: size 7148239195883 offset 17551383986520 >> disklabel: warning, unused partition j: size 238106791916026 offset >> 211716520590544 >> disklabel: warning, unused partition k: size 163974838534045 offset >> 206347192303801 >> disklabel: warning, unused partition l: size 271451018559616 offset >> 5237774174023 >> disklabel: warning, unused partition m: size 190849433245138 offset >> 190845464470417 >> disklabel: warning, unused partition n: size 211668966116211 offset >> 5864912221576 >> disklabel: warning, unused partition o: size 17630285786338 offset >> 76717108839878 >> disklabel: warning, unused partition p: size 17136519487675 offset >> 217832169078968 >> >> So partition i in the actual label does not describe the XP partition. >> But the default label does >> >> r...@sophie:/mnt$ disklabel -d sd0 >> # Inside MBR partition 1: type A6 start 20487600 size 174877920 >> # /dev/rsd0c: >> type: SCSI >> disk: SCSI disk >> label: ST9100821AS >> flags: >> bytes/sector: 512 >> sectors/track: 63 >> tracks/cylinder: 240 >> sectors/cylinder: 15120 >> cylinders: 12921 >> total sectors: 195371568 >> rpm: 3600 >> interleave: 1 >> trackskew: 0 >> cylinderskew: 0 >> headswitch: 0 # microseconds >> track-to-track seek: 0 # microseconds >> drivedata: 0 >> >> 16 partitions: >> # size offset fstype [fsize bsize cpg] >> c: 195371568 0 unused >> i: 20487537 63 NTFS >> >> So I tried >> >> disklabel -cd sd0 >> >> thinking that this would set the in-memory copy of the label to the >> default and then I'd be able to mount /dev/sd0i. No luck -- same >> error: "Operation not supported". >> >> Would someone please unconfuse me and explain how to get the XP slice mounted? > > GENERIC does not contain ntfs support. > > -0- > -- > Q: How many IBM cpu's does it take to do a logical right shift? > A: 33. 1 to hold the bits and 32 to push the register.