Re: Home server rack recommendations?

2015-03-11 Thread vadimou
Hi,

On 3/10/15, Kent R. Spillner kspill...@acm.org wrote:
 Can anyone recommend a good server rack for home?  Ideally something with
 casters so I can move it around, preferably 12-16U.  I found several via
 Google but my primary concern is the quality  durability of the casters.
 Not that I plan on wheeling this old gear around a lot, I just want the
 piece of mind that a caster won't snap off when I do.  :)

the biggest problem with having a server at home for me was noise. So
I would recommend XRackPro http://www.xrackpro.com/ . I did not have
any problems with casters, but I've got mine in 2007 (I believe) and
current models seem to have a little bit different casters.



Re: Whereis my Gbytes on hdd

2015-01-19 Thread vadimou
From disklabel(8):

  Space left after all partitions have reached their maximum size is
left unallocated.



On 1/19/15, Dmitry Orlov dmitry.sen...@gmail.com wrote:
 Hi!

 OpenBSD 5.7 (19 Jan 2015)

 Strange math. for me.

 Capacity is 465.8G
 Sum of labels is

 1.0G+1.2G+4.0G+6.0G+2.0G+1.0G+10.0G+2.0G+2.0G+300.0G = 329.2G

 Where is 136.6G ?


 # disklabel -h sd0
 # /dev/rsd0c:
 type: SCSI
 disk: SCSI disk
 label: Hitachi HTS72755
 duid: 1881213cdc5807e9
 flags:
 bytes/sector: 512
 sectors/track: 36
 tracks/cylinder: 158
 sectors/cylinder: 5688
 cylinders: 171725
 total sectors: 976773168 # total bytes: 465.8G
 boundstart: 64
 boundend: 976771800
 drivedata: 0

 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
a: 1.0G   64  4.2BSD   2048 163841 # /
b: 1.2G  2097216swap   # none
c:   465.8G0  unused
d: 4.0G  4666560  4.2BSD   2048 163841 # /tmp
e: 6.0G 13055168  4.2BSD   2048 163841 # /var
f: 2.0G 25533888  4.2BSD   2048 163841 # /usr
g: 1.0G 29728192  4.2BSD   2048 163841 #
 /usr/X11R6
h:10.0G 31825344  4.2BSD   2048 163841 #
 /usr/local
i: 2.0G 52796864  4.2BSD   2048 163841 #
 /usr/src
j: 2.0G 56991168  4.2BSD   2048 163841 #
 /usr/obj
k:   300.0G 61185472  4.2BSD   4096 327681 # /home



Re: relayd url redirection

2014-06-21 Thread vadimou
On 6/20/14, Predrag Punosevac punoseva...@gmail.com wrote:
 and so on. Until now I was using nginx as a proxy and port redirection

I agree with Antoine. Read the nginx manual carefully. All you need is there.



5.5 installer does not recognize USB keyboard on Acer Iconia W700

2014-06-14 Thread vadimou
Hi,

I'm trying to install OpenBSD on Acer Iconia W700. It has one USB port
and no other input ports, so it is only possible to attach a USB
keyboard to this device. I've got stuck at the installer prompt:

pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
uhub2 at uhub0 port 1 vendor 0x8087 product 0x0024 rev 2.00/0.00 addr 2
vendor 0x04ca product 0x3008 rev 1.10/0.01 addr 3 at uhub2 port 1 not configur
ed
SunplusIT INC. HD WebCam rev 2.00/81.03 addr 4 at uhub2 port 3 not configured
Chicony Co 5M Cam rev 2.00/37.15 addr 5 at uhub2 port 4 not configured
uhub3 at uhub1 port 1 vendor 0x8087 product 0x0024 rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 1 configuration 1 interface 0 Intel Corporation Intel (R)
Sensor Solution rev 2.00/0.01 addr 3
uhidev0: iclass 3/0, 7 report ids
uhid at uhidev0 reportid 1 not configured
uhid at uhidev0 reportid 2 not configured
uhid at uhidev0 reportid 3 not configured
uhid at uhidev0 reportid 4 not configured
uhid at uhidev0 reportid 5 not configured
uhid at uhidev0 reportid 6 not configured
uhid at uhidev0 reportid 7 not configured
softraid0 at root
scsibus1 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/amd64 5.5 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?

At this point I can't type anything because it seems like keyboard was
not recognized. Unfortunately for the same reason I can only provide
the last 25 lines of the output (I hope I did not mess anything up
trying to type that here). I can also boot into config mode:

UKC find uhidev
171 uhidev* at uhub*|uhub* port -1 configuration -1 interface -1 vendor -1 produ
ct -1 release -1 flags 0x0

