@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> greetings
<0> has anybody a clue how to query raw partition sizes?
<1> how is openbsd superior to freebsd
<1> if it is
<2> use 'disklabel' and 'fdisk'.
<2> FreeBSD should be substantially the same.
<3> rage_: You could start off by trying OpenBSD and forming your own opinion.
<1> mhm.
<1> what about netbsd
<4> openbsd is superior to freebsd if it does something for you that freebsd doesn't
<4> same goes for the other bsd's
<1> so.. what is "*bsd* really?



<1> I never really understood it.
<4> it is a philosophy about "the right tool for the job"
<3> remiel: As with everything.
<3> Indeed ^^
<1> so what does bsd stand for?
<0> spuug: no, not from the command line
<0> in c
<4> the bsd's don't try to be the ultimate tool for everything. each bsd has a specific goal (or more goals) but can easily be used for other things as well
<1> interesting.
<4> but ultimately, it's your needs that define the tool you need to do a particular job, and if openbsd fits those needs, good for you. if it doesn't, try something else and see if that works for you.
<4> and BSD means "Berkeley Software Distribution"
<0> i don't have the impression that there's a convenient ioctl at hand
<1> so from what I understand, netbsd is aimed more towards production servers
<1> and has native support for xen
<2> bolgov, ah... well, I suppose you could stat() the raw device, such as /dev/wd0c, to get its size.
<4> rage_: more information is available at the projects' home pages, and google.
<1> i'll read up.
<1> <- linux user
<1> if you haven't figured out already
<2> Or look at the source to fdisk and disklabel, to see how they get their partition size information.
<1> well from what I understand
<1> they both use journaled ext2 and ext3 filesystms
<1> am I correct?
<1> or does freebsd use reizerfs
<0> spuug: not the worst idea, after all..
<3> rage_: No, if you're being serious - which I'm in doubt of now actually - OpenBSD uses UFS/FFS.
<3> FreeBSD uses UFS and UFS2
<3> and also ZFS to an extent now, but it's been awhile since I last checked on that
<1> mhm.
<1> berkely fast file system
<0> spuug: stat is thought to be used for real files, but lets see ..
<0> spuug: no, doesn't work (fstat error: Bad addres)
<0> i guess the reason is that the filesystem knows exactly nothing about it
<0> dammit
<0> i wouldn't be such a bad coder i'd do that one ioctl that all other unices got except openbsd, that can be queried for the size of a given disk
<0> instead of writing a 40 line story to get 1 number
<5> openbsd isdamn cool
<5> my SI3112 funcky sata controller now works fine :)
<5> before, freebsd 6.0-release freezed without panic on m***ive i/o on that
<5> and i tried some releases, 5.4, some stuff from 6 branch...
<5> when i was watching film i have 50% chance that my box will go down :\
<6> haha
<7> Anyone able to get zencart working on OpenBSD4.0 with PHP5-hardened? I have it installed but I am getting all kinds of errors stating that mysql can't find various files which exist when I do a locate on them in /var/mysql/username/
<5> #define dprintf(x...) do { if (acpi_debug) printf(x); } while (0)



<8> http://www.youtube.com/watch?v=5bPMwAHdJCg&mode=related&search=
<5> and.. could somebody explain me why do { } while statements are using here?
<9> so dprintf(); can be used much like a function call, without any strange side effects
<9> try to define it without the loop, and i'll show you a strange side effect ;)
<5> hello, Daniel
<5> okay, it is #define dprintf(x...) { if (acpi_debug) printf(x); } now
<9> why are you using {} ? :)
<5> m.. i think it's logically right to see and think it is as a C block of code :)
<5> so, just simply easy-reading code (for me)
<10> it won't work with trailing semicolon
<10> if (...) dprintf(...); else { ... }
<10> and if you omit the {}s you get into trouble with elses
<10> so... do { } while(0)
<7> why would mysql report: Can't find file './dbname/zen_manufacturers.frm' (errno: 9) when that file exists in /var/mysql/dbname owned by _mysql:_mysql ?
<5> ncaller: maybe you have chrooted mysql ?
<11> ncaller: most likely you hit the open files limit
<12> i keep getting this error
<12> an 28 13:50:38 firewall2 savecore: no core dump
<12> Jan 28 13:52:48 firewall2 /bsd: cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28
<12> Jan 28 13:52:48 firewall2 /bsd: SENSE KEY: Hardware Error
<12> Jan 28 13:52:48 firewall2 /bsd: ASC/ASCQ: Logical Unit Communication CRC Error (ULTRA-DMA/32)
<13> hmm, OpenBSD's fdisk can't size the partition automaticall to "whole disk" ?
<13> seems to stop at 8GB :S
<5> NicM, dhartmei i see.. syntax error before "else" in both cases. thanks :)
<10> if you leave out the {}s and omit the ; in the macro
<10> it will compile, but attach the else to the wrong if
<10> which isn't fun either ;_)
<5> yeah. holy **** :)
<5> it may be very coward bug!
<10> yeh :_)
<10> :-)
<7> m_athias I think you are right, I'm going to go track down the recommended fixes for that. Thanks for the enlightenment
<13> is there any way to ensure that the values I feed fdisk are valid (i.e. don't aren't larger than the disk itself) ?
<13> a part from calculating by hand
<7> when you add the last partition slice, set its size to: *
<13> silly question: having soft updates turn on is a good thing, right? so why is it disabled by default ?
<14> because it's not _always_ a good thing?
<13> hehe, of course, I was expecting such an answer :)
<13> well, it speeds up disk writing, and higher chance of metedata being correct
<13> so where would it be a bad idea?
<14> http://www.openbsd.org/faq/faq14.html#SoftUpdates
<13> that's what looking at
<13> doesn't really tell me where/when I should use it
<7> is this indicitive of the open file limit with mysql? $ mysqlcheck -m -A -ugfg -p
<7> Enter p***word:
<7> mysqlcheck: Error: Couldn't execute 'SHOW DATABASES': Can't read dir of '.' (errno: 9)
<14> nicolas: if it improves performance for you, go ahead
<14> if it doesn't, don't
<13> lt_kije: words of wisdom :)
<11> ncaller: yes
<7> m_athias thanks, that fixed everything
<15> anyone happen to have a list of gmail/google's outbound SMTP services?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #openbsd
or
Go to some related logs:

#microsoft
#beginner
#beginner
juped means
oragnic food eating habbits
#politics
prsima02.sys
arp cannot intuit interface index and type for
#windows
bigasspass cracks



Home  |  disclaimer  |  contact  |  submit quotes