Unix BSD expert ? / Attorney response


Discussion Topic

Return to Forum List
Post a Reply
Messages 81 - 100 of total 172 in this topic << First  |  < Previous  |  Show All  |  Next >  |  Last >>

Topic Author's Reply - Jan 24, 2013 - 07:46pm PT
char buffy[512] = " ";
yes, also std::ios and bin mode. Redirection of std IO was taught
previous to bin mode.

A Disklabel default size I believe is 512. On this machine with
those partitions would you increase it to 1m?

1.1Ghz CPU
12GB Hard Drive -> 1 only, NTFS partition with Open BSD partitions.
Open BSD 5.2

Ice climber
the ghost
Jan 24, 2013 - 08:55pm PT
^^ I take that as a NO.
you know what I/O buffering is, right?

Trad climber
The Windiest Mountain, Wyoming
Jan 24, 2013 - 10:33pm PT

Boot the CD-ROM and use the installer to install the OS. You don't need to be dd'ing the boot blocks into place. Besides, you're talking about dd'ing a text file there, not the boot blocks, so even if you figure out how to do it, nothing useful will have been accomplished.

But if you are absolutely determined to dd something into that first sector, it won't matter what block size you use. So just leave that part off the command line. Or, if you must, put anything you like in for ibs, obs, and bs. On the other hand, if you mess up the rest of the command line you'll have to re-install Windows, so perhaps you should just forget about dd.

And as for not downloading software, that's silly. That's how everyone does it these days, including the guys that make the CD's you bought. Yep, they download the software and burn it for you. So download OpenOffice for Windows and install it.

Put OpenOffice on Windows, and use that.
If you want OpenBSD too, boot the CD-ROM and follow the instructions.

Topic Author's Reply - Jan 25, 2013 - 11:36pm PT
Based on Disk Label sectors(?Unix reads blocks?) im staying at 512
bits per sector with the partition boot record. I don't want to keep
using fdisk to change OS's.

Its already installed and BOOT.INI is edited but i cant mount the floppy
nor usb yet and the cd was not mounting the 2'nd time around. Im looking at a fstab entry as such
/dev/cd0a /cdrom cd9660 ro,noauto 0 0
and then a command as this.
mount -t cd9660 -r /dev/cd0a /mnt/cdrom
and fstab entry for USB
3eb7f9da875cb9ee.i /mnt/key msdos rw,noauto 0 0
and then command,
mount -t msdos 3eb7f9da875cb9ee.i /mnt/key

After I get them to mount I can check the CD ports. I hope there is a
office suite.

Trad climber
The Windiest Mountain, Wyoming
Jan 26, 2013 - 04:42am PT
If you do have both Windows and OpenBSD installed, and you are simply trying to avoid using fdisk to switch between them, then install a boot manager.

FreeBSD has a good one, or you can install gag or grub.


Topic Author's Reply - Jan 26, 2013 - 10:05am PT
crock, here is part of dmesg to locate mount points and a look at
my fdisk partitions. Im back on the NTFS partition now.
Credit: B_E_S

Again i plan on using dd for the partition boot record file
to be installed on C:\ of NTFS but the drives are not yet mounting
after ROM boot Here is fstab with mount and what's mounted.
Credit: B_E_S

Here are the disklabels and sizes.
Credit: B_E_S
Linux systems and sfdisk seem more complete with size translations
in the sense it shows blocks and converts to sectors.

See first and last mount points with these dmesg. Note they both
mounted with the first install but i did not look at fstab.
Credit: B_E_S
Hardman Knott

Gym climber
Muir Woods National Monument, Mill Valley, Ca
Jan 26, 2013 - 10:49am PT


Ice climber
the ghost
Jan 26, 2013 - 11:01am PT
“Any fool can make something complicated. It takes a genius to make it simple.”
― Woody Guthrie

“Don’t make the process harder than it is.“ — Jack Welch

Topic Author's Reply - Jan 26, 2013 - 02:39pm PT
.i I think is the NTFS partition. My /etc/fstab (file system table) does
not have some entries for mount. That table has 6 fields starting
with block device and there are rules, options etc. to the fields.

If I can't mount I can't output a simple partition boot record to disk
for the XP loader, nor can I load the remainder of the system.

If im using open bsd and want the machine to switch to XP on restart
i do this.
1. fdisk -e wd0
2 f 0
3 p
4 q

Stopping the machine in windows I still need a boot disk until the
.pbr file using dd (set at 512) is over there. Hope that's simple

Topic Author's Reply - Jan 27, 2013 - 09:06am PT
?“Any fool can make something complicated. It takes a genius to make it simple.”
― Woody Guthrie

“Don’t make the process harder than it is.“ — Jack Welch

WBraun i put in a FAT 32 with XP. crock upon doing so i was
given a choice of what partition(s) to use along with what
formats. XP saw the other partition and said i could reflag
the other partition for boot from here,
Credit: B_E_S
but i may not be able to get back to XP. I said to myself great.
Windows XP simple program does not work as they say, as a matter
of fact it does not work at all for reflagging the BSD partition
for boot.