but I do not have any experience working in this mode and I do not
have other computer right now to try to compare configurations which
could probably provide some hints.

I've also found an old disk with Slackware 13.37 and it woks with this
keyboard without any problems.

Any help at this point would be highly appreciated.

Thanks.



Re: Is Ext2 stable enough for normal use?

2014-01-02 Thread vadimou
On 1/2/14, Geoff Steckel g...@oat.com wrote:
 In return, of course, that Linux wouldn't mount an OpenBSD FFS.

I used to have /home shared between OpenBSD and Linux a couple of
years ago when I was migrating. It was FFS for the reason discussed in
this thread. The version of OpenBSD was 5.0. I do not remember the
Linux kernel version but it looks very unlikely to me that they
dropped support for FFS.



Re: Can command-line options be specified in any place?

2011-06-22 Thread vadimou
I understood the idea, but please keep in mind that I'm just a regular
user, not OS developer. I just pick features I find useful no matter
how wrong they look. That was a stop or go kind of question because
I do not want to spend a lot of time reading manual and experimenting
with stuff just to end up in an environment I'm not comfortable with.

Now I have my question answered and I decided to give it a try. Thanks
to everyone who replied.



Re: Can command-line options be specified in any place?

2011-06-22 Thread vadimou
 Why don't you use aliases ?

It's not about 'ls' only: I've just used it as an example. I noticed
that after running a command with one set of options sometimes I want
to add another option(s). For some reason this is important for me to
the extent that I have not become a FreeBSD user when I had a chance.

On 6/22/11, vadi...@gmail.com vadi...@gmail.com wrote:
 I understood the idea, but please keep in mind that I'm just a regular
 user, not OS developer. I just pick features I find useful no matter
 how wrong they look. That was a stop or go kind of question because
 I do not want to spend a lot of time reading manual and experimenting
 with stuff just to end up in an environment I'm not comfortable with.

 Now I have my question answered and I decided to give it a try. Thanks
 to everyone who replied.



Can command-line options be specified in any place?

2011-06-21 Thread vadimou
Hi,

I'm considering migrating my desktop from Linux to OpenBSD but the
main feature that
kept me away from *BSD world for over a decade since I've first tried
FreeBSD was the
one that options must only be specified after command before any
arguments. (At least
that is true for basic commands). For example on Linux a command

  ls -l foo -h

will print the foo's size with suffix (K, M, G, etc.). On *BSD
(including Mac OS X) I get error
message:

  ls: -h: No such file or directory

Is there an easy way to get the desired behavior on OpenBSD? If that
can only be achieved
by patching system's sources is there a standard way to maintain my
personal set of
patches so that they will be automatically applied every time I upgrade system?

Best regards,
Vadim.



Re: Can command-line options be specified in any place?

2011-06-21 Thread vadimou
 Please continue to use Linux.
 That's ugly, useless and dangerous.

Oops, looks like that was a holy war type of question. Sorry I did
not want to start that.

 If you want Linux, use Linux.

It's not that I want specifically Linux. I've just decided to look for
a system that cat satisfy me from the usability point of view. I do
not care if that will be Linux or *BSD or Solaris or whatever  else.
The main idea was that the work with the system should be a pleasure,
not a pain :)



Re: Can command-line options be specified in any place?

2011-06-21 Thread vadimou
Sorry I really did not want to start any flame. I just thought that
getting answer from the mailing list would be faster than spending my
time studying source code of the new system.

 What you should do is relearn the proper way. :-)

Ok, let me turn my question the other way around. Suppose I typed

 ls -l /some/very/long/path/to/file

and the file is too big so I want to use -h option. I use a text
terminal so I can not use mouse to position cursor. How people usually
handle this on *BSD systems?



Re: Can command-line options be specified in any place?

2011-06-21 Thread vadimou
On 6/21/11, Johan Beisser j...@caustic.org wrote:
 I use Bash and OpenBSD's ksh. In both CTRL-a gets me back to the beginning
 of the line.

I use zsh in vi mode. So Esc, Shift+6, f, -, a, h (total 7 keys) or ls
-lh !!$ (total 10 keys). Just adding -h requires pressing 3 keys.
Looks like I'm too lazy for BSD :)



Re: Can command-line options be specified in any place?

2011-06-21 Thread vadimou
 you can compile gnu coreutils

Thank you. That sounds like a good idea. I'll try that.

 If you want pleasure and usability point of view, you are
 not looking in the good place. Stay with Linux.

Linux started to disappoint me to the point when I decided to try
something else.

 OpenBSD has its own objectives. Clean good code and security.

That's why I started my search with OpenBSD.