|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
write file into usb - operation not supported
Hi Folks,
I need some light here... I have a removable HD. This one I partitioned in 3 parts. I mounted the 3rd partition of this removable HD. mount /dev/sd0k /mnt/pen Then tried to write a file into my HD, just like that cp /home/username/bookmark/bookmarks.html /mnt/pen/data003/bookmarks/bookmarks.html Then I receive this message: Operation not supported The other way around works fine, i.e. I can copy file from this same device into my home directory. But I can not write/copy to the USB HD. Previously I did such copy file writing to device successfully, but it was for a simple USB pendrive, not a USB HD partitioned in 3 parts. So. What is the problem for this case? All comments and suggestions are highly appreciated. |
|
|||
@jggimi...
Code:
# fdisk sd0 Disk: sd0 geometry: 19457/255/63 [312581808 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------------- 0: 0B 0 1 1 - 6485 254 63 [ 63: 104197527 ] Win95 FAT-32 *1: 0B 6486 0 1 - 12971 254 63 [ 104197590: 104197590 ] Win95 FAT-32 2: 07 12972 17 38 - 19457 21 20 [ 208396288: 104181760 ] NTFS 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused Code:
# disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: 1600BEV External duid: 0000000000000000 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 19457 total sectors: 312581808 boundstart: 0 boundend: 312581808 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] c: 312581808 0 unused i: 104197527 63 MSDOS j: 104197590 104197590 MSDOS k: 104181760 208396288 NTFS I also looked at http://nixdoc.net/man-pages/openbsd/...nt_ntfs.8.html but no clue. Last edited by ocicat; 2nd September 2011 at 11:52 AM. Reason: Please use [code] & [/code] tags when posting command output. |
|
|||
Quote:
The manpage for mount_ntfs(8) for OpenBSD 4.9-release states: Code:
The write support should be enhanced to actually be able to change file size, and to create and remove files and directories. It's not very useful right now. |
|
|||
threaderslash, if your goal is to simply use a flash drive for storage, consider formatting as FFS as described in Section 14.17 of the FAQ.
If your goal is to share files with Windows, use the lowest common denominator, MS-DOS. NTFS support is currently limited to reading (reliably...). |
|
|||
If you're wanting a read-writable "foreign" filesystem, it's best to either use ext2 or.. FAT32 with tar/dump files to preserve permissions.
|
|
|||
solved
Now it worked. I just copied the file to the FAT-32 partition. Thank you all!
|
|
||||
Quote:
Quote:
Quote:
Code:
Administrators will rapidly become more familiar with OpenBSD if they get used to using the high quality manual pages. |
Tags |
openbsd; mount; device; usb; file; |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Immense delayed write to file system (ZFS and UFS2), performance issues | J65nko | FreeBSD General | 12 | 15th September 2010 11:46 PM |
/tmp on ram write denied | gosha | OpenBSD General | 8 | 29th March 2009 04:46 PM |
mount_nullfs: Operation not supported by device | carpman | FreeBSD General | 1 | 19th February 2009 05:31 PM |
mount: /dev/ad1s1d : Operation not permitted | tutosun | FreeBSD General | 8 | 9th October 2008 07:28 PM |
Mutex unlock failure: Operation not permitted | ccc | FreeBSD Ports and Packages | 8 | 16th June 2008 10:46 PM |