Topic Author's Reply - Feb 1, 2013 - 04:23pm PT
Im working on my fstab file. So far the floppy mounts but messages from
dmesg | more show that the kernel should be rebuilt due to the 1.44
meg floppy showings. The CD ROM mounts fine. This is the usb im trying
to mount.
Credit: B_E_S

I did mount the usb 1 time using "DUID.XP partition" mapped to the mount
node. WBraun it appeared to give full access to NTFS, but that's not what
I 1'st wanted as it appeared also to bypass the usb stick which would
have to be accessed after access. Maybe this is what I have to do for now?

When I unplug the unmounted usb I get this noting the floppy drive also
gives different device readings but these readings are from being logged
in after boot and still logged in and without the device mounted.
Credit: B_E_S


Topic Author's Reply - Feb 1, 2013 - 04:24pm PT
crock thanks i did download Open Office until

Topic Author's Reply - Feb 3, 2013 - 03:20pm PT
Im not certain if I previously posted the ROM boot message pertaining
to memory conflict here and im not certain if the memory conflict
would be relevant to these functions remebered from years past?
I think the functions are also available in VB.
Credit: B_E_S
Karl Baba

Trad climber
Yosemite, Ca
Feb 3, 2013 - 04:31pm PT
Yur Gonna Die!!!!

Topic Author's Reply - Feb 3, 2013 - 06:33pm PT
So are you and all the others. The process starts from the day
we are born.

Topic Author's Reply - Feb 5, 2013 - 08:21am PT
Ed back to thses cases. I did some research and found out that
over deacades it seems att Unix only had 1 patent with Unix,
being setuid written by Dennis Ritchie who I think also wrote C
and Unix. That patent would have expired many years ago.

It appears these cases listed are not technical matters?

Topic Author's Reply - Feb 6, 2013 - 03:03pm PT
Im redoing the lap top 1 last time. I need a suid.list file just
after install.


Ice climber
the ghost
Feb 6, 2013 - 04:10pm PT
The operating system code that implemented this file system was a drastically simplified version of the present scheme. One important simplification followed from the fact that the system was not multi-programmed; only one program was in memory at a time, and control was passed between processes only when an explicit swap took place. So, for example, there was an iget routine that made a named i-node available, but it left the i-node in a constant, static location rather than returning a pointer into a large table of active i-nodes. A precursor of the current buffering mechanism was present (with about 4 buffers) but there was essentially no overlap of disk I/O with computation. This was avoided not merely for simplicity. The disk attached to the PDP-7 was fast for its time; it transferred one 18-bit word every 2 microseconds. On the other hand, the PDP-7 itself had a memory cycle time of 1 microsecond, and most instructions took 2 cycles (one for the instruction itself, one for the operand). However, indirectly addressed instructions required 3 cycles, and indirection was quite common, because the machine had no index registers. Finally, the DMA controller was unable to access memory during an instruction. The upshot was that the disk would incur overrun errors if any indirectly-addressed instructions were executed while it was transferring. Thus control could not be returned to the user, nor in fact could general system code be executed, with the disk running. The interrupt routines for the clock and terminals, which needed to be runnable at all times, had to be coded in very strange fashion to avoid indirection.

Topic Author's Reply - Feb 7, 2013 - 03:03pm PT
find / -type f -perm -4000 > suid.tx
OpenBSD 5.2 default install. sets chosen by default lacking only
the mp file.

find / -type f -perm -2000 > suid2.tx
OpenBSD 5.2 default install. sets chosen by default lacking only
the mp file.



Topic Author's Reply - Feb 7, 2013 - 09:07pm PT
4 buffers?

Again back to level 2 and 5.

al=8 bits //l low register.
ah=8 bits //h high register

ax=al + ah=16 bits //combined is 1 word.

The overflow was extended into section E of the processor's register
accounting for 16 bits in E and 16 bits in ax, or usage of all the
extended register and ax referenced as eax which is 32 bits and a double
word. Y2K I believe occurs in 2038 when you calc this scheme.

Now prior to 2000 eax can be combined with ebx which is now 64 bits and a
quad word. I believe when you calc this youll find that the sun will be
burnt out prior to time being a Y2K problem.

Now it appears a 512 bit read can account for 4 quad words at a time.

I don't know of 18 bit registers. So things can crash when attempting
proprietary bit patterns?

fdc0 is not Japanese the 1.44 meg floppy mounts just fine under different
formats. fd0 is now set in bios as #1 boot device with cd0 as number 2.
fd0c may reference a c partition in BSD. I can mount under unix format
with no fstab entries but i had to make some for msdos formats.

Im going to read some more what your saying above. Perhaps some is another
engineering joke.
Messages 81 - 100 of total 172 in this topic << First  |  < Previous  |  Show All  |  Next >  |  Last >>
Return to Forum List
Post a Reply
Our Guidebooks
Check 'em out!
SuperTopo Guidebooks

Try a free sample topo!

SuperTopo on the Web

Review Categories
Recent Trip Report and Articles
Recent Route Beta
Recent Gear Reviews