|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
In addition to J65nko's article, you should familiarize yourself with Section 14.17 of the FAQ. The important (abbreviated) steps are to:
|
|
||||
Thank you very much for your replies people;
after using dmesg and disklabel i found that my external drive is "sd0i" and is a ntfs filesystem. After some failed attempts i figured(and please correct me if i'm wrong) that i must use "mount_ntfs" not "mount". So when i give "sudo mount_ntfs /dev/sd0i /home/sepuku/usb" why do i get an "invalid argument" error? edit: Also the mount_ntfs man says that "it's not currently possible to create or remove files on NTFS filesystems."Is there a way to change the filesystem type so i can read and write without losing my data? :/ Last edited by sepuku; 1st July 2011 at 10:12 AM. |
|
|||
Quote:
Quote:
Reading NTFS is okay; just don't write to NTFS. |
|
|||
Reading & writing MS-DOS filesystems is fine, however, this would mean that you would have to save (back up) your data elsewhere & reformat your drive in Windows as MS-DOS first.
|
|
||||
Hello there ocicat and thanks for answering!I have the 4.9 version!The -t switch did work for me and thank you very much for your help!Althouth dmesg,disklabel returned that i have a ntfs filesystem,i managed to mount using "mount -t msdos /dev/sdoi /home/sepuku/usb"
Does this mean that my external drive is msdos?I thought that msdos and ntfs was not the same? Last edited by sepuku; 1st July 2011 at 01:28 PM. |
|
|||
Quote:
NTFS & MS-DOS are two completely different filesystems, however, it sounds like you have a flash drive which are frequently formatted as MS-DOS. If this indeed is the case, then you will be able to successfully read & write to it. Note that I am simply trying to guess given very limited information. For a precise answer, post the output of disklabel(8). |
|
||||
The output of "disklabel sd0i" is ntfs but to be more sure this is it:
"i: 3907024002 63 NTFS" i'm not pasting all the output 'cause i'm not able to copy-paste text from xterm.If you want adddition information please let me know.And once again thank you for your patience!!!! |
|
|||
Repeating myself, NTFS partitions will only be able to read from, not written to. Please study the FAQ references posted earlier if you wish to pursue read-only mounting of an NTFS partition.
If your goal is to share data (read & write) between Windows & OpenBSD with this external drive, reformatting it as MS-DOS may be your only option. |
|
||||
OK got it.But i think i did not put it right;
I don't want to share my files with windows machine; I just want to create,copy downloaded files,delete files etc. to my extrernal drive.And any kind of manipulation on my files.Is this safe on ntfs?That's what i can't figure! I already started reading the FAQ but not everything is clear to me even after reading so thats why i'm asking! Thank you again for your patience and your time |
|
||||
IF (and that's a big IF) ... you have a flash drive which you will not be using on MS Windows platforms, then you can format for native use with OpenBSD:
Last edited by jggimi; 1st July 2011 at 02:25 PM. Reason: clarification, added example |
|
||||
Two more things, just for your education:
Quote:
From your description of your situation -- the MBR partition type is NTFS, but it mounts with -t msdos -- it appears your MBR is marked as NTFS, but the underlying filesystem is not NTFS, instead, it is one of the FAT MS-DOS formats. FAT (FAT12, FAT16, FAT32, etc.) is ubiquitous. It has no security, is very simple, and is the de facto format used by all sorts of devices, such as USB sticks (as shipped by the factory), and storage devices in digital cameras, phones, etc. NTFS is Microsoft's native filesystem for NT-based Windows systems -- Windows NT and all its antecedents, such as XP, Vista, 2003 Server. |
|
||||
OK thank you once again for your help!I think i'll just have to back up my files and reformat it is msdos cause your big IF gave me a lot of thoughts.maybe i'll never need to share my files to windows machine but just the idea not being able to do it is not that cool!
I'll keep in mind what you said about data loss! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mounting NTFS external hard disk. | bsdnewbie999 | OpenBSD General | 16 | 4th September 2010 01:59 PM |
mounting external XFS HDD | rativid | OpenBSD General | 5 | 3rd September 2010 02:31 PM |
errors re-mounting external drive | amorphousone | OpenBSD General | 3 | 12th March 2010 05:34 PM |
Automounting drives | jwhal | OpenBSD General | 4 | 12th June 2008 05:00 PM |
Mounting External harddisk | rex | FreeBSD General | 1 | 3rd June 2008 09:34 PM |