Hello, I want to move my usb stick from msdos partition to more specific to OpenBSD. I use this stick to keep some configuration files and documents on it.
sd1 at scsibus2 targ 1 lun 0: <SanDisk, Cruzer Fit, 1.26> SCSI4 0/direct fixed serial.07815571010812120514 sd1: 30532MB, 512 bytes/sector, 62530624 sectors Steps I've done to achieve this: # fdisk -e sd1 > reinit >q # fdisk sd1 Disk: sd1 geometry: 30532/64/32 [62530624 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------------- 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused *3: A6 0 2 1 - 30529 49 20 [ 64: 62524916 ] OpenBSD # disklabel -E sd1 Label editor (enter '?' for help at any prompt) >p OpenBSD area: 64-62524980; size: 62524916; free: 62524916 # size offset fstype [fsize bsize cpg] c: 62530624 0 unused > a partition: [a] offset: [64] size: [62524916] FS type: [4.2BSD] > p OpenBSD area: 64-62524980; size: 62524916; free: 20 # size offset fstype [fsize bsize cpg] a: 62524896 64 4.2BSD 2048 16384 1 c: 62530624 0 unused > w > q No label changes. # newfs sd1a /dev/rsd1a: 30529.7MB in 62524896 sectors of 512 bytes 151 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each super-block backups (for fsck -b #) at: 32, 414688, 829344, 1244000, 1658656, 2073312, 2487968, 2902624, 3317280, 3731936, 4146592, 4561248, 4975904, 5390560, 5805216, 6219872, 6634528, 7049184, 7463840, 7878496, 8293152, 8707808, 9122464, 9537120, 9951776, 10366432, 10781088, 11195744, 11610400, 12025056, 12439712, 12854368, 13269024, 13683680, 14098336, 14512992, 14927648, 15342304, 15756960, 16171616, 16586272, 17000928, 17415584, 17830240, 18244896, 18659552, 19074208, 19488864, 19903520, 20318176, 20732832, 21147488, 21562144, 21976800, 22391456, 22806112, 23220768, 23635424, 24050080, 24464736, 24879392, 25294048, 25708704, 26123360, 26538016, 26952672, 27367328, 27781984, 28196640, 28611296, 29025952, 29440608, 29855264, 30269920, 30684576, 31099232, 31513888, 31928544, 32343200, 32757856, 33172512, 33587168, 34001824, 34416480, 34831136, 35245792, 35660448, 36075104, 36489760, 36904416, 37319072, 37733728, 38148384, 38563040, 38977696, 39392352, 39807008, 40221664, 40636320, 41050976, 41465632, 41880288, 42294944, 42709600, 43124256, 43538912, 43953568, 44368224, 44782880, 45197536, 45612192, 46026848, 46441504, 46856160, 47270816, 47685472, 48100128, 48514784, 48929440, 49344096, 49758752, 50173408, 50588064, 51002720, 51417376, 51832032, 52246688, 52661344, 53076000, 53490656, 53905312, 54319968, 54734624, 55149280, 55563936, 55978592, 56393248, 56807904, 57222560, 57637216, 58051872, 58466528, 58881184, 59295840, 59710496, 60125152, 60539808, 60954464, 61369120, 61783776, 62198432, For mount I use mount /dev/sd1a /mnt. (no options yet!) I want to ask if there are some suggestions in creating partition(s)/slice(s), types and mount options, please. I don't need softupdates. Files used are small and I copy a few at the time. Thank you